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

run_txt table row. More...

Inheritance diagram for openm::RunTxtRow:
Collaboration diagram for openm::RunTxtRow:

Public Member Functions

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

Static Public Member Functions

static bool isKeyLess (const RunTxtRow &i_left, const RunTxtRow &i_right)
 less comparator by primary key: run id and language id. More...
 
static bool isKeyEqual (const RunTxtRow &i_left, const RunTxtRow &i_right)
 equal comparator by primary key: run id and language id. More...
 
static vector< RunTxtRow >::const_iterator byKey (int i_runId, int i_langId, const vector< RunTxtRow > &i_rowVec)
 find row by primary key: run id and language id. More...
 
- Static Public Member Functions inherited from openm::IMetaRow< RunTxtRow >
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 runId
 run_id INT NOT NULL
 
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

run_txt table row.

Constructor & Destructor Documentation

◆ RunTxtRow() [1/2]

openm::RunTxtRow::RunTxtRow ( int  i_runId,
int  i_langId 
)
inline

create row with supplied primary key field values.

◆ RunTxtRow() [2/2]

openm::RunTxtRow::RunTxtRow ( void  )
inline

create row with default empty field values.

Member Function Documentation

◆ byKey()

vector< RunTxtRow >::const_iterator RunTxtRow::byKey ( int  i_runId,
int  i_langId,
const vector< RunTxtRow > &  i_rowVec 
)
static

find row by primary key: run id and language id.

◆ isKeyEqual()

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

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

◆ isKeyLess()

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

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


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