32 for (IRowBaseVec::const_iterator rowIt = i_rowVec.begin(); rowIt != i_rowVec.end(); ++rowIt) {
33 vec.push_back( *
dynamic_cast<TRow *
>(rowIt->get()) );
43 typedef function<bool(
const TRow & i_dbRow)>
RowEqual;
57 vector<TRow>
rows(
void)
const
60 for (IRowBaseVec::const_iterator rowIt =
rowsCRef().cbegin(); rowIt !=
rowsCRef().cend(); ++rowIt) {
61 vec.push_back(*
dynamic_cast<TRow *
>(rowIt->get()));
69 return dynamic_cast<TRow *
>(!
rowsCRef().empty() ?
rowsCRef()[0].get() :
nullptr);
76 for (IRowBaseVec::const_iterator rowIt =
rowsCRef().cbegin(); rowIt !=
rowsCRef().cend(); ++rowIt) {
77 if (i_cmp(*
dynamic_cast<TRow *
>(rowIt->get()))) vec.push_back(*
dynamic_cast<TRow *
>(rowIt->get()));
86 const TRow *
byIndex(IRowBaseVec::difference_type i_index)
const
88 return (0 <= i_index && i_index <
rowCount()) ?
dynamic_cast<TRow *
>(
rowsCRef()[i_index].get()) :
nullptr;
92 IRowBaseVec::difference_type
indexOf(
RowEqual i_cmp, IRowBaseVec::difference_type i_startPos = 0)
const
94 if (i_startPos >= 0) {
95 for (IRowBaseVec::size_type pos = i_startPos; pos <
rowsCRef().size(); pos++) {
96 if (i_cmp(*
dynamic_cast<TRow *
>(
rowsCRef()[pos].get())))
return pos;
105 IRowBaseVec::size_type nCount = 0;
106 for (IRowBaseVec::const_iterator rowIt =
rowsCRef().cbegin(); rowIt !=
rowsCRef().cend(); ++rowIt) {
107 if (i_cmp(*
dynamic_cast<TRow *
>(rowIt->get()))) nCount++;
116 if (i_dbExec ==
nullptr)
throw DbException(
"invalid (NULL) database connection");
119 stable_sort(vec.begin(), vec.end(), TRow::keyLess);
126 IRowBaseVec::const_iterator rowIt = lower_bound(
rowsCRef().cbegin(),
rowsCRef().cend(), i_row, TRow::keyLess);
127 return dynamic_cast<TRow *
>((rowIt !=
rowsCRef().cend() && TRow::keyEqual(*rowIt, i_row)) ? rowIt->get() :
nullptr);
238 virtual const ModelWordRow *
byKey(
int i_modelId,
int i_langId,
const string & i_code)
const = 0;
308 virtual vector<TypeEnumLstRow>
byModelId(
int i_modelId)
const = 0;
311 virtual vector<TypeEnumLstRow>
byModelIdTypeId(
int i_modelId,
int i_typeId)
const = 0;
362 virtual vector<ParamDicRow>
byModelId(
int i_modelId)
const = 0;
390 virtual vector<ParamImportRow>
byModelId(
int i_modelId)
const = 0;
486 virtual vector<TableDicRow>
byModelId(
int i_modelId)
const = 0;
586 virtual vector<TableAccRow>
byModelId(
int i_modelId)
const = 0;
637 virtual vector<TableExprRow>
byModelId(
int i_modelId)
const = 0;
688 virtual vector<EntityDicRow>
byModelId(
int i_modelId)
const = 0;
787 virtual vector<GroupLstRow>
byModelId(
int i_modelId,
bool i_isParam)
const = 0;
832 virtual const GroupPcRow *
byKey(
int i_modelId,
int i_groupId,
int i_chidPos)
const = 0;
835 virtual vector<GroupPcRow>
byModelId(
int i_modelId)
const = 0;
838 virtual vector<int>
groupLeafs(
int i_modelId,
int i_groupId)
const = 0;
881 virtual vector<ProfileOptionRow>
byName(
const string & i_name)
const = 0;
900 static vector<RunLstRow>
select(
IDbExec * i_dbExec,
int i_modelId = 0);
903 static vector<RunLstRow>
byKey(
IDbExec * i_dbExec,
int i_runId);
928 virtual bool isExist(
int i_runId,
const char * i_key)
const noexcept = 0;
931 virtual string strValue(
int i_runId,
const char * i_key,
const string & i_default =
"") const noexcept = 0;
934 virtual
bool boolValue(
int i_runId, const
char * i_key) const noexcept = 0;
945 virtual
int intValue(
int i_runId, const
char * i_key,
int i_default) const noexcept = 0;
948 virtual
long long longValue(
int i_runId, const
char * i_key,
long long i_default) const noexcept = 0;
951 virtual
double doubleValue(
int i_runId, const
char * i_key,
double i_default) const noexcept = 0;
970 static vector<WorksetLstRow> select(
IDbExec * i_dbExec,
int i_modelId = 0);
973 static vector<WorksetLstRow>
byKey(
IDbExec * i_dbExec,
int i_setId);
986 static vector<WorksetTxtRow> select(
IDbExec * i_dbExec,
int i_setId,
int i_langId = -1);
989 static vector<WorksetTxtRow>
byKey(
IDbExec * i_dbExec,
int i_setId,
int i_langId);
1002 static vector<WorksetParamRow> select(
IDbExec * i_dbExec,
int i_setId = 0);
1005 static vector<WorksetParamRow>
byKey(
IDbExec * i_dbExec,
int i_setId,
int i_paramId);
1019 static vector<WorksetParamTxtRow> select(
IDbExec * i_dbExec,
int i_setId = 0,
int i_langId = -1);
1022 static vector<WorksetParamTxtRow>
byKey(
IDbExec * i_dbExec,
int i_setId,
int i_paramId,
int i_langId);
1036 static vector<TaskLstRow> select(
IDbExec * i_dbExec,
int i_modelId = 0);
1039 static vector<TaskLstRow>
byKey(
IDbExec * i_dbExec,
int i_taskId);
1052 static vector<TaskTxtRow> select(
IDbExec * i_dbExec,
int i_langId = -1);
1055 static vector<TaskTxtRow>
byKey(
IDbExec * i_dbExec,
int i_taskId,
int i_langId);
1068 static vector<TaskSetRow> select(
IDbExec * i_dbExec,
int i_taskId = 0);
1071 static vector<TaskSetRow>
byKey(
IDbExec * i_dbExec,
int i_taskId,
int i_setId);
1084 static vector<TaskRunLstRow> select(
IDbExec * i_dbExec,
int i_taskId = 0);
1087 static vector<TaskRunLstRow>
byKey(
IDbExec * i_dbExec,
int i_taskRunId);
1100 static vector<TaskRunSetRow> select(
IDbExec * i_dbExec,
int i_taskRunId = 0);
1103 static vector<TaskRunSetRow>
byKey(
IDbExec * i_dbExec,
int i_taskRunId,
int i_runId);
database connection wrapper to execute sql commands.
Definition: dbExec.h:21
virtual IRowBaseVec selectRowVector(const string &i_sql, const IRowAdapter &i_adapter)=0
select vector of rows, each row created and field values set by row adapter.
row factory and setter interface to select row from database
Definition: dbCommon.h:45
OpenM++ data library: public interface.
openM++ namespace
Definition: log.h:32
OpenmException< 4000, dbUnknownErrorMessage > DbException
db-exception
Definition: dbCommon.h:41
std::unique_ptr< IRowBase > IRowBaseUptr
unique pointer to db row
Definition: omHelper.h:236
std::vector< IRowBaseUptr > IRowBaseVec
db rows: vector of unique pointers to db row
Definition: omHelper.h:239
entity_attr table row.
Definition: dbMetaRow.h:1294
entity_attr_txt table row.
Definition: dbMetaRow.h:1340
entity_dic table row.
Definition: dbMetaRow.h:1200
entity_dic_txt table row.
Definition: dbMetaRow.h:1242
group_lst table row.
Definition: dbMetaRow.h:1396
group_pc table row.
Definition: dbMetaRow.h:1487
group_txt table row.
Definition: dbMetaRow.h:1435
entity_attr table public interface.
Definition: dbMetaTable.h:725
static IEntityAttrTable * create(IDbExec *i_dbExec, int i_modelId=0)
create new table object and load table rows sorted by unique key: model id, model entity id,...
Definition: entityAttrTable.cpp:92
virtual IRowBaseVec & rowsRef(void)=0
get reference to list of all table rows.
virtual vector< EntityAttrRow > byModelIdEntityId(int i_modelId, int i_entityId) const =0
get list of rows by model id and entity id.
virtual const EntityAttrRow * byKey(int i_modelId, int i_entityId, int i_attrId) const =0
binary search row by unique key: model id, model entity id, attribute id; return NULL if not found.
entity_attr_txt table public interface.
Definition: dbMetaTable.h:750
virtual const EntityAttrTxtRow * byKey(int i_modelId, int i_entityId, int i_attrId, int i_langId) const =0
binary search row by unique key: model id, model entity id, attribute id, language id; return NULL if...
static IEntityAttrTxtTable * create(IDbExec *i_dbExec, int i_modelId=0, int i_langId=-1)
create new table object and load table rows sorted by unique key: model id, model entity id,...
Definition: entityAttrTxtTable.cpp:89
virtual IRowBaseVec & rowsRef(void)=0
get reference to list of all table rows.
entity_dic table public interface.
Definition: dbMetaTable.h:674
virtual const EntityDicRow * byModelIdName(int i_modelId, const string &i_name) const =0
get first row by model id and entity name or NULL if not found.
virtual const EntityDicRow * byKey(int i_modelId, int i_entityId) const =0
binary search row by unique key: model id, model entity id, return NULL if not found.
static IEntityDicTable * create(IDbExec *i_dbExec, int i_modelId=0)
create new table object and load table rows sorted by unique key: model id, model entity id.
Definition: entityDicTable.cpp:91
virtual vector< EntityDicRow > byModelId(int i_modelId) const =0
get list of rows by model id.
virtual IRowBaseVec & rowsRef(void)=0
get reference to list of all table rows.
entity_dic_txt table public interface.
Definition: dbMetaTable.h:702
virtual const EntityDicTxtRow * byKey(int i_modelId, int i_entityId, int i_langId) const =0
binary search row by unique key: model id, model entity id, language id; return NULL if not found.
static IEntityDicTxtTable * create(IDbExec *i_dbExec, int i_modelId=0, int i_langId=-1)
create new table object and load table rows sorted by unique key: model id, model entity id,...
Definition: entityDicTxtTable.cpp:85
virtual IRowBaseVec & rowsRef(void)=0
get reference to list of all table rows.
group_lst table public interface.
Definition: dbMetaTable.h:773
static IGroupLstTable * create(IDbExec *i_dbExec, int i_modelId=0)
create new table object and load table rows sorted by primary key: model id and group id.
Definition: groupLstTable.cpp:88
virtual IRowBaseVec & rowsRef(void)=0
get reference to list of all table rows.
virtual vector< GroupLstRow > byModelId(int i_modelId, bool i_isParam) const =0
get list of rows by model id and is parameter group flag.
virtual const GroupLstRow * byKey(int i_modelId, int i_groupId) const =0
binary search row by primary key: model id and group id, return NULL if not found.
group_pc table public interface.
Definition: dbMetaTable.h:821
virtual IRowBaseVec & rowsRef(void)=0
get reference to list of all table rows.
virtual vector< GroupPcRow > byModelId(int i_modelId) const =0
get list of rows by model id.
static IGroupPcTable * create(IDbExec *i_dbExec, int i_modelId=0)
create new table object and load table rows sorted by primary key: model id, group id,...
Definition: groupPcTable.cpp:91
virtual vector< int > groupLeafs(int i_modelId, int i_groupId) const =0
get list of parameter id's or table id's for the group: list of bottom level group members.
virtual const GroupPcRow * byKey(int i_modelId, int i_groupId, int i_chidPos) const =0
binary search row by primary key: model id, group id, child position; return NULL if not found.
group_txt table public interface.
Definition: dbMetaTable.h:798
virtual IRowBaseVec & rowsRef(void)=0
get reference to list of all table rows.
virtual const GroupTxtRow * byKey(int i_modelId, int i_groupId, int i_langId) const =0
binary search row by primary key: model id, group id, language id; return NULL if not found.
static IGroupTxtTable * create(IDbExec *i_dbExec, int i_modelId=0, int i_langId=-1)
create new table object and load table rows sorted by primary key: model id, group id,...
Definition: groupTxtTable.cpp:85
lang_lst table public interface.
Definition: dbMetaTable.h:133
virtual const LangLstRow * byKey(int i_langId) const =0
binary search row by primary key: language id, return NULL if not found.
static ILangLstTable * create(IDbExec *i_dbExec)
create new table object and load table rows sorted by primary key: language id.
Definition: langLstTable.cpp:82
virtual const LangLstRow * byCode(const string &i_code) const =0
get first row by language code or NULL if not found.
virtual IRowBaseVec & rowsRef(void)=0
get reference to list of all table rows.
lang_word table public interface.
Definition: dbMetaTable.h:154
static ILangWordTable * create(IDbExec *i_dbExec, int i_langId=-1)
create new table object and load table rows sorted by primary key: language id and word code.
Definition: langWordTable.cpp:79
virtual IRowBaseVec & rowsRef(void)=0
get reference to list of all table rows.
virtual const LangWordRow * byKey(int i_langId, const string &i_code) const =0
binary search row by primary key: language id and word code, return NULL if not found.
model_dic table public interface.
Definition: dbMetaTable.h:175
virtual const ModelDicRow * byNameDigest(const string &i_name, const string &i_digest) const =0
get find first row by model name and digest or NULL if not found.
static IModelDicTable * create(IDbExec *i_dbExec, const char *i_name=nullptr, const char *i_digest=nullptr)
create new table object and load table rows sorted by primary key: model id.
Definition: modelDicTable.cpp:102
virtual IRowBaseVec & rowsRef(void)=0
get reference to list of all table rows.
virtual const ModelDicRow * byKey(int i_modelId) const =0
binary search row by primary key: model id, return NULL if not found.
model_dic_txt table public interface.
Definition: dbMetaTable.h:203
virtual const ModelDicTxtRow * byKey(int i_modelId, int i_langId) const =0
binary search row by primary key: model id and language, return NULL if not found.
static IModelDicTxtTable * create(IDbExec *i_dbExec, int i_modelId=0, int i_langId=-1)
create new table object and load table rows sorted by primary key: model id and language id.
Definition: modelDicTxtTable.cpp:81
virtual IRowBaseVec & rowsRef(void)=0
get reference to list of all table rows.
model_word table public interface.
Definition: dbMetaTable.h:226
virtual IRowBaseVec & rowsRef(void)=0
get reference to list of all table rows.
virtual const ModelWordRow * byKey(int i_modelId, int i_langId, const string &i_code) const =0
binary search row by primary key: model id, language and code, return NULL if not found.
static IModelWordTable * create(IDbExec *i_dbExec, int i_modelId=0, int i_langId=-1)
create new table object and load table rows sorted by primary key: model id, language id,...
Definition: modelWordTable.cpp:81
parameter_dic table public interface.
Definition: dbMetaTable.h:348
static IParamDicTable * create(IDbExec *i_dbExec, int i_modelId=0)
create new table object and load table rows sorted by unique key: model id and model parameter id.
Definition: paramDicTable.cpp:123
virtual IRowBaseVec & rowsRef(void)=0
get reference to list of all table rows.
virtual const ParamDicRow * byKey(int i_modelId, int i_paramId) const =0
binary search row by unique key: model id and model parameter id, return NULL if not found.
virtual vector< ParamDicRow > byModelId(int i_modelId) const =0
get list of rows by model id.
virtual const ParamDicRow * byModelIdName(int i_modelId, const string &i_name) const =0
get first row by model id and parameter name or NULL if not found.
parameter_dic_txt table public interface.
Definition: dbMetaTable.h:401
virtual const ParamDicTxtRow * byKey(int i_modelId, int i_paramId, int i_langId) const =0
binary search row by unique key: model id, model parameter id, language id; return NULL if not found.
static IParamDicTxtTable * create(IDbExec *i_dbExec, int i_modelId=0, int i_langId=-1)
create new table object and load table rows sorted by unique key: model id, model parameter id,...
Definition: paramDicTxtTable.cpp:85
virtual IRowBaseVec & rowsRef(void)=0
get reference to list of all table rows.
parameter_dims table public interface.
Definition: dbMetaTable.h:424
virtual const ParamDimsRow * byKey(int i_modelId, int i_paramId, int i_dimId) const =0
binary search row by unique key: model id, model parameter id, dimension id; return NULL if not found...
virtual IRowBaseVec & rowsRef(void)=0
get reference to list of all table rows.
virtual vector< ParamDimsRow > byModelIdParamId(int i_modelId, int i_paramId) const =0
get list of rows by model id and parameter id.
static IParamDimsTable * create(IDbExec *i_dbExec, int i_modelId=0)
create new table object and load table rows sorted by unique key: model id, model parameter id,...
Definition: paramDimsTable.cpp:88
parameter_dims_txt table public interface.
Definition: dbMetaTable.h:449
static IParamDimsTxtTable * create(IDbExec *i_dbExec, int i_modelId=0, int i_langId=-1)
create new table object and load table rows sorted by unique key: model id, model parameter id,...
Definition: paramDimsTxtTable.cpp:89
virtual const ParamDimsTxtRow * byKey(int i_modelId, int i_paramId, int i_dimId, int i_langId) const =0
binary search row by unique key: model id, model parameter id, dimension id, language id; return NULL...
virtual IRowBaseVec & rowsRef(void)=0
get reference to list of all table rows.
model_parameter_import table public interface.
Definition: dbMetaTable.h:376
virtual IRowBaseVec & rowsRef(void)=0
get reference to list of all table rows.
virtual vector< ParamImportRow > byModelId(int i_modelId) const =0
get list of rows by model id.
static IParamImportTable * create(IDbExec *i_dbExec, int i_modelId=0)
create new table object and load table rows sorted by unique key: model id, model parameter id.
Definition: paramImportTable.cpp:91
virtual const ParamImportRow * byKey(int i_modelId, int i_paramId) const =0
binary search row by unique key: model id, model parameter id, return NULL if not found.
profile_lst table public interface.
Definition: dbMetaTable.h:849
virtual const ProfileLstRow * byKey(const string &i_name) const =0
binary search row by primary key: profile name, return NULL if not found.
virtual IRowBaseVec & rowsRef(void)=0
get reference to list of all table rows.
static IProfileLstTable * create(IDbExec *i_dbExec)
create new table object and load table rows sorted by primary key: profile name.
Definition: profileLstTable.cpp:71
profile_option table public interface.
Definition: dbMetaTable.h:867
virtual vector< ProfileOptionRow > byName(const string &i_name) const =0
get list of rows by profile name.
static IProfileOptionTable * create(IDbExec *i_dbExec, const string &i_name="")
create new table object and load table rows sorted by primary key: profile name and option key.
Definition: profileOptionTable.cpp:81
virtual IRowBaseVec & rowsRef(void)=0
get reference to list of all table rows.
virtual const ProfileOptionRow * byKey(const string &i_name, const string &i_key) const =0
binary search row by primary key: profile name and option key, return NULL if not found.
run_lst table public interface.
Definition: dbMetaTable.h:892
static string digestRunMeta(const string &i_modelDigest, const RunLstRow &i_runRow)
calculate run metadata digest: model digest, run name, sub count, created date-time,...
Definition: runLstTable.cpp:139
static vector< RunLstRow > byKey(IDbExec *i_dbExec, int i_runId)
select table row by primary key: run id.
Definition: runLstTable.cpp:114
static string digestRunValue(IDbExec *i_dbExec, int i_modelId, int i_runId)
calculate run value digest, including run parameters and output table values digest
Definition: runLstTable.cpp:150
static vector< RunLstRow > select(IDbExec *i_dbExec, int i_modelId=0)
select table rows sorted by primary key: run id.
Definition: runLstTable.cpp:106
run_option table public interface.
Definition: dbMetaTable.h:914
virtual string strValue(int i_runId, const char *i_key, const string &i_default="") const noexcept=0
return string value by primary key (run id, option key) or default value if not found.
virtual bool isExist(int i_runId, const char *i_key) const noexcept=0
return true if primary key (run id, option key) found.
virtual int boolValueToInt(int i_runId, const char *i_key) const noexcept=0
search for boolean value by primary key (run id, option key) and return one of: return 1 if key foun...
virtual double doubleValue(int i_runId, const char *i_key, double i_default) const noexcept=0
return double value by primary key (run id, option key) or default if not found or can not be convert...
virtual long long longValue(int i_runId, const char *i_key, long long i_default) const noexcept=0
return long value by primary key (run id, option key) or default if not found or can not be converted...
virtual bool boolValue(int i_runId, const char *i_key) const noexcept=0
return boolean value by primary key (run id, option key) or false if not found or value not "yes",...
virtual IRowBaseVec & rowsRef(void)=0
get reference to list of all table rows.
static IRunOptionTable * create(IDbExec *i_dbExec, int i_runId=0)
create new table object and load table rows sorted by primary key: run id and option key.
Definition: runOptionTable.cpp:103
virtual const RunOptionRow * byKey(int i_runId, const string &i_key) const =0
binary search row by primary key: run id and option key, return NULL if not found.
virtual int intValue(int i_runId, const char *i_key, int i_default) const noexcept=0
return int value by primary key (run id, option key) or default if not found or can not be converted ...
table_acc table public interface.
Definition: dbMetaTable.h:571
virtual const TableAccRow * byKey(int i_modelId, int i_tableId, int i_accId) const =0
binary search row by unique key: model id, model table id, accumulator id; return NULL if not found.
virtual vector< TableAccRow > byModelId(int i_modelId) const =0
get list of rows by model id.
static ITableAccTable * create(IDbExec *i_dbExec, int i_modelId=0, bool i_isIncludeDerived=false)
create new table object and load table rows sorted by unique key: model id, model table id,...
Definition: tableAccTable.cpp:99
virtual vector< TableAccRow > byModelIdTableId(int i_modelId, int i_tableId) const =0
get list of rows by model id and table id.
virtual IRowBaseVec & rowsRef(void)=0
get reference to list of all table rows.
table_acc_txt table public interface.
Definition: dbMetaTable.h:600
virtual IRowBaseVec & rowsRef(void)=0
get reference to list of all table rows.
static ITableAccTxtTable * create(IDbExec *i_dbExec, int i_modelId=0, int i_langId=-1)
create new table object and load table rows sorted by unique key: model id, model table id,...
Definition: tableAccTxtTable.cpp:89
virtual const TableAccTxtRow * byKey(int i_modelId, int i_tableId, int i_accId, int i_langId) const =0
binary search row by unique key: model id, model table id, accumulator id, language id; return NULL i...
table_dic table public interface.
Definition: dbMetaTable.h:472
virtual vector< TableDicRow > byModelId(int i_modelId) const =0
get list of rows by model id.
virtual const TableDicRow * byKey(int i_modelId, int i_tableId) const =0
binary search row by unique key: model id, model table id, return NULL if not found.
virtual IRowBaseVec & rowsRef(void)=0
get reference to list of all table rows.
static ITableDicTable * create(IDbExec *i_dbExec, int i_modelId=0)
create new table object and load table rows sorted by unique key: model id, model table id.
Definition: tableDicTable.cpp:127
virtual const TableDicRow * byModelIdName(int i_modelId, const string &i_name) const =0
get first row by model id and table name or NULL if not found.
table_dic_txt table public interface.
Definition: dbMetaTable.h:500
static ITableDicTxtTable * create(IDbExec *i_dbExec, int i_modelId=0, int i_langId=-1)
create new table object and load table rows sorted by unique key: model id, model table id,...
Definition: tableDicTxtTable.cpp:93
virtual IRowBaseVec & rowsRef(void)=0
get reference to list of all table rows.
virtual const TableDicTxtRow * byKey(int i_modelId, int i_tableId, int i_langId) const =0
binary search row by unique key: model id, model table id, language id; return NULL if not found.
table_dims table public interface.
Definition: dbMetaTable.h:523
static ITableDimsTable * create(IDbExec *i_dbExec, int i_modelId=0)
create new table object and load table rows sorted by unique key: model id, model table id,...
Definition: tableDimsTable.cpp:96
virtual vector< TableDimsRow > byModelIdTableId(int i_modelId, int i_tableId) const =0
get list of rows by model id and table id.
virtual const TableDimsRow * byKey(int i_modelId, int i_tableId, int i_dimId) const =0
binary search row by unique key: model id, model table id, dimension id; return NULL if not found.
virtual IRowBaseVec & rowsRef(void)=0
get reference to list of all table rows.
table_dims_txt table public interface.
Definition: dbMetaTable.h:548
virtual const TableDimsTxtRow * byKey(int i_modelId, int i_tableId, int i_dimId, int i_langId) const =0
binary search row by unique key: model id, model table id, dimension id, language id; return NULL if ...
virtual IRowBaseVec & rowsRef(void)=0
get reference to list of all table rows.
static ITableDimsTxtTable * create(IDbExec *i_dbExec, int i_modelId=0, int i_langId=-1)
create new table object and load table rows sorted by unique key: model id, model table id,...
Definition: tableDimsTxtTable.cpp:89
table_expr table public interface.
Definition: dbMetaTable.h:623
static ITableExprTable * create(IDbExec *i_dbExec, int i_modelId=0)
create new table object and load table rows sorted by unique key: model id, model table id,...
Definition: tableExprTable.cpp:99
virtual vector< TableExprRow > byModelIdTableId(int i_modelId, int i_tableId) const =0
get list of rows by model id and table id.
virtual const TableExprRow * byKey(int i_modelId, int i_tableId, int i_exprId) const =0
binary search row by unique key: model id, model table id, expr id; return NULL if not found.
virtual vector< TableExprRow > byModelId(int i_modelId) const =0
get list of rows by model id.
virtual IRowBaseVec & rowsRef(void)=0
get reference to list of all table rows.
table_expr_txt table public interface.
Definition: dbMetaTable.h:651
static ITableExprTxtTable * create(IDbExec *i_dbExec, int i_modelId=0, int i_langId=-1)
create new table object and load table rows sorted by unique key: model id, model table id,...
Definition: tableExprTxtTable.cpp:89
virtual IRowBaseVec & rowsRef(void)=0
get reference to list of all table rows.
virtual const TableExprTxtRow * byKey(int i_modelId, int i_tableId, int i_exprId, int i_langId) const =0
binary search row by unique key: model id, model table id, expr id, language id; return NULL if not f...
task_lst table public interface.
Definition: dbMetaTable.h:1028
task_run_lst table public interface.
Definition: dbMetaTable.h:1076
task_run_set table public interface.
Definition: dbMetaTable.h:1092
task_set table public interface.
Definition: dbMetaTable.h:1060
task_txt table public interface.
Definition: dbMetaTable.h:1044
type_dic table public interface.
Definition: dbMetaTable.h:249
virtual IRowBaseVec & rowsRef(void)=0
get reference to list of all table rows.
static ITypeDicTable * create(IDbExec *i_dbExec, int i_modelId=0)
create new table object and load table rows sorted by primary key: type_hid.
Definition: typeDicTable.cpp:89
virtual const TypeDicRow * byKey(int i_modelId, int i_typeId) const =0
binary search row by unique key: model id, model type id, return NULL if not found.
type_dic_txt table public interface.
Definition: dbMetaTable.h:271
virtual const TypeDicTxtRow * byKey(int i_modelId, int i_typeId, int i_langId) const =0
binary search row by unique key: model id, model type id, language id; return NULL if not found.
static ITypeDicTxtTable * create(IDbExec *i_dbExec, int i_modelId=0, int i_langId=-1)
create new table object and load table rows sorted by unique key: model id, model type id,...
Definition: typeDicTxtTable.cpp:85
virtual IRowBaseVec & rowsRef(void)=0
get reference to list of all table rows.
type_enum_lst table public interface.
Definition: dbMetaTable.h:294
virtual IRowBaseVec & rowsRef(void)=0
get reference to list of all table rows.
static ITypeEnumLstTable * create(IDbExec *i_dbExec, int i_modelId=0)
create new table object and load table rows sorted by unique key: model id, model type id,...
Definition: typeEnumLstTable.cpp:90
virtual vector< TypeEnumLstRow > byModelId(int i_modelId) const =0
get list of rows by model id.
virtual const TypeEnumLstRow * byName(int i_modelId, int i_typeId, const char *i_name) const =0
find row by unique key: model id, model type id, enum name.
virtual vector< TypeEnumLstRow > byModelIdTypeId(int i_modelId, int i_typeId) const =0
get list of rows by model id, model type id.
virtual const TypeEnumLstRow * byKey(int i_modelId, int i_typeId, int i_enumId) const =0
binary search row by unique key: model id, model type id, enum id return NULL if not found.
type_enum_txt table public interface.
Definition: dbMetaTable.h:325
static ITypeEnumTxtTable * create(IDbExec *i_dbExec, int i_modelId=0, int i_langId=-1)
create new table object and load table rows sorted by unique key: model id, model type id,...
Definition: typeEnumTxtTable.cpp:89
virtual const TypeEnumTxtRow * byKey(int i_modelId, int i_typeId, int i_enumId, int i_langId) const =0
binary search row by unique key: model id, model type id, enum id, language id; return NULL if not fo...
virtual IRowBaseVec & rowsRef(void)=0
get reference to list of all table rows.
workset_lst table public interface.
Definition: dbMetaTable.h:962
workset_parameter table public interface.
Definition: dbMetaTable.h:994
workset_parameter_txt table public interface.
Definition: dbMetaTable.h:1010
workset_txt table public interface.
Definition: dbMetaTable.h:978
lang_lst table row.
Definition: dbMetaRow.h:37
lang_word table row.
Definition: dbMetaRow.h:81
model_dic table row.
Definition: dbMetaRow.h:112
model_dic_txt table row.
Definition: dbMetaRow.h:168
model_word table row.
Definition: dbMetaRow.h:216
parameter_dic join to model_parameter_dic table row.
Definition: dbMetaRow.h:473
parameter_dic_txt join to model_parameter_dic table row.
Definition: dbMetaRow.h:590
parameter_dims join to model_parameter_dic table row.
Definition: dbMetaRow.h:642
parameter_dims_txt join to model_parameter_dic table row.
Definition: dbMetaRow.h:685
parameter_dic join to model_parameter_import table row.
Definition: dbMetaRow.h:547
profile_lst table row.
Definition: dbMetaRow.h:1526
profile_option table row.
Definition: dbMetaRow.h:1547
run_lst table row.
Definition: dbMetaRow.h:1578
run_option table row.
Definition: dbMetaRow.h:1644
table_acc table row.
Definition: dbMetaRow.h:985
table_acc_txt table row.
Definition: dbMetaRow.h:1038
table_dic table row.
Definition: dbMetaRow.h:741
table_dic_txt table row.
Definition: dbMetaRow.h:819
table_dims table row.
Definition: dbMetaRow.h:879
table_dims_txt table row.
Definition: dbMetaRow.h:929
table_expr table row.
Definition: dbMetaRow.h:1094
table_expr_txt table row.
Definition: dbMetaRow.h:1144
type_dic join to model_type_dic table row.
Definition: dbMetaRow.h:264
type_dic_txt join to model_type_dic table row.
Definition: dbMetaRow.h:330
type_enum_lst join to model_type_dic table row.
Definition: dbMetaRow.h:382
type_enum_txt join to model_type_dic table row.
Definition: dbMetaRow.h:417
workset_lst table row.
Definition: dbMetaRow.h:1674