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

model_word table row. More...

Inheritance diagram for openm::ModelWordRow:
Collaboration diagram for openm::ModelWordRow:

Public Member Functions

 ModelWordRow (int i_modelId, int i_langId, const string &i_code)
 create row with supplied primary key field values. More...
 
 ModelWordRow (void)
 create row with default empty field values. More...
 

Static Public Member Functions

static bool isKeyLess (const ModelWordRow &i_left, const ModelWordRow &i_right)
 less comparator by primary key: model id, language id, word code. More...
 
static bool isKeyEqual (const ModelWordRow &i_left, const ModelWordRow &i_right)
 equal comparator by primary key: model id, language id, word code. More...
 
- Static Public Member Functions inherited from openm::IMetaRow< ModelWordRow >
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 code
 word_code VARCHAR(255) NOT NULL
 
string value
 word_value VARCHAR(255) NOT NULL
 

Detailed Description

model_word table row.

Constructor & Destructor Documentation

◆ ModelWordRow() [1/2]

openm::ModelWordRow::ModelWordRow ( int  i_modelId,
int  i_langId,
const string &  i_code 
)
inline

create row with supplied primary key field values.

◆ ModelWordRow() [2/2]

openm::ModelWordRow::ModelWordRow ( void  )
inline

create row with default empty field values.

Member Function Documentation

◆ isKeyEqual()

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

equal comparator by primary key: model id, language id, word code.

◆ isKeyLess()

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

less comparator by primary key: model id, language id, word code.


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