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

table_dims table row. More...

#include <dbMetaRow.h>

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.
 
 TableDimsRow (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 TableDimsRow &i_left, const TableDimsRow &i_right)
 less comparator by unique key: model id, model table id, dimension id.
 
static bool isKeyEqual (const TableDimsRow &i_left, const TableDimsRow &i_right)
 equal comparator by unique key: model id, model table id, dimension id.
 
- 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.
 
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 tableId
 table_id INT NOT NULL
 
int dimId
 dim_id INT NOT NULL
 
string name
 dim_name VARCHAR(255) 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.


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