LeechCraft  0.6.70-6645-gcd10d7e
Modular cross-platform feature rich live environment.
LeechCraft::Util::oral Namespace Reference

Namespaces

 detail
 
 sph
 

Classes

struct  FromVariant
 
struct  FromVariant< PKey< T, Tags... > >
 
struct  FromVariant< QDateTime >
 
struct  FromVariant< References< Seq, Idx > >
 
struct  FromVariant< Unique< T > >
 
struct  ObjectInfo
 
struct  PKey
 
class  QueryException
 
struct  References
 
struct  ToVariant
 
struct  ToVariant< PKey< T, Tags... > >
 
struct  ToVariant< QDateTime >
 
struct  ToVariant< References< Seq, Idx > >
 
struct  ToVariant< Unique< T > >
 
struct  Type2Name
 
struct  Type2Name< bool >
 
struct  Type2Name< double >
 
struct  Type2Name< int >
 
struct  Type2Name< PKey< int, Tags... > >
 
struct  Type2Name< PKey< T, Tags... > >
 
struct  Type2Name< QByteArray >
 
struct  Type2Name< QDateTime >
 
struct  Type2Name< QString >
 
struct  Type2Name< qulonglong >
 
struct  Type2Name< References< Seq, Idx > >
 
struct  Type2Name< Unique< T > >
 
struct  Unique
 
struct  UniqueSubset
 

Typedefs

template<typename... Args>
using Constraints = Typelist< Args... >
 
template<typename T >
using ObjectInfo_ptr = std::shared_ptr< ObjectInfo< T >>
 

Enumerations

enum  InsertAction {
  InsertAction::Default,
  InsertAction::Ignore,
  InsertAction::Replace
}
 

Functions

template<typename T >
ObjectInfo< T > Adapt (const QSqlDatabase &db)
 
template<typename T >
ObjectInfo_ptr< T > AdaptPtr (const QSqlDatabase &db)
 

Typedef Documentation

template<typename... Args>
using LeechCraft::Util::oral::Constraints = typedef Typelist<Args...>

Definition at line 98 of file oral.h.

template<typename T >
using LeechCraft::Util::oral::ObjectInfo_ptr = typedef std::shared_ptr<ObjectInfo<T>>

Definition at line 1384 of file oral.h.

Enumeration Type Documentation

Enumerator
Default 
Ignore 
Replace 

Definition at line 325 of file oral.h.

Function Documentation

template<typename T >
ObjectInfo<T> LeechCraft::Util::oral::Adapt ( const QSqlDatabase &  db)

Definition at line 1347 of file oral.h.

References LeechCraft::Util::Map(), and LeechCraft::Util::RunTextQuery().

+ Here is the call graph for this function:

template<typename T >
ObjectInfo_ptr<T> LeechCraft::Util::oral::AdaptPtr ( const QSqlDatabase &  db)

Definition at line 1387 of file oral.h.