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

table_dims table row. More...

Inheritance diagram for openm::TableDimsRow:
Collaboration diagram for openm::TableDimsRow:

Public Member Functions

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

Static Public Member Functions

static bool isKeyLess (const TableDimsRow &i_left, const TableDimsRow &i_right)
 less comparator by unique key: model id, model table id, dimension id. More...
 
static bool isKeyEqual (const TableDimsRow &i_left, const TableDimsRow &i_right)
 equal comparator by unique key: model id, model table id, dimension id. More...
 
- Static Public Member Functions inherited from openm::IMetaRow< TableDimsRow >
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 tableId
 table_id INT NOT NULL
 
int dimId
 dim_id INT NOT NULL
 
string name
 dim_name VARCHAR(8) NOT NULL
 
int typeId
 mod_type_id INT NOT NULL
 
bool isTotal
 is_total SMALLINT NOT NULL
 
int dimSize
 dim_size INT NOT NULL
 

Detailed Description

table_dims table row.

Constructor & Destructor Documentation

◆ TableDimsRow() [1/2]

openm::TableDimsRow::TableDimsRow ( int  i_modelId,
int  i_tableId,
int  i_dimId 
)
inline

create row with supplied key field values.

◆ TableDimsRow() [2/2]

openm::TableDimsRow::TableDimsRow ( void  )
inline

create row with default empty field values.

Member Function Documentation

◆ isKeyEqual()

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

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

◆ isKeyLess()

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

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


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