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

model_word table row. More...

#include <dbMetaRow.h>

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.
 
 ModelWordRow (void)
 create row with default empty field values.
 

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.
 
static bool isKeyEqual (const ModelWordRow &i_left, const ModelWordRow &i_right)
 equal comparator by primary key: model id, language id, word code.
 
- 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.
 
static bool keyEqual (const IRowBaseUptr &i_left, const IRowBaseUptr &i_right)
 equal comparator by row primary key.
 

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.


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