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

table_expr table row. More...

Inheritance diagram for openm::TableExprRow:
Collaboration diagram for openm::TableExprRow:

Public Member Functions

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

Static Public Member Functions

static bool isKeyLess (const TableExprRow &i_left, const TableExprRow &i_right)
 less comparator by unique key: model id, model table id, expr id. More...
 
static bool isKeyEqual (const TableExprRow &i_left, const TableExprRow &i_right)
 equal comparator by unique key: model id, model table id, expr id. More...
 
- Static Public Member Functions inherited from openm::IMetaRow< TableExprRow >
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 exprId
 expr_id INT NOT NULL
 
string name
 expr_name VARCHAR(8) NOT NULL
 
int decimals
 expr_decimals INT NOT NULL
 
string srcExpr
 expr_src VARCHAR(255) NOT NULL
 
string sqlExpr
 expr_sql VARCHAR(2048) NOT NULL
 

Detailed Description

table_expr table row.

Constructor & Destructor Documentation

◆ TableExprRow() [1/2]

openm::TableExprRow::TableExprRow ( int  i_modelId,
int  i_tableId,
int  i_exprId 
)
inline

create row with supplied key field values.

◆ TableExprRow() [2/2]

openm::TableExprRow::TableExprRow ( void  )
inline

create row with default empty field values.

Member Function Documentation

◆ isKeyEqual()

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

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

◆ isKeyLess()

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

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


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