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

parameter_dims join to model_parameter_dic table row. More...

#include <dbMetaRow.h>

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.
 
 ParamDimsRow (void)
 create row with default empty field values.
 
const string columnName (void) const
 return db column name based on dimension id, example: dim1
 

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.
 
static bool isKeyEqual (const ParamDimsRow &i_left, const ParamDimsRow &i_right)
 equal comparator by unique key: model id, model parameter id, dimension id.
 
- 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.
 
static bool keyEqual (const IRowBaseUptr &i_left, const IRowBaseUptr &i_right)
 equal comparator by row primary key.
 

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(255) NOT NULL
 
int typeId
 model_type_id INT NOT NULL
 

Detailed Description

parameter_dims join to model_parameter_dic table row.


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