Audacity 3.2.0
Classes | Namespaces | Typedefs | Functions
Function.h File Reference
#include <functional>
#include <string>
#include <string_view>
#include <tuple>
#include <type_traits>
Include dependency graph for Function.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  audacity::sqlite::details::SQLiteFunction< CallbackType >
 
struct  audacity::sqlite::details::SQLiteFunction< std::function< R(Args...)> >
 
class  audacity::sqlite::ScalarFunction
 A class representing a scalar function in a SQLite database. More...
 
class  audacity::sqlite::AggregateFunction
 A class representing an aggregate function in a SQLite database. More...
 

Namespaces

namespace  audacity
 
namespace  audacity::sqlite
 
namespace  audacity::sqlite::details
 

Typedefs

using audacity::sqlite::details::SQLiteFunctorWithArgs = std::function< void(sqlite3_context *, int, sqlite3_value **)>
 
using audacity::sqlite::details::SQLiteFunctor = std::function< void(sqlite3_context *)>
 

Functions

void audacity::sqlite::details::FromSQLiteValue (sqlite3_value &value, bool &result)
 
void audacity::sqlite::details::FromSQLiteValue (sqlite3_value &value, int &result)
 
void audacity::sqlite::details::FromSQLiteValue (sqlite3_value &value, unsigned int &result)
 
void audacity::sqlite::details::FromSQLiteValue (sqlite3_value &value, long &result)
 
void audacity::sqlite::details::FromSQLiteValue (sqlite3_value &value, unsigned long &result)
 
void audacity::sqlite::details::FromSQLiteValue (sqlite3_value &value, long long &result)
 
void audacity::sqlite::details::FromSQLiteValue (sqlite3_value &value, unsigned long long &result)
 
void audacity::sqlite::details::FromSQLiteValue (sqlite3_value &value, double &result)
 
void audacity::sqlite::details::FromSQLiteValue (sqlite3_value &value, float &result)
 
void audacity::sqlite::details::FromSQLiteValue (sqlite3_value &value, std::string &result)
 
void audacity::sqlite::details::FromSQLiteValue (sqlite3_value &value, std::string_view &result)
 
void audacity::sqlite::details::SetSQLiteFunctionResult (sqlite3_context *context, bool value)
 
void audacity::sqlite::details::SetSQLiteFunctionResult (sqlite3_context *context, int value)
 
void audacity::sqlite::details::SetSQLiteFunctionResult (sqlite3_context *context, unsigned int value)
 
void audacity::sqlite::details::SetSQLiteFunctionResult (sqlite3_context *context, long value)
 
void audacity::sqlite::details::SetSQLiteFunctionResult (sqlite3_context *context, unsigned long value)
 
void audacity::sqlite::details::SetSQLiteFunctionResult (sqlite3_context *context, long long value)
 
void audacity::sqlite::details::SetSQLiteFunctionResult (sqlite3_context *context, unsigned long long value)
 
void audacity::sqlite::details::SetSQLiteFunctionResult (sqlite3_context *context, double value)
 
void audacity::sqlite::details::SetSQLiteFunctionResult (sqlite3_context *context, float value)
 
void audacity::sqlite::details::SetSQLiteFunctionResult (sqlite3_context *context, const std::string &value)
 
void audacity::sqlite::details::SetSQLiteFunctionResult (sqlite3_context *context, const std::string_view &value)
 
void audacity::sqlite::details::SetSQLiteFunctionError (sqlite3_context *context, const std::string_view &error)
 
template<typename T >
std::decay_t< T > audacity::sqlite::details::FromSQLiteValue (sqlite3_value &value)
 
template<typename... Args, std::size_t... Is>
auto audacity::sqlite::details::SQLiteValuesToTuple (sqlite3_value **values, std::index_sequence< Is... >)
 
template<typename CallbackType >
auto audacity::sqlite::details::MakeSQLiteFunctorWithArgs (CallbackType callback)
 
template<typename CallbackType >
constexpr std::size_t audacity::sqlite::details::GetFunctionArity ()
 
template<typename CallbackType >
auto audacity::sqlite::details::MakeSQLiteFunctor (CallbackType callback)