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

task_txt table row. More...

Inheritance diagram for openm::TaskTxtRow:
Collaboration diagram for openm::TaskTxtRow:

Public Member Functions

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

Static Public Member Functions

static bool isKeyLess (const TaskTxtRow &i_left, const TaskTxtRow &i_right)
 less comparator by primary key: task id and language id. More...
 
static bool isKeyEqual (const TaskTxtRow &i_left, const TaskTxtRow &i_right)
 equal comparator by primary key: task id and language id. More...
 
static vector< TaskTxtRow >::const_iterator byKey (int i_taskId, int i_langId, const vector< TaskTxtRow > &i_rowVec)
 find row by primary key: task id and language id. More...
 
- Static Public Member Functions inherited from openm::IMetaRow< TaskTxtRow >
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 taskId
 task_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

task_txt table row.

Constructor & Destructor Documentation

◆ TaskTxtRow() [1/2]

openm::TaskTxtRow::TaskTxtRow ( int  i_taskId,
int  i_langId 
)
inline

create row with supplied primary key field values.

◆ TaskTxtRow() [2/2]

openm::TaskTxtRow::TaskTxtRow ( void  )
inline

create row with default empty field values.

Member Function Documentation

◆ byKey()

vector< TaskTxtRow >::const_iterator TaskTxtRow::byKey ( int  i_taskId,
int  i_langId,
const vector< TaskTxtRow > &  i_rowVec 
)
static

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

◆ isKeyEqual()

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

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

◆ isKeyLess()

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

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


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