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

model_dic_txt table row. More...

Inheritance diagram for openm::ModelDicTxtRow:
Collaboration diagram for openm::ModelDicTxtRow:

Public Member Functions

 ModelDicTxtRow (int i_modelId, int i_langId)
 create row with supplied primary key field values. More...
 
 ModelDicTxtRow (void)
 create row with default empty field values. More...
 

Static Public Member Functions

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

Detailed Description

model_dic_txt table row.

Constructor & Destructor Documentation

◆ ModelDicTxtRow() [1/2]

openm::ModelDicTxtRow::ModelDicTxtRow ( int  i_modelId,
int  i_langId 
)
inline

create row with supplied primary key field values.

◆ ModelDicTxtRow() [2/2]

openm::ModelDicTxtRow::ModelDicTxtRow ( void  )
inline

create row with default empty field values.

Member Function Documentation

◆ isKeyEqual()

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

equal comparator by primary key: model id and language id.

◆ isKeyLess()

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

less comparator by primary key: model id and language id.


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