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

type_dic_txt join to model_type_dic table row. More...

Inheritance diagram for openm::TypeDicTxtRow:
Collaboration diagram for openm::TypeDicTxtRow:

Public Member Functions

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

Static Public Member Functions

static bool isKeyLess (const TypeDicTxtRow &i_left, const TypeDicTxtRow &i_right)
 less comparator by unique key: model id, model type id, language id. More...
 
static bool isKeyEqual (const TypeDicTxtRow &i_left, const TypeDicTxtRow &i_right)
 equal comparator by unique key: model id, model type id, language id. More...
 
- Static Public Member Functions inherited from openm::IMetaRow< TypeDicTxtRow >
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 langId
 lang_id INT NOT NULL
 
string descr
 descr VARCHAR(255) NOT NULL
 
string note
 note VARCHAR(32000)
 

Detailed Description

type_dic_txt join to model_type_dic table row.

Constructor & Destructor Documentation

◆ TypeDicTxtRow() [1/2]

openm::TypeDicTxtRow::TypeDicTxtRow ( int  i_modelId,
int  i_typeId,
int  i_langId 
)
inline

create row with supplied unique key field values.

◆ TypeDicTxtRow() [2/2]

openm::TypeDicTxtRow::TypeDicTxtRow ( void  )
inline

create row with default empty field values.

Member Function Documentation

◆ isKeyEqual()

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

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

◆ isKeyLess()

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

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


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