OpenM++ runtime library (libopenm)
metaModelHolder.h
Go to the documentation of this file.
1
5// Copyright (c) 2013-2015 OpenM++
6// This code is licensed under the MIT license (see LICENSE.txt for details)
7
8#ifndef OM_META_MODEL_HOLDER_H
9#define OM_META_MODEL_HOLDER_H
10
11using namespace std;
12
13#include "dbMetaRow.h"
14
15namespace openm
16{
19 {
20 public:
23
25 vector<LangLstRow> langLst;
26
28 vector<ModelDicTxtLangRow> modelTxt;
29
31 vector<TypeDicRow> typeDic;
32
34 vector<TypeDicTxtLangRow> typeTxt;
35
37 vector<TypeEnumLstRow> typeEnum;
38
40 vector<TypeEnumTxtLangRow> typeEnumTxt;
41
43 vector<ParamDicRow> paramDic;
44
46 vector<ParamImportRow> paramImport;
47
49 vector<ParamDicTxtLangRow> paramTxt;
50
52 vector<ParamDimsRow> paramDims;
53
55 vector<ParamDimsTxtLangRow> paramDimsTxt;
56
58 vector<TableDicRow> tableDic;
59
61 vector<TableDicTxtLangRow> tableTxt;
62
64 vector<TableDimsRow> tableDims;
65
67 vector<TableDimsTxtLangRow> tableDimsTxt;
68
70 vector<TableAccRow> tableAcc;
71
73 vector<TableAccTxtLangRow> tableAccTxt;
74
76 vector<TableExprRow> tableExpr;
77
79 vector<TableExprTxtLangRow> tableExprTxt;
80
82 vector<EntityDicRow> entityDic;
83
85 vector<EntityDicTxtLangRow> entityTxt;
86
88 vector<EntityAttrRow> entityAttr;
89
91 vector<EntityAttrTxtLangRow> entityAttrTxt;
92
94 vector<GroupLstRow> groupLst;
95
97 vector<GroupTxtLangRow> groupTxt;
98
100 vector<GroupPcRow> groupPc;
101
104
107
109 static constexpr const char * constInstanceMemoryOption = "Memory.ProcessConstant";
110
112 static constexpr const char * constSubMemoryOption = "Memory.SubValueConstant";
113
115 static constexpr const char * popSizeMemoryOption = "Memory.ScaleParameter";
116
118 static constexpr const char * popCoeffMemoryOption = "Memory.ScaleMultiplier";
119
121 static constexpr const char * safetyFactorMemoryOption = "Memory.SafetyMultiplier";
122 };
123}
124
125#endif // OM_META_MODEL_HOLDER_H
OpenM++ data library: db rows of model metadata tables.
openM++ namespace
Definition: log.h:32
std::map< std::string, std::string, LessNoCase > NoCaseMap
map of key-value strings with case neutral key search
Definition: omHelper.h:224
Holder for model metadata db rows.
Definition: metaModelHolder.h:19
static constexpr const char * popSizeMemoryOption
memory prediction model profile option: parameter name containing population size
Definition: metaModelHolder.h:115
vector< TableExprRow > tableExpr
table_expr table rows
Definition: metaModelHolder.h:76
static constexpr const char * safetyFactorMemoryOption
memory prediction model profile option: value of the option memory_safety_factor
Definition: metaModelHolder.h:121
static constexpr const char * popCoeffMemoryOption
memory prediction model profile option: value of the option memory_MB_popsize_coefficient
Definition: metaModelHolder.h:118
vector< EntityAttrRow > entityAttr
entity_attr table rows
Definition: metaModelHolder.h:88
vector< TableExprTxtLangRow > tableExprTxt
table_expr_txt table rows and language code
Definition: metaModelHolder.h:79
vector< TableAccTxtLangRow > tableAccTxt
table_acc_txt table rows and language code
Definition: metaModelHolder.h:73
static constexpr const char * constSubMemoryOption
memory prediction model profile option: value of the option memory_MB_constant_per_sub
Definition: metaModelHolder.h:112
vector< EntityAttrTxtLangRow > entityAttrTxt
entity_attr_txt table rows and language code
Definition: metaModelHolder.h:91
vector< TypeDicTxtLangRow > typeTxt
type_dic_txt table rows and language code
Definition: metaModelHolder.h:34
vector< ParamImportRow > paramImport
model_parameter_import table rows
Definition: metaModelHolder.h:46
NoCaseMap profileRows
default model proflie option rows: key, value pairs
Definition: metaModelHolder.h:106
vector< ParamDicRow > paramDic
parameter_dic table rows
Definition: metaModelHolder.h:43
string profileName
default model profile name
Definition: metaModelHolder.h:103
vector< TableDicTxtLangRow > tableTxt
table_dic_txt table rows and language code
Definition: metaModelHolder.h:61
vector< EntityDicRow > entityDic
entity_dic table rows
Definition: metaModelHolder.h:82
vector< TableAccRow > tableAcc
table_acc table rows
Definition: metaModelHolder.h:70
vector< TableDicRow > tableDic
table_dic table rows
Definition: metaModelHolder.h:58
vector< TableDimsTxtLangRow > tableDimsTxt
table_dims_txt table rows and language code
Definition: metaModelHolder.h:67
vector< ModelDicTxtLangRow > modelTxt
model_dic_txt table rows and language code
Definition: metaModelHolder.h:28
vector< GroupPcRow > groupPc
group_pc table rows
Definition: metaModelHolder.h:100
vector< ParamDimsRow > paramDims
parameter_dims table rows
Definition: metaModelHolder.h:52
vector< LangLstRow > langLst
lang_lst table rows
Definition: metaModelHolder.h:25
vector< ParamDimsTxtLangRow > paramDimsTxt
parameter_dims_txt table rows and language code
Definition: metaModelHolder.h:55
vector< TypeEnumLstRow > typeEnum
type_enum_lst table rows
Definition: metaModelHolder.h:37
vector< GroupLstRow > groupLst
group_lst table rows
Definition: metaModelHolder.h:94
ModelDicLangRow modelDic
model_dic table row and default model language code
Definition: metaModelHolder.h:22
vector< TypeEnumTxtLangRow > typeEnumTxt
type_enum_txt table rows and language code
Definition: metaModelHolder.h:40
vector< TypeDicRow > typeDic
type_dic table rows
Definition: metaModelHolder.h:31
vector< TableDimsRow > tableDims
table_dims table rows
Definition: metaModelHolder.h:64
vector< ParamDicTxtLangRow > paramTxt
parameter_dic_txt table rows and language code
Definition: metaModelHolder.h:49
static constexpr const char * constInstanceMemoryOption
memory prediction model profile option: value of the option memory_MB_constant_per_instance
Definition: metaModelHolder.h:109
vector< EntityDicTxtLangRow > entityTxt
entity_dic_txt table rows and language code
Definition: metaModelHolder.h:85
vector< GroupTxtLangRow > groupTxt
group_txt table rows and language code
Definition: metaModelHolder.h:97
model_dic table row and default model language code.
Definition: dbMetaRow.h:161