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

#include <UT_ORMOperation.h>

+ Inheritance diagram for UT_ORMAddConstraintOperation:

Public Member Functions

 UT_ORMAddConstraintOperation ()=default
 
 UT_ORMAddConstraintOperation (const UT_StringHolder &model_name, UT_UniquePtr< UT_IORMConstraint > &&constraint)
 
void setConstraint (const UT_StringHolder &model_name, UT_UniquePtr< UT_IORMConstraint > constraint)
 
const UT_StringHoldername () const override
 
void databaseForwards (UT_IORMSchemaEditor &editor, const UT_ORMMigrationState &from_state, const UT_ORMMigrationState &to_state, UT_ErrorCode &ec) override
 
void stateForwards (UT_ORMMigrationState &state, UT_ErrorCode &ec) override
 
- Public Member Functions inherited from UT_IORMOperation
virtual ~UT_IORMOperation ()=default
 
 UT_IORMOperation (const UT_IORMOperation &)=default
 
UT_IORMOperationoperator= (const UT_IORMOperation &)=default
 

Additional Inherited Members

- Protected Member Functions inherited from UT_IORMOperation
 UT_IORMOperation ()=default
 

Detailed Description

Definition at line 276 of file UT_ORMOperation.h.

Constructor & Destructor Documentation

UT_ORMAddConstraintOperation::UT_ORMAddConstraintOperation ( )
default
UT_ORMAddConstraintOperation::UT_ORMAddConstraintOperation ( const UT_StringHolder model_name,
UT_UniquePtr< UT_IORMConstraint > &&  constraint 
)
inlineexplicit

Definition at line 280 of file UT_ORMOperation.h.

Member Function Documentation

void UT_ORMAddConstraintOperation::databaseForwards ( UT_IORMSchemaEditor editor,
const UT_ORMMigrationState from_state,
const UT_ORMMigrationState to_state,
UT_ErrorCode ec 
)
overridevirtual

Implements UT_IORMOperation.

const UT_StringHolder& UT_ORMAddConstraintOperation::name ( ) const
overridevirtual

Implements UT_IORMOperation.

void UT_ORMAddConstraintOperation::setConstraint ( const UT_StringHolder model_name,
UT_UniquePtr< UT_IORMConstraint constraint 
)
inline

Definition at line 287 of file UT_ORMOperation.h.

void UT_ORMAddConstraintOperation::stateForwards ( UT_ORMMigrationState state,
UT_ErrorCode ec 
)
overridevirtual

Implements UT_IORMOperation.


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