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

run_lst table row. More...

Inheritance diagram for openm::RunLstRow:
Collaboration diagram for openm::RunLstRow:

Public Member Functions

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

Static Public Member Functions

static bool isKeyLess (const RunLstRow &i_left, const RunLstRow &i_right)
 less comparator by primary key: run id. More...
 
static bool isKeyEqual (const RunLstRow &i_left, const RunLstRow &i_right)
 equal comparator by primary key: run id. More...
 
static vector< RunLstRow >::const_iterator byKey (int i_runId, const vector< RunLstRow > &i_rowVec)
 find row by primary key: run id. More...
 
- Static Public Member Functions inherited from openm::IMetaRow< RunLstRow >
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
 
string name
 run_name VARCHAR(255) NOT NULL
 
int subCount
 sub_count INT NOT NULL
 
int subStarted
 sub_started INT NOT NULL
 
int subCompleted
 sub_completed INT NOT NULL
 
int subRestart
 sub_restart INT NOT NULL
 
string createDateTime
 create_dt VARCHAR(32) NOT NULL
 
string status
 run status: i=init p=progress s=success e=error(failed)
 
string updateDateTime
 update_dt VARCHAR(32) NOT NULL
 
string runStamp
 run_stamp VARCHAR(32) NOT NULL
 

Detailed Description

run_lst table row.

Constructor & Destructor Documentation

◆ RunLstRow() [1/2]

openm::RunLstRow::RunLstRow ( int  i_runId)
inline

create row with supplied primary key field values.

◆ RunLstRow() [2/2]

openm::RunLstRow::RunLstRow ( void  )
inline

create row with default empty field values.

Member Function Documentation

◆ byKey()

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

find row by primary key: run id.

◆ isKeyEqual()

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

equal comparator by primary key: run id.

◆ isKeyLess()

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

less comparator by primary key: run id.


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