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

#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_tfindModel (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
 

Detailed Description

Definition at line 26 of file UT_ORMMigrationState.h.

Member Typedef Documentation

Member Function Documentation

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 
)

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