OpenM++ runtime library (libopenm)
openm::TypeEnumLstRow Struct Reference

type_enum_lst join to model_type_dic table row. More...

Inheritance diagram for openm::TypeEnumLstRow:
Collaboration diagram for openm::TypeEnumLstRow:

Public Member Functions

 TypeEnumLstRow (int i_modelId, int i_typeId, int i_enumId)
 create row with supplied unique key field values. More...
 
 TypeEnumLstRow (void)
 create row with default empty field values. More...
 

Static Public Member Functions

static bool isKeyLess (const TypeEnumLstRow &i_left, const TypeEnumLstRow &i_right)
 less comparator by unique key: model id, model type id, enum id. More...
 
static bool isKeyEqual (const TypeEnumLstRow &i_left, const TypeEnumLstRow &i_right)
 equal comparator by unique key: model id, model type id, enum id. More...
 
- Static Public Member Functions inherited from openm::IMetaRow< TypeEnumLstRow >
static bool keyLess (const IRowBaseUptr &i_left, const IRowBaseUptr &i_right)
 less comparator by row primary key. More...
 
static bool keyEqual (const IRowBaseUptr &i_left, const IRowBaseUptr &i_right)
 equal comparator by row primary key. More...
 

Public Attributes

int modelId
 model_id INT NOT NULL
 
int typeId
 model_type_id INT NOT NULL
 
int enumId
 enum_id INT NOT NULL
 
string name
 enum_name VARCHAR(255) NOT NULL
 

Detailed Description

type_enum_lst join to model_type_dic table row.

Constructor & Destructor Documentation

◆ TypeEnumLstRow() [1/2]

openm::TypeEnumLstRow::TypeEnumLstRow ( int  i_modelId,
int  i_typeId,
int  i_enumId 
)
inline

create row with supplied unique key field values.

◆ TypeEnumLstRow() [2/2]

openm::TypeEnumLstRow::TypeEnumLstRow ( void  )
inline

create row with default empty field values.

Member Function Documentation

◆ isKeyEqual()

bool TypeEnumLstRow::isKeyEqual ( const TypeEnumLstRow i_left,
const TypeEnumLstRow i_right 
)
static

equal comparator by unique key: model id, model type id, enum id.

◆ isKeyLess()

bool TypeEnumLstRow::isKeyLess ( const TypeEnumLstRow i_left,
const TypeEnumLstRow i_right 
)
static

less comparator by unique key: model id, model type id, enum id.


The documentation for this struct was generated from the following files: