HDK
|
#include <UT_ORMMigrationState.h>
Public Types | |
using | update_func_t = UT_Function< void(UT_ORMModelState &)> |
using | model_t = UT_COWValue< UT_ORMModelState > |
Public Member Functions | |
bool | addModel (UT_ORMModelState &&model) |
bool | deleteModel (const UT_StringRef &name) |
void | updateModel (const UT_StringRef &name, const update_func_t &update) |
const model_t & | findModel (const UT_StringRef &name) const |
bool | renameModel (const UT_StringRef &old_model, const UT_StringHolder &new_model) |
bool | matchesForMeta (const UT_ORMModelMeta &meta, UT_StringHolder &message, UT_ErrorCode &ec) const |
Definition at line 26 of file UT_ORMMigrationState.h.
Definition at line 30 of file UT_ORMMigrationState.h.
Definition at line 29 of file UT_ORMMigrationState.h.
bool UT_ORMMigrationState::addModel | ( | UT_ORMModelState && | model | ) |
bool UT_ORMMigrationState::deleteModel | ( | const UT_StringRef & | name | ) |
const model_t& UT_ORMMigrationState::findModel | ( | const UT_StringRef & | name | ) | const |
bool UT_ORMMigrationState::matchesForMeta | ( | const UT_ORMModelMeta & | meta, |
UT_StringHolder & | message, | ||
UT_ErrorCode & | ec | ||
) | const |
bool UT_ORMMigrationState::renameModel | ( | const UT_StringRef & | old_model, |
const UT_StringHolder & | new_model | ||
) |
void UT_ORMMigrationState::updateModel | ( | const UT_StringRef & | name, |
const update_func_t & | update | ||
) |