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

model_dic table row. More...

Inheritance diagram for openm::ModelDicRow:
Collaboration diagram for openm::ModelDicRow:

Public Member Functions

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

Static Public Member Functions

static bool isKeyLess (const ModelDicRow &i_left, const ModelDicRow &i_right)
 less comparator by primary key: model id. More...
 
static bool isKeyEqual (const ModelDicRow &i_left, const ModelDicRow &i_right)
 equal comparator by primary key: model id. More...
 
- Static Public Member Functions inherited from openm::IMetaRow< ModelDicRow >
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
 
string name
 model_name VARCHAR(255) NOT NULL
 
string digest
 model_digest VARCHAR(32) NOT NULL
 
int type
 model_type INT NOT NULL
 
string version
 model_ver VARCHAR(32) NOT NULL
 
string createDateTime
 create_dt VARCHAR(32) NOT NULL
 
int defaultLangId
 default_lang_id INT NOT NULL
 

Detailed Description

model_dic table row.

Constructor & Destructor Documentation

◆ ModelDicRow() [1/2]

openm::ModelDicRow::ModelDicRow ( int  i_modelId)
inline

create row with supplied primary key field values.

◆ ModelDicRow() [2/2]

openm::ModelDicRow::ModelDicRow ( void  )
inline

create row with default empty field values.

Member Function Documentation

◆ isKeyEqual()

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

equal comparator by primary key: model id.

◆ isKeyLess()

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

less comparator by primary key: model id.


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