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

parameter_dic join to model_parameter_dic table row. More...

Inheritance diagram for openm::ParamDicRow:
Collaboration diagram for openm::ParamDicRow:

Public Member Functions

 ParamDicRow (int i_modelId, int i_paramId)
 create row with supplied unique key field values. More...
 
 ParamDicRow (void)
 create row with default empty field values. More...
 

Static Public Member Functions

static bool isKeyLess (const ParamDicRow &i_left, const ParamDicRow &i_right)
 less comparator by unique key: model id, model parameter id. More...
 
static bool isKeyEqual (const ParamDicRow &i_left, const ParamDicRow &i_right)
 equal comparator by unique key: model id, model parameter id. More...
 
static vector< ParamDicRow >::const_iterator byKey (int i_modelId, int i_paramId, const vector< ParamDicRow > &i_rowVec)
 find row by unique key: model id, model parameter id. More...
 
- Static Public Member Functions inherited from openm::IMetaRow< ParamDicRow >
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
 
int paramId
 model_parameter_id INT NOT NULL
 
string paramName
 parameter_name VARCHAR(255) NOT NULL
 
int paramHid
 parameter_hid INT NOT NULL, – unique parameter id
 
string digest
 parameter_digest VARCHAR(32) NOT NULL
 
int rank
 parameter_rank INT NOT NULL
 
int typeId
 model_type_id INT NOT NULL
 
bool isExtendable
 is_extendable SMALLINT NOT NULL
 
bool isHidden
 is_hidden SMALLINT NOT NULL
 
int numCumulated
 num_cumulated INT NOT NULL
 
string dbRunTable
 db_run_table VARCHAR(64) NOT NULL
 
string dbSetTable
 db_set_table VARCHAR(64) NOT NULL
 

Detailed Description

parameter_dic join to model_parameter_dic table row.

Constructor & Destructor Documentation

◆ ParamDicRow() [1/2]

openm::ParamDicRow::ParamDicRow ( int  i_modelId,
int  i_paramId 
)
inline

create row with supplied unique key field values.

◆ ParamDicRow() [2/2]

openm::ParamDicRow::ParamDicRow ( void  )
inline

create row with default empty field values.

Member Function Documentation

◆ byKey()

vector< ParamDicRow >::const_iterator ParamDicRow::byKey ( int  i_modelId,
int  i_paramId,
const vector< ParamDicRow > &  i_rowVec 
)
static

find row by unique key: model id, model parameter id.

◆ isKeyEqual()

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

equal comparator by unique key: model id, model parameter id.

◆ isKeyLess()

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

less comparator by unique key: model id, model parameter id.


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