![]() |
LeechCraft
0.6.70-11552-gf61ee51c3d
Modular cross-platform feature rich live environment.
|
Namespaces | |
detail | |
sph | |
Classes | |
struct | FromVariant |
struct | InsertAction |
struct | IsIndirect |
struct | IsIndirect< NotNull< T > > |
struct | IsIndirect< PKey< T, Args... > > |
struct | IsIndirect< References< Ptr > > |
struct | IsIndirect< Unique< T > > |
struct | NotNull |
struct | ObjectInfo |
struct | PKey |
struct | PrimaryKey |
class | QueryException |
struct | References |
struct | ToVariant |
struct | Type2Name |
struct | Type2Name< ImplFactory, NotNull< T > > |
struct | Type2Name< ImplFactory, PKey< int, Tags... > > |
struct | Type2Name< ImplFactory, PKey< T, Tags... > > |
struct | Type2Name< ImplFactory, References< Ptr > > |
struct | Type2Name< ImplFactory, Unique< T > > |
struct | Unique |
struct | UniqueSubset |
Typedefs | |
using | QSqlQuery_ptr = std::shared_ptr< QSqlQuery > |
template<typename T > | |
using | ObjectInfo_ptr = std::shared_ptr< ObjectInfo< T > > |
template<typename T , typename... Args> | |
using | PKeyValue_t = typename PKey< T, Args... >::value_type |
template<typename T > | |
using | UniqueValue_t = typename Unique< T >::value_type |
template<typename T > | |
using | NotNullValue_t = typename NotNull< T >::value_type |
template<auto Ptr> | |
using | ReferencesValue_t = typename References< Ptr >::value_type |
template<typename... Args> | |
using | Constraints = Typelist< Args... > |
using | PostgreSQLImplFactory = detail::PostgreSQL::ImplFactory |
using | SQLiteImplFactory = detail::SQLite::ImplFactory |
Functions | |
template<typename Record , typename ImplFactory = SQLiteImplFactory> | |
void | Migrate (QSqlDatabase &db) |
template<typename T , typename ImplFactory = detail::SQLite::ImplFactory> | |
ObjectInfo< T > | Adapt (const QSqlDatabase &db) |
template<typename T , typename ImplFactory = SQLiteImplFactory> | |
ObjectInfo_ptr< T > | AdaptPtr (const QSqlDatabase &db) |
template<typename T , typename... Args> | |
char * | toString (const PKey< T, Args... > &pkey) |
using LeechCraft::Util::oral::Constraints = typedef Typelist<Args...> |
Definition at line 220 of file oraltypes.h.
using LeechCraft::Util::oral::NotNullValue_t = typedef typename NotNull<T>::value_type |
Definition at line 150 of file oraltypes.h.
using LeechCraft::Util::oral::ObjectInfo_ptr = typedef std::shared_ptr<ObjectInfo<T> > |
using LeechCraft::Util::oral::PKeyValue_t = typedef typename PKey<T, Args...>::value_type |
Definition at line 82 of file oraltypes.h.
using LeechCraft::Util::oral::QSqlQuery_ptr = typedef std::shared_ptr<QSqlQuery> |
using LeechCraft::Util::oral::ReferencesValue_t = typedef typename References<Ptr>::value_type |
Definition at line 211 of file oraltypes.h.
using LeechCraft::Util::oral::SQLiteImplFactory = typedef detail::SQLite::ImplFactory |
Definition at line 93 of file sqliteimpl.h.
using LeechCraft::Util::oral::UniqueValue_t = typedef typename Unique<T>::value_type |
Definition at line 116 of file oraltypes.h.
ObjectInfo<T> LeechCraft::Util::oral::Adapt | ( | const QSqlDatabase & | db | ) |
Definition at line 1228 of file oral.h.
References LeechCraft::Util::RunTextQuery().
ObjectInfo_ptr<T> LeechCraft::Util::oral::AdaptPtr | ( | const QSqlDatabase & | db | ) |
void LeechCraft::Util::oral::Migrate | ( | QSqlDatabase & | db | ) |
Definition at line 65 of file migrate.h.
References LeechCraft::Util::oral::sph::fields, LeechCraft::Util::DBLock::Init(), LeechCraft::Util::oral::detail::MatchesSchema(), and LeechCraft::Util::RunTextQuery().
char* LeechCraft::Util::oral::toString | ( | const PKey< T, Args... > & | pkey | ) |
Definition at line 71 of file common.h.
References toString(), and LeechCraft::Util::oral::PKey< T, Tags >::Val_.