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

table_acc table row. More...

#include <dbMetaRow.h>

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

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.
 
static bool isKeyEqual (const TableAccRow &i_left, const TableAccRow &i_right)
 equal comparator by unique key: model id, model table id, accumulator id.
 
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.
 
- 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.
 
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 accId
 acc_id INT NOT NULL
 
string name
 acc_name VARCHAR(255) 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.


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