OpenM++ runtime library (libopenm)
Loading...
Searching...
No Matches
openm::MetaHolder Struct Reference

Holder for model metadata core part (not include model text). More...

#include <metaHolder.h>

Collaboration diagram for openm::MetaHolder:

Public Member Functions

 MetaHolder (void)
 create empty model metadata holder
 
size_t typeEnumsSize (int i_modelId, int i_typeId) const
 return type enums size: number of enums for that type or zero if no enums found (most of built-in types)
 
size_t parameterSize (const ParamDicRow &paramRow) const
 return input parameter size of single sub value: total number of values in the parameter as product of all of dimensions size
 
size_t accumulatorSize (const TableDicRow &i_tableRow) const
 return accumulator size: total number of accumulator values as product of dimensions size, including total item
 

Public Attributes

const ModelDicRow * modelRow
 model_dic row for the model
 
unique_ptr< IModelDicTable > modelTable
 model_dic table rows
 
unique_ptr< ITypeDicTable > typeDic
 type_dic table rows
 
unique_ptr< ITypeEnumLstTable > typeEnumLst
 type_enum_lst table rows
 
unique_ptr< IParamDicTable > paramDic
 param_dic table rows
 
unique_ptr< IParamDimsTable > paramDims
 param_dims table rows
 
unique_ptr< IParamImportTable > paramImport
 model_parameter_import table rows
 
unique_ptr< ITableDicTable > tableDic
 table_dic table rows
 
unique_ptr< ITableDimsTable > tableDims
 table_dims table rows
 
unique_ptr< ITableAccTable > tableAcc
 table_acc table rows
 
unique_ptr< ITableExprTable > tableExpr
 table_expr table rows
 
unique_ptr< ILangLstTable > langLst
 lang_lst table rows
 
unique_ptr< IEntityDicTable > entityDic
 entity_dic table rows
 
unique_ptr< IEntityAttrTable > entityAttr
 entity_attr table rows
 
unique_ptr< IGroupLstTable > groupLst
 group_lst table rows
 
unique_ptr< IGroupPcTable > groupPc
 group_pc table rows
 
unique_ptr< IEntityGroupLstTable > entityGroupLst
 entity_group_lst table rows
 
unique_ptr< IEntityGroupPcTable > entityGroupPc
 entity_group_pc table rows
 
unique_ptr< IRunOptionTable > runOptionTable
 run_option table rows
 

Detailed Description

Holder for model metadata core part (not include model text).


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