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

task_lst table row. More...

Inheritance diagram for openm::TaskLstRow:
Collaboration diagram for openm::TaskLstRow:

Public Member Functions

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

Static Public Member Functions

static bool isKeyLess (const TaskLstRow &i_left, const TaskLstRow &i_right)
 less comparator by primary key: task id. More...
 
static bool isKeyEqual (const TaskLstRow &i_left, const TaskLstRow &i_right)
 equal comparator by primary key: task id. More...
 
static vector< TaskLstRow >::const_iterator byKey (int i_taskId, const vector< TaskLstRow > &i_rowVec)
 find row by primary key: task id. More...
 
- Static Public Member Functions inherited from openm::IMetaRow< TaskLstRow >
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 modelId
 model_id INT NOT NULL
 
string name
 task_name VARCHAR(255) NOT NULL
 

Detailed Description

task_lst table row.

Constructor & Destructor Documentation

◆ TaskLstRow() [1/2]

openm::TaskLstRow::TaskLstRow ( int  i_taskId)
inline

create row with supplied primary key field values.

◆ TaskLstRow() [2/2]

openm::TaskLstRow::TaskLstRow ( void  )
inline

create row with default empty field values.

Member Function Documentation

◆ byKey()

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

find row by primary key: task id.

◆ isKeyEqual()

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

equal comparator by primary key: task id.

◆ isKeyLess()

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

less comparator by primary key: task id.


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