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

parameter_dims join to model_parameter_dic table row. More...

Inheritance diagram for openm::ParamDimsRow:
Collaboration diagram for openm::ParamDimsRow:

Public Member Functions

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

Static Public Member Functions

static bool isKeyLess (const ParamDimsRow &i_left, const ParamDimsRow &i_right)
 less comparator by unique key: model id, model parameter id, dimension id. More...
 
static bool isKeyEqual (const ParamDimsRow &i_left, const ParamDimsRow &i_right)
 equal comparator by unique key: model id, model parameter id, dimension id. More...
 
- Static Public Member Functions inherited from openm::IMetaRow< ParamDimsRow >
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
 
int dimId
 dim_id INT NOT NULL
 
string name
 dim_name VARCHAR(8) NOT NULL
 
int typeId
 model_type_id INT NOT NULL
 

Detailed Description

parameter_dims join to model_parameter_dic table row.

Constructor & Destructor Documentation

◆ ParamDimsRow() [1/2]

openm::ParamDimsRow::ParamDimsRow ( int  i_modelId,
int  i_paramId,
int  i_dimId 
)
inline

create row with supplied key field values.

◆ ParamDimsRow() [2/2]

openm::ParamDimsRow::ParamDimsRow ( void  )
inline

create row with default empty field values.

Member Function Documentation

◆ isKeyEqual()

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

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

◆ isKeyLess()

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

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


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