![]() |
Audacity 3.2.0
|
Classes | |
| struct | SQLiteFunction |
| struct | SQLiteFunction< std::function< R(Args...)> > |
Typedefs | |
| using | SQLiteFunctorWithArgs = std::function< void(sqlite3_context *, int, sqlite3_value **)> |
| using | SQLiteFunctor = std::function< void(sqlite3_context *)> |
Functions | |
| void | FromSQLiteValue (sqlite3_value &value, bool &result) |
| void | FromSQLiteValue (sqlite3_value &value, int &result) |
| void | FromSQLiteValue (sqlite3_value &value, unsigned int &result) |
| void | FromSQLiteValue (sqlite3_value &value, long &result) |
| void | FromSQLiteValue (sqlite3_value &value, unsigned long &result) |
| void | FromSQLiteValue (sqlite3_value &value, long long &result) |
| void | FromSQLiteValue (sqlite3_value &value, unsigned long long &result) |
| void | FromSQLiteValue (sqlite3_value &value, double &result) |
| void | FromSQLiteValue (sqlite3_value &value, float &result) |
| void | FromSQLiteValue (sqlite3_value &value, std::string &result) |
| void | FromSQLiteValue (sqlite3_value &value, std::string_view &result) |
| void | SetSQLiteFunctionResult (sqlite3_context *context, bool value) |
| void | SetSQLiteFunctionResult (sqlite3_context *context, int value) |
| void | SetSQLiteFunctionResult (sqlite3_context *context, unsigned int value) |
| void | SetSQLiteFunctionResult (sqlite3_context *context, long value) |
| void | SetSQLiteFunctionResult (sqlite3_context *context, unsigned long value) |
| void | SetSQLiteFunctionResult (sqlite3_context *context, long long value) |
| void | SetSQLiteFunctionResult (sqlite3_context *context, unsigned long long value) |
| void | SetSQLiteFunctionResult (sqlite3_context *context, double value) |
| void | SetSQLiteFunctionResult (sqlite3_context *context, float value) |
| void | SetSQLiteFunctionResult (sqlite3_context *context, const std::string &value) |
| void | SetSQLiteFunctionResult (sqlite3_context *context, const std::string_view &value) |
| void | SetSQLiteFunctionError (sqlite3_context *context, const std::string_view &error) |
| template<typename T > | |
| std::decay_t< T > | FromSQLiteValue (sqlite3_value &value) |
| template<typename... Args, std::size_t... Is> | |
| auto | SQLiteValuesToTuple (sqlite3_value **values, std::index_sequence< Is... >) |
| template<typename CallbackType > | |
| auto | MakeSQLiteFunctorWithArgs (CallbackType callback) |
| template<typename CallbackType > | |
| constexpr std::size_t | GetFunctionArity () |
| template<typename CallbackType > | |
| auto | MakeSQLiteFunctor (CallbackType callback) |
| using audacity::sqlite::details::SQLiteFunctor = typedef std::function<void(sqlite3_context*)> |
Definition at line 26 of file Function.h.
| using audacity::sqlite::details::SQLiteFunctorWithArgs = typedef std::function<void(sqlite3_context*, int, sqlite3_value**)> |
Definition at line 23 of file Function.h.
| std::decay_t< T > audacity::sqlite::details::FromSQLiteValue | ( | sqlite3_value & | value | ) |
Definition at line 56 of file Function.h.
References FromSQLiteValue().
| SQLITE_HELPERS_API void audacity::sqlite::details::FromSQLiteValue | ( | sqlite3_value & | value, |
| bool & | result | ||
| ) |
Definition at line 17 of file Function.cpp.
Referenced by FromSQLiteValue().
| SQLITE_HELPERS_API void audacity::sqlite::details::FromSQLiteValue | ( | sqlite3_value & | value, |
| double & | result | ||
| ) |
Definition at line 58 of file Function.cpp.
| SQLITE_HELPERS_API void audacity::sqlite::details::FromSQLiteValue | ( | sqlite3_value & | value, |
| float & | result | ||
| ) |
Definition at line 63 of file Function.cpp.
| SQLITE_HELPERS_API void audacity::sqlite::details::FromSQLiteValue | ( | sqlite3_value & | value, |
| int & | result | ||
| ) |
Definition at line 22 of file Function.cpp.
| SQLITE_HELPERS_API void audacity::sqlite::details::FromSQLiteValue | ( | sqlite3_value & | value, |
| long & | result | ||
| ) |
Definition at line 32 of file Function.cpp.
| SQLITE_HELPERS_API void audacity::sqlite::details::FromSQLiteValue | ( | sqlite3_value & | value, |
| long long & | result | ||
| ) |
Definition at line 48 of file Function.cpp.
| SQLITE_HELPERS_API void audacity::sqlite::details::FromSQLiteValue | ( | sqlite3_value & | value, |
| std::string & | result | ||
| ) |
Definition at line 68 of file Function.cpp.
| SQLITE_HELPERS_API void audacity::sqlite::details::FromSQLiteValue | ( | sqlite3_value & | value, |
| std::string_view & | result | ||
| ) |
Definition at line 76 of file Function.cpp.
| SQLITE_HELPERS_API void audacity::sqlite::details::FromSQLiteValue | ( | sqlite3_value & | value, |
| unsigned int & | result | ||
| ) |
Definition at line 27 of file Function.cpp.
| SQLITE_HELPERS_API void audacity::sqlite::details::FromSQLiteValue | ( | sqlite3_value & | value, |
| unsigned long & | result | ||
| ) |
Definition at line 40 of file Function.cpp.
| SQLITE_HELPERS_API void audacity::sqlite::details::FromSQLiteValue | ( | sqlite3_value & | value, |
| unsigned long long & | result | ||
| ) |
Definition at line 53 of file Function.cpp.
|
constexpr |
Definition at line 130 of file Function.h.
| auto audacity::sqlite::details::MakeSQLiteFunctor | ( | CallbackType | callback | ) |
Definition at line 137 of file Function.h.
| auto audacity::sqlite::details::MakeSQLiteFunctorWithArgs | ( | CallbackType | callback | ) |
Definition at line 122 of file Function.h.
| SQLITE_HELPERS_API void audacity::sqlite::details::SetSQLiteFunctionError | ( | sqlite3_context * | context, |
| const std::string_view & | error | ||
| ) |
Definition at line 146 of file Function.cpp.
Referenced by audacity::sqlite::details::SQLiteFunction< std::function< R(Args...)> >::ToSQLiteFunctorWithArgs().
| SQLITE_HELPERS_API void audacity::sqlite::details::SetSQLiteFunctionResult | ( | sqlite3_context * | context, |
| bool | value | ||
| ) |
Definition at line 84 of file Function.cpp.
Referenced by audacity::sqlite::details::SQLiteFunction< std::function< R()> >::ToSQLiteFunctor(), and audacity::sqlite::details::SQLiteFunction< std::function< R(Args...)> >::ToSQLiteFunctorWithArgs().
| SQLITE_HELPERS_API void audacity::sqlite::details::SetSQLiteFunctionResult | ( | sqlite3_context * | context, |
| const std::string & | value | ||
| ) |
Definition at line 135 of file Function.cpp.
| SQLITE_HELPERS_API void audacity::sqlite::details::SetSQLiteFunctionResult | ( | sqlite3_context * | context, |
| const std::string_view & | value | ||
| ) |
Definition at line 140 of file Function.cpp.
| SQLITE_HELPERS_API void audacity::sqlite::details::SetSQLiteFunctionResult | ( | sqlite3_context * | context, |
| double | value | ||
| ) |
Definition at line 125 of file Function.cpp.
| SQLITE_HELPERS_API void audacity::sqlite::details::SetSQLiteFunctionResult | ( | sqlite3_context * | context, |
| float | value | ||
| ) |
Definition at line 130 of file Function.cpp.
| SQLITE_HELPERS_API void audacity::sqlite::details::SetSQLiteFunctionResult | ( | sqlite3_context * | context, |
| int | value | ||
| ) |
Definition at line 89 of file Function.cpp.
| SQLITE_HELPERS_API void audacity::sqlite::details::SetSQLiteFunctionResult | ( | sqlite3_context * | context, |
| long long | value | ||
| ) |
Definition at line 115 of file Function.cpp.
| SQLITE_HELPERS_API void audacity::sqlite::details::SetSQLiteFunctionResult | ( | sqlite3_context * | context, |
| long | value | ||
| ) |
Definition at line 99 of file Function.cpp.
| SQLITE_HELPERS_API void audacity::sqlite::details::SetSQLiteFunctionResult | ( | sqlite3_context * | context, |
| unsigned int | value | ||
| ) |
Definition at line 94 of file Function.cpp.
| SQLITE_HELPERS_API void audacity::sqlite::details::SetSQLiteFunctionResult | ( | sqlite3_context * | context, |
| unsigned long long | value | ||
| ) |
Definition at line 120 of file Function.cpp.
| SQLITE_HELPERS_API void audacity::sqlite::details::SetSQLiteFunctionResult | ( | sqlite3_context * | context, |
| unsigned long | value | ||
| ) |
Definition at line 107 of file Function.cpp.
| auto audacity::sqlite::details::SQLiteValuesToTuple | ( | sqlite3_value ** | values, |
| std::index_sequence< Is... > | |||
| ) |