Audacity 3.2.0
|
A class representing an aggregate function in a SQLite database. More...
#include <Function.h>
Public Member Functions | |
AggregateFunction ()=default | |
AggregateFunction (const AggregateFunction &)=delete | |
AggregateFunction (AggregateFunction &&) noexcept | |
AggregateFunction & | operator= (const AggregateFunction &)=delete |
AggregateFunction & | operator= (AggregateFunction &&) noexcept |
~AggregateFunction () | |
Private Member Functions | |
template<typename StepFunctionType , typename FinalFunctionType > | |
AggregateFunction (sqlite3 *connection, std::string name, StepFunctionType stepFunction, FinalFunctionType finalFunction) | |
void | Register (std::size_t arity) |
Static Private Member Functions | |
static void | CallStepFunction (sqlite3_context *context, int argc, sqlite3_value **argv) |
static void | CallFinalFunction (sqlite3_context *context) |
Private Attributes | |
sqlite3 * | mConnection { nullptr } |
std::string | mName |
details::SQLiteFunctorWithArgs | mStepFunctor |
details::SQLiteFunctor | mFinalFunctor |
Friends | |
class | Connection |
A class representing an aggregate function in a SQLite database.
Definition at line 180 of file Function.h.
|
inlineprivate |
Definition at line 183 of file Function.h.
|
default |
|
delete |
|
noexcept |
Definition at line 212 of file Function.cpp.
audacity::sqlite::AggregateFunction::~AggregateFunction | ( | ) |
Definition at line 227 of file Function.cpp.
References mConnection, and mName.
|
staticprivate |
Definition at line 206 of file Function.cpp.
References mFinalFunctor.
Referenced by Register().
|
staticprivate |
Definition at line 199 of file Function.cpp.
References CommandLineArgs::argc, CommandLineArgs::argv, and mStepFunctor.
Referenced by Register().
|
noexcept |
Definition at line 217 of file Function.cpp.
References anonymous_namespace{NoteTrack.cpp}::swap().
|
delete |
|
private |
Definition at line 192 of file Function.cpp.
References CallFinalFunction(), CallStepFunction(), mConnection, and mName.
|
friend |
Definition at line 217 of file Function.h.
|
private |
Definition at line 213 of file Function.h.
Referenced by Register(), and ~AggregateFunction().
|
private |
Definition at line 216 of file Function.h.
Referenced by CallFinalFunction().
|
private |
Definition at line 214 of file Function.h.
Referenced by Register(), and ~AggregateFunction().
|
private |
Definition at line 215 of file Function.h.
Referenced by CallStepFunction().