FMOPContainer Class Reference
Last update: 16.07.2025a container storing all Field data models More...
Public Types | |
| typedef std::list< FMOPGroup > | TFMOPGroupContainer |
| a container type for FMOPs | |
Public Member Functions | |
| std::vector< string > | elementQuantities () |
| Get ELEMENT_DATA quantities with an existing Field-MOP. More... | |
| eraseElementModel (string quantity, Structure *database) | |
| deletes the respective random field model (group) More... | |
| eraseNodeModel (string quantity, Structure *database) | |
| deletes the respective random field model (group) More... | |
| eraseScalarModel (string quantity, Structure *database) | |
| deletes the respective random field model (group) More... | |
| bool | exists (string group) |
| FMOPGroup | findFMOP (string group) |
| FMOPGroup | findFMOP (string quantity, dataobject_types type) |
| FMOPGroup | findFMOPRef (string group) |
| FMOPGroup | findFMOPRef (string quantity, dataobject_types type) |
| std::vector< string > | nodeQuantities () |
| Get NODE_DATA quantities with an existing Field-MOP. More... | |
| std::vector< string > | scalarQuantities () |
| Get SCALAR_DATA quantities with an existing MOP. More... | |
| writeInternalMOP_OMDBFile (dataobject_types type, string quantity, const ::string path, bool replace_files=true) | |
| writes the OMDB file of the internal MOP of an FMOP to a file More... | |
Detailed Description
a container storing all Field data models
Member Function Documentation
◆ elementQuantities()
| std::vector<string> elementQuantities | ( | ) |
Get ELEMENT_DATA quantities with an existing Field-MOP.
- Returns
- a vector of strings containing all ELEMENT_DATA quantities with an existing Field-MOP
◆ eraseElementModel()
| eraseElementModel | ( | string | quantity, |
| Structure * | database | ||
| ) |
deletes the respective random field model (group)
- Parameters
-
quanity the field quantity of type ELEMENT_DATA for which the field model is to be deleted database if this pointer is not zero, it is used to invoke listeners informing them that this container was changed
- Exceptions
-
std::Exception in case the quantity has no random field model.
◆ eraseNodeModel()
| eraseNodeModel | ( | string | quantity, |
| Structure * | database | ||
| ) |
deletes the respective random field model (group)
- Parameters
-
quanity the field quantity of type NODE_DATA for which the field model is to be deleted database if this pointer is not zero, it is used to invoke listeners informing them that this container was changed
- Exceptions
-
std::Exception in case the quantity has no random field model.
◆ eraseScalarModel()
| eraseScalarModel | ( | string | quantity, |
| Structure * | database | ||
| ) |
deletes the respective random field model (group)
- Parameters
-
quanity the field quantity of type SCALAR_DATA for which the field model is to be deleted database if this pointer is not zero, it is used to invoke listeners informing them that this container was changed
- Exceptions
-
std::Exception in case the quantity has no random field model.
◆ exists()
| bool exists | ( | string | group | ) |
- Returns
- true if the given group ident is already contained
- Parameters
-
group the group ident
◆ findFMOP() [1/2]
| FMOPGroup findFMOP | ( | string | group | ) |
- Returns
- a reference to the group with given ident
- Parameters
-
group the group ident
◆ findFMOP() [2/2]
| FMOPGroup findFMOP | ( | string | quantity, |
| dataobject_types | type | ||
| ) |
- Returns
- a reference to the group to which of the given quantity belongs
- Parameters
-
quantity the quantity ident type the data type of the quantity
◆ findFMOPRef() [1/2]
| FMOPGroup findFMOPRef | ( | string | group | ) |
- Returns
- a non- reference to the group with given ident
- Parameters
-
group the group ident
◆ findFMOPRef() [2/2]
| FMOPGroup findFMOPRef | ( | string | quantity, |
| dataobject_types | type | ||
| ) |
- Returns
- a non- reference to the group to which of the given quantity belongs
- Parameters
-
quantity the quantity ident
◆ nodeQuantities()
| std::vector<string> nodeQuantities | ( | ) |
Get NODE_DATA quantities with an existing Field-MOP.
- Returns
- a vector of strings containing all NODE_DATA quantities with an existing Field-MOP
◆ scalarQuantities()
| std::vector<string> scalarQuantities | ( | ) |
◆ writeInternalMOP_OMDBFile()
| writeInternalMOP_OMDBFile | ( | dataobject_types | type, |
| string | quantity, | ||
| const ::string | path, | ||
| bool | replace_files = true |
||
| ) |
writes the OMDB file of the internal MOP of an FMOP to a file
- Parameters
-
type the data type , e.g. NODE_DATA quantity the quantiytr ident of the field quantity path the output file name replace_files if false, an error is thrown if the file already exists