|
std::string | to_string (const JournalMode &mode) |
| Converts JournalMode enum to string representation.
|
|
std::string | to_string (const SynchronousMode &mode) |
| Converts SynchronousMode enum to string representation.
|
|
std::string | to_string (const LockingMode &mode) |
| Converts LockingMode enum to string representation.
|
|
std::string | to_string (const AutoVacuumMode &mode) |
| Converts AutoVacuumMode enum to string representation.
|
|
std::string | to_string (const TransactionMode &mode) |
| Converts TransactionMode enum to string representation.
|
|
void | execute (sqlite3_stmt *stmt) |
| Executes a SQLite statement.
|
|
void | execute (sqlite3 *sqlite_db, sqlite3_stmt *stmt) |
| Executes a SQLite statement.
|
|
void | execute (sqlite3 *sqlite_db, const char *query) |
| Prepares and executes a SQLite statement given as a string.
|
|
void | execute (sqlite3 *sqlite_db, const std::string &query) |
| Prepares and executes a SQLite statement given as a string.
|
|
template<typename T > |
std::string | get_sqlite_type (typename std::enable_if< std::is_integral< T >::value >::type *=0) |
| Gets the SQLite data type as a string for the given type.
|
|
template<typename T > |
std::string | get_sqlite_type (typename std::enable_if< std::is_floating_point< T >::value >::type *=0) |
|
template<typename T > |
std::string | get_sqlite_type (typename std::enable_if< std::is_same< T, std::string >::value >::type *=0) |
|
template<typename T > |
std::string | get_sqlite_type (typename std::enable_if< !std::is_integral< T >::value &&!std::is_floating_point< T >::value &&std::is_trivially_copyable< T >::value >::type *=0) |
|
template<typename T > |
std::enable_if< std::is_trivially_copyable< typenameT::value_type >::value &&std::is_same< T, std::vector< typenameT::value_type > >::value, std::string >::type | get_sqlite_type () |
|
template<typename T > |
std::enable_if< std::is_trivially_copyable< typenameT::value_type >::value &&std::is_same< T, std::deque< typenameT::value_type > >::value, std::string >::type | get_sqlite_type () |
|
template<template< class... > class ContainerT, class T > |
void | add_value (ContainerT< T > &container, T &value, typename std::enable_if< std::is_same< ContainerT< T >, std::set< T > >::value||std::is_same< ContainerT< T >, std::unordered_set< T > >::value >::type *=0) |
| Adds a value to a container (set or unordered_set).
|
|
template<template< class... > class ContainerT, class T > |
void | add_value (ContainerT< T > &container, const T &value, const size_t &value_count=0, typename std::enable_if< std::is_same< ContainerT< T >, std::multiset< T > >::value||std::is_same< ContainerT< T >, std::unordered_multiset< T > >::value >::type *=0) |
| Adds a value to a container (multiset or unordered_multiset).
|
|
template<template< class... > class ContainerT, class T > |
void | add_value (ContainerT< T > &container, T &value, typename std::enable_if< std::is_same< ContainerT< T >, std::list< T > >::value||std::is_same< ContainerT< T >, std::vector< T > >::value||std::is_same< ContainerT< T >, std::deque< T > >::value >::type *=0) |
| Adds a value to a container (list, vector, or deque).
|
|
template<template< class... > class ContainerT, class T > |
void | add_value (ContainerT< T > &container, const T &value, const size_t &value_count, typename std::enable_if< std::is_same< ContainerT< T >, std::list< T > >::value||std::is_same< ContainerT< T >, std::vector< T > >::value||std::is_same< ContainerT< T >, std::deque< T > >::value >::type *=0) |
| Adds a value to a container (list, vector, or deque).
|
|
template<template< class... > class ContainerT, class T > |
void | add_value (ContainerT< T > &container, const T &value, const size_t &value_count, typename std::enable_if< std::is_same< ContainerT< T >, std::set< T > >::value||std::is_same< ContainerT< T >, std::multiset< T > >::value||std::is_same< ContainerT< T >, std::unordered_set< T > >::value||std::is_same< ContainerT< T >, std::unordered_multiset< T > >::value >::type *=0) |
| Adds a value to a container (std::set).
|
|
template<template< class... > class ContainerT, typename KeyT , typename ValueT > |
void | add_value (ContainerT< KeyT, ValueT > &container, KeyT &key, ValueT &value, const size_t &value_count, typename std::enable_if< std::is_same< ContainerT< KeyT, ValueT >, std::multimap< KeyT, ValueT > >::value||std::is_same< ContainerT< KeyT, ValueT >, std::unordered_multimap< KeyT, ValueT > >::value >::type *=0) |
| Adds a key-value pair to a container (multimap or unordered_multimap).
|
|
template<template< class... > class ContainerT, typename KeyT , typename ValueT > |
std::list< ValueT > | get_values (ContainerT< KeyT, ValueT > &container, const KeyT &key, typename std::enable_if< std::is_same< ContainerT< KeyT, ValueT >, std::map< KeyT, ValueT > >::value||std::is_same< ContainerT< KeyT, ValueT >, std::unordered_map< KeyT, ValueT > >::value >::type *=0) |
| Retrieves values from a container (map or unordered_map) based on the key.
|
|
template<template< class... > class ContainerT, template< class... > class ValueContainerT, typename KeyT , typename ValueT > |
std::list< ValueT > | get_values (ContainerT< KeyT, ValueContainerT< ValueT > > &container, const KeyT &key, typename std::enable_if< std::is_same< ContainerT< KeyT, ValueT >, std::map< KeyT, ValueContainerT< ValueT > > >::value||std::is_same< ContainerT< KeyT, ValueT >, std::unordered_map< KeyT, ValueContainerT< ValueT > > >::value >::type *=0) |
| Retrieves values from a container (map or unordered_map) based on the key.
|
|
template<template< class... > class ContainerT, typename KeyT , typename ValueT > |
std::list< ValueT > | get_values (ContainerT< KeyT, ValueT > &container, const KeyT &key, typename std::enable_if< std::is_same< ContainerT< KeyT, ValueT >, std::multimap< KeyT, ValueT > >::value||std::is_same< ContainerT< KeyT, ValueT >, std::unordered_multimap< KeyT, ValueT > >::value >::type *=0) |
| Retrieves values from a container (multimap or unordered_multimap) based on the key.
|
|
template<typename T > |
bool | byte_compare (const T &a, const T &b) |
|