![]() |
GemaCoreLib
The GeMA Core library
|
A helper class with enums and methods common to GmHdf5ModelWriter & GmHdf5ModelReader. More...
#include <gmHdf5Model.h>

Public Types | |
| enum | DictionaryType { GM_HDF5MODEL_FUNCTIONS , GM_HDF5MODEL_PROPERTYSETS , GM_HDF5MODEL_CELLGROUPS , GM_HDF5MODEL_NODESETS , GM_HDF5MODEL_EDGES , GM_HDF5MODEL_FACES , GM_HDF5MODEL_NUMDICTIONARIES } |
| enum | GroupType { GM_HDF5MODEL_D_GROUP , GM_HDF5MODEL_G_GROUP , GM_HDF5MODEL_GCG_GROUP , GM_HDF5MODEL_GNS_GROUP , GM_HDF5MODEL_GBE_GROUP , GM_HDF5MODEL_GBF_GROUP , GM_HDF5MODEL_ND_GROUP , GM_HDF5MODEL_CD_GROUP , GM_HDF5MODEL_GD_GROUP , GM_HDF5MODEL_BC_GROUP , GM_HDF5MODEL_DS_GROUP , GM_HDF5MODEL_NUMGROUPS , GM_HDF5MODEL_INVALID } |
Public Member Functions | |
| QString | dictionaryTableName (DictionaryType type) const |
| Returns the name on the HDF5 file for the given dictionary type. | |
| GroupType | dictionaryGeometryGroup (DictionaryType type) const |
| Returns the associated geometry group type associated with the dictionary or GM_HDF5MODEL_INVALID if there is none. | |
| QString | groupName (QString meshName, GroupType group, QString subGroupName) const |
| Returns the group name for the given mesh / group type. If type is GM_HDF5MODEL_BC_GROUP or GM_HDF5MODEL_DS_GROUP, the subGroupName should contain the boundary condition / discontinuity set name (if empty, the path to the root bc/ds group will be returned). | |
| QPair< QString, int > | splitAttributeName (QString attrName) const |
| Splits an attribute name formatted as 'attr_name[state]' or 'attr_name' into its components. State will be 0 if missing from the input string. | |
A helper class with enums and methods common to GmHdf5ModelWriter & GmHdf5ModelReader.