Audacity 3.2.0
|
A class representing a scalar function in a SQLite database. More...
#include <Function.h>
Public Member Functions | |
ScalarFunction ()=default | |
ScalarFunction (const ScalarFunction &)=delete | |
ScalarFunction (ScalarFunction &&) noexcept | |
ScalarFunction & | operator= (const ScalarFunction &)=delete |
ScalarFunction & | operator= (ScalarFunction &&) noexcept |
~ScalarFunction () | |
Private Member Functions | |
template<typename ScalarFunctionType > | |
ScalarFunction (sqlite3 *connection, std::string name, ScalarFunctionType function) | |
void | Register (std::size_t arity) |
Static Private Member Functions | |
static void | CallFunction (sqlite3_context *context, int argc, sqlite3_value **argv) |
Private Attributes | |
sqlite3 * | mConnection { nullptr } |
std::string | mName |
details::SQLiteFunctorWithArgs | mFunctor |
Friends | |
class | Connection |
A class representing a scalar function in a SQLite database.
Definition at line 147 of file Function.h.
|
inlineprivate |
Definition at line 150 of file Function.h.
|
default |
|
delete |
|
noexcept |
Definition at line 154 of file Function.cpp.
audacity::sqlite::ScalarFunction::~ScalarFunction | ( | ) |
Definition at line 168 of file Function.cpp.
References mConnection, and mName.
|
staticprivate |
Definition at line 185 of file Function.cpp.
References CommandLineArgs::argc, CommandLineArgs::argv, and mFunctor.
Referenced by Register().
|
delete |
|
noexcept |
Definition at line 159 of file Function.cpp.
References anonymous_namespace{NoteTrack.cpp}::swap().
|
private |
Definition at line 178 of file Function.cpp.
References CallFunction(), mConnection, and mName.
|
friend |
Definition at line 176 of file Function.h.
|
private |
Definition at line 173 of file Function.h.
Referenced by Register(), and ~ScalarFunction().
|
private |
Definition at line 175 of file Function.h.
Referenced by CallFunction().
|
private |
Definition at line 174 of file Function.h.
Referenced by Register(), and ~ScalarFunction().