HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_SQLORM.h File Reference
#include "UT_API.h"
#include "UT_Array.h"
#include "UT_ArrayStringSet.h"
#include "UT_Debug.h"
#include "UT_Function.h"
#include "UT_Lock.h"
#include "UT_NonCopyable.h"
#include "UT_ORMError.h"
#include "UT_ORMField.h"
#include "UT_ORMMigrationResult.h"
#include "UT_ORMModelMeta.h"
#include "UT_ORMQuerySet.h"
#include "UT_Optional.h"
#include "UT_Options.h"
#include "UT_SGuid.h"
#include "UT_SQL.h"
#include "UT_SharedPtr.h"
#include "UT_StringHolder.h"
#include "UT_ThreadSpecificValue.h"
#include "UT_UniquePtr.h"
#include "UT_WorkBuffer.h"
#include <functional>
#include <variant>
#include <utility>
+ Include dependency graph for UT_SQLORM.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  UT_ORMBaseModel
 
class  UT_ORMModel< T >
 
class  UT_SqlOrm
 

Macros

#define UT_DECLARE_MODEL()
 
#define UT_DEFINE_MODEL(_model_)
 

Macro Definition Documentation

#define UT_DECLARE_MODEL ( )
Value:
public: \
class Meta; \
friend class UT_ORMModelMeta; \
static const Meta& metaInfo();
*get result *(waiting if necessary)*A common idiom is to fire a bunch of sub tasks at the and then *wait for them to all complete We provide a helper class
Definition: thread.h:632

Definition at line 430 of file UT_SQLORM.h.

#define UT_DEFINE_MODEL (   _model_)
Value:
const _model_::Meta& _model_::metaInfo() \
{ \
static Meta _instance; \
return _instance; \
}

Definition at line 436 of file UT_SQLORM.h.