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

table_dic table row. More...

Inheritance diagram for openm::TableDicRow:
Collaboration diagram for openm::TableDicRow:

Public Member Functions

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

Static Public Member Functions

static bool isKeyLess (const TableDicRow &i_left, const TableDicRow &i_right)
 less comparator by unique key: model id, model table id. More...
 
static bool isKeyEqual (const TableDicRow &i_left, const TableDicRow &i_right)
 equal comparator by primary key: model id, table id. More...
 
static vector< TableDicRow >::const_iterator byKey (int i_modelId, int i_tableId, const vector< TableDicRow > &i_rowVec)
 find row by unique key: model id, model table id. More...
 
- Static Public Member Functions inherited from openm::IMetaRow< TableDicRow >
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
 
string tableName
 table_name VARCHAR(255) NOT NULL
 
int tableHid
 table_hid INT NOT NULL, – unique table id
 
string digest
 table_digest VARCHAR(32) NOT NULL
 
bool isUser
 is_user SMALLINT NOT NULL
 
int rank
 table_rank INT NOT NULL
 
bool isSparse
 is_sparse SMALLINT NOT NULL
 
string dbExprTable
 db_expr_table VARCHAR(64) NOT NULL
 
string dbAccTable
 db_acc_table VARCHAR(64) NOT NULL
 
string dbAccAll
 db_acc_all_view VARCHAR(64) NOT NULL
 
int exprPos
 expr_dim_pos INT NOT NULL
 

Detailed Description

table_dic table row.

Constructor & Destructor Documentation

◆ TableDicRow() [1/2]

openm::TableDicRow::TableDicRow ( int  i_modelId,
int  i_tableId 
)
inline

create row with supplied key field values.

◆ TableDicRow() [2/2]

openm::TableDicRow::TableDicRow ( void  )
inline

create row with default empty field values.

Member Function Documentation

◆ byKey()

vector< TableDicRow >::const_iterator TableDicRow::byKey ( int  i_modelId,
int  i_tableId,
const vector< TableDicRow > &  i_rowVec 
)
static

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

◆ isKeyEqual()

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

equal comparator by primary key: model id, table id.

◆ isKeyLess()

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

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


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