HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_ORMMigrationBuilder Class Reference

#include <UT_ORMMigrationBuilder.h>

Classes

struct  Model
 

Public Member Functions

 UT_ORMMigrationBuilder ()=default
 
 UT_NON_COPYABLE (UT_ORMMigrationBuilder)
 
 ~UT_ORMMigrationBuilder ()
 
bool hasModel (const UT_StringRef &name)
 
UT_ORMMigrationaddMigration (const UT_StringHolder &table_name, const UT_StringHolder &name)
 
UT_Map< UT_StringHolder, Model > & models ()
 
const UT_Map< UT_StringHolder,
Model > & 
models () const
 
const UT_Array< UT_ORMMigration > & migrations () const
 
const UT_Array< const
UT_ORMModelMeta * > & 
registeredModelMetas () const
 
void registerModelMeta (const UT_ORMModelMeta *meta)
 

Friends

class UT_ORMMigration
 
class UT_ORMMigrationChangeNotifier
 

Detailed Description

Definition at line 128 of file UT_ORMMigrationBuilder.h.

Constructor & Destructor Documentation

UT_ORMMigrationBuilder::UT_ORMMigrationBuilder ( )
default
UT_ORMMigrationBuilder::~UT_ORMMigrationBuilder ( )

Member Function Documentation

UT_ORMMigration& UT_ORMMigrationBuilder::addMigration ( const UT_StringHolder table_name,
const UT_StringHolder name 
)
bool UT_ORMMigrationBuilder::hasModel ( const UT_StringRef name)
const UT_Array<UT_ORMMigration>& UT_ORMMigrationBuilder::migrations ( ) const
inline

Definition at line 150 of file UT_ORMMigrationBuilder.h.

UT_Map<UT_StringHolder, Model>& UT_ORMMigrationBuilder::models ( )
inline

Definition at line 147 of file UT_ORMMigrationBuilder.h.

const UT_Map<UT_StringHolder, Model>& UT_ORMMigrationBuilder::models ( ) const
inline

Definition at line 148 of file UT_ORMMigrationBuilder.h.

const UT_Array<const UT_ORMModelMeta*>& UT_ORMMigrationBuilder::registeredModelMetas ( ) const
inline

Definition at line 152 of file UT_ORMMigrationBuilder.h.

void UT_ORMMigrationBuilder::registerModelMeta ( const UT_ORMModelMeta meta)
inline

Definition at line 156 of file UT_ORMMigrationBuilder.h.

UT_ORMMigrationBuilder::UT_NON_COPYABLE ( UT_ORMMigrationBuilder  )

Friends And Related Function Documentation

friend class UT_ORMMigration
friend

Definition at line 162 of file UT_ORMMigrationBuilder.h.

Definition at line 163 of file UT_ORMMigrationBuilder.h.


The documentation for this class was generated from the following file: