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

table_acc table row. More...

Inheritance diagram for openm::TableAccRow:
Collaboration diagram for openm::TableAccRow:

Public Member Functions

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

Static Public Member Functions

static bool isKeyLess (const TableAccRow &i_left, const TableAccRow &i_right)
 less comparator by unique key: model id, model table id, accumulator id. More...
 
static bool isKeyEqual (const TableAccRow &i_left, const TableAccRow &i_right)
 equal comparator by unique key: model id, model table id, accumulator id. More...
 
static vector< TableAccRow >::const_iterator byKey (int i_modelId, int i_tableId, int i_accId, const vector< TableAccRow > &i_rowVec)
 find row by unique key: model id, model table id, accumulator id. More...
 
- Static Public Member Functions inherited from openm::IMetaRow< TableAccRow >
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 accId
 acc_id INT NOT NULL
 
string name
 acc_name VARCHAR(8) NOT NULL
 
bool isDerived
 is_derived SMALLINT NOT NULL
 
string accSrc
 acc_src VARCHAR(255) NOT NULL
 
string accSql
 acc_sql VARCHAR(2048) NOT NULL
 

Detailed Description

table_acc table row.

Constructor & Destructor Documentation

◆ TableAccRow() [1/2]

openm::TableAccRow::TableAccRow ( int  i_modelId,
int  i_tableId,
int  i_accid 
)
inline

create row with supplied key field values.

◆ TableAccRow() [2/2]

openm::TableAccRow::TableAccRow ( void  )
inline

create row with default empty field values.

Member Function Documentation

◆ byKey()

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

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

◆ isKeyEqual()

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

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

◆ isKeyLess()

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

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


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