type_dic join to model_type_dic table row.
More...
#include <dbMetaRow.h>
|
| TypeDicRow (int i_modelId, int i_typeId) |
| create row with supplied unique key field values.
|
|
| TypeDicRow (void) |
| create row with default empty key values.
|
|
bool | isBool (void) const |
| return true if model type is boolean (logical)
|
|
bool | isString (void) const |
| return true if model type is string (varchar)
|
|
bool | isBigInt (void) const |
| return true if model type is bigint (64 bit)
|
|
bool | isInt (void) const |
| return true if model type is integer (not float, string, boolean or bigint)
|
|
bool | isFloat (void) const |
| return true if model type is float (float, real, double or time)
|
|
bool | isTime (void) const |
| return true if model type is Time
|
|
bool | isBuiltIn (void) const |
| return true if model type is built-in, ie: int, double, logical
|
|
|
static bool | isKeyLess (const TypeDicRow &i_left, const TypeDicRow &i_right) |
| less comparator by unique key: model id, model type id.
|
|
static bool | isKeyEqual (const TypeDicRow &i_left, const TypeDicRow &i_right) |
| equal comparator by unique key: model id, model type id.
|
|
static vector< TypeDicRow >::const_iterator | byKey (int i_modelId, int i_typeId, const vector< TypeDicRow > &i_rowVec) |
| find row by unique key: model id and model type id.
|
|
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.
|
|
|
int | modelId |
| model_id INT NOT NULL
|
|
int | typeId |
| model_type_id INT NOT NULL
|
|
string | name |
| type_name VARCHAR(255) NOT NULL, – type name: int, double, etc.
|
|
string | digest |
| type_digest VARCHAR(32) NOT NULL
|
|
int | dicId |
| dic_id INT NOT NULL, – dictionary id: 0=simple 1=logical 2=classification 3=range 4=partition 5=link
|
|
int | totalEnumId |
| total_enum_id INT NOT NULL, – if total enabled this is enum_value of total item =max+1
|
|
type_dic join to model_type_dic table row.
The documentation for this struct was generated from the following files:
- /home/build_doc/ompp-make-doc/ompp-main/include/libopenm/db/dbMetaRow.h
- db/dbMetaRow.cpp