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

generic two string columns: (code, value) table row. More...

#include <dbMetaRow.h>

Inheritance diagram for openm::CodeValueRow:
Collaboration diagram for openm::CodeValueRow:

Public Member Functions

 CodeValueRow (const string &i_code, const string i_value)
 create row with supplied field values.
 
 CodeValueRow (const string &i_code)
 create row with supplied primary key field values.
 
 CodeValueRow (void)
 create row with default empty field values.
 

Static Public Member Functions

static bool isKeyLess (const CodeValueRow &i_left, const CodeValueRow &i_right)
 less comparator by primary key: code.
 
static bool isKeyEqual (const CodeValueRow &i_left, const CodeValueRow &i_right)
 equal comparator by primary key: code.
 
- Static Public Member Functions inherited from openm::IMetaRow< CodeValueRow >
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

string code
 code VARCHAR(...) NOT NULL
 
string value
 value VARCHAR(...) NOT NULL
 

Detailed Description

generic two string columns: (code, value) table row.


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