    

 ## On this page

  

 

 # FMOPContainer Class Reference

 Last update: 16.07.2025 

a container storing all Field data models [More...](class_f_m_o_p_container.xhtml#details)

## <a name="pub-types"></a>Public Types

<a id="a24ac79572d57183dbf4b55635224508d"></a>typedef std::list&lt; [FMOPGroup](class_f_m_o_p_group.xhtml) &gt; [TFMOPGroupContainer](class_f_m_o_p_container.xhtml#a24ac79572d57183dbf4b55635224508d) a container type for FMOPs   
 ## <a name="pub-methods"></a>Public Member Functions

std::vector&lt; string &gt; [elementQuantities](class_f_m_o_p_container.xhtml#ae7760bd8a3d244dc92dfafd9148fa46b) () Get ELEMENT\_DATA quantities with an existing Field-MOP. [More...](#ae7760bd8a3d244dc92dfafd9148fa46b)  
  [eraseElementModel](class_f_m_o_p_container.xhtml#a3ba4c3b5e20898cf6851b3bdd9ed6398) (string quantity, [Structure](class_structure.xhtml) \*[database](group__data.xhtml#gaebcac3a2836ec9fdf2e47bd812994b6b)) deletes the respective random field model (group) [More...](#a3ba4c3b5e20898cf6851b3bdd9ed6398)  
  [eraseNodeModel](class_f_m_o_p_container.xhtml#a5ec6e90bf0b133f3d5abe7c74d8872df) (string quantity, [Structure](class_structure.xhtml) \*[database](group__data.xhtml#gaebcac3a2836ec9fdf2e47bd812994b6b)) deletes the respective random field model (group) [More...](#a5ec6e90bf0b133f3d5abe7c74d8872df)  
  [eraseScalarModel](class_f_m_o_p_container.xhtml#a5afabc57c34ea9e5260d5cfde030cf2e) (string quantity, [Structure](class_structure.xhtml) \*[database](group__data.xhtml#gaebcac3a2836ec9fdf2e47bd812994b6b)) deletes the respective random field model (group) [More...](#a5afabc57c34ea9e5260d5cfde030cf2e)  
 bool [exists](class_f_m_o_p_container.xhtml#a30d7bfb182d9e2366e213379031b7d5d) (string group) [FMOPGroup](class_f_m_o_p_group.xhtml) [findFMOP](class_f_m_o_p_container.xhtml#a7ba24469609f9ed79458a4147827f45e) (string group) [FMOPGroup](class_f_m_o_p_group.xhtml) [findFMOP](class_f_m_o_p_container.xhtml#a8ed74f9d24536d9e45b1476b6de6296b) (string quantity, [dataobject\_types](group__data.xhtml#ga1bebf1e22deb3cd41d7d99ddcdb15379) type) [FMOPGroup](class_f_m_o_p_group.xhtml) [findFMOPRef](class_f_m_o_p_container.xhtml#aca1cfd946ca43bdc1900248ef0941176) (string group) [FMOPGroup](class_f_m_o_p_group.xhtml) [findFMOPRef](class_f_m_o_p_container.xhtml#aa4bff19545ab45fbe7c831c2149e8cb7) (string quantity, [dataobject\_types](group__data.xhtml#ga1bebf1e22deb3cd41d7d99ddcdb15379) type) std::vector&lt; string &gt; [nodeQuantities](class_f_m_o_p_container.xhtml#ad7c8a0b842f76ae90d6a5b9de07a64aa) () Get NODE\_DATA quantities with an existing Field-MOP. [More...](#ad7c8a0b842f76ae90d6a5b9de07a64aa)  
 std::vector&lt; string &gt; [scalarQuantities](class_f_m_o_p_container.xhtml#a8eceff961c37f0cbad1aebc40dfbcedb) () Get SCALAR\_DATA quantities with an existing [MOP](class_m_o_p.xhtml "a group of random fields belonging together (either a single random field, or multiple cross-correlat..."). [More...](#a8eceff961c37f0cbad1aebc40dfbcedb)  
  [writeInternalMOP\_OMDBFile](class_f_m_o_p_container.xhtml#a4b62e4b6dbc152d68e1f5d07c484bfea) ([dataobject\_types](group__data.xhtml#ga1bebf1e22deb3cd41d7d99ddcdb15379) type, string quantity, const ::string path, bool replace\_files=true) writes the OMDB file of the internal [MOP](class_m_o_p.xhtml "a group of random fields belonging together (either a single random field, or multiple cross-correlat...") of an FMOP to a file [More...](#a4b62e4b6dbc152d68e1f5d07c484bfea)  
 <a id="details" name="details"></a>## Detailed Description

a container storing all Field data models



## Member Function Documentation

<a id="ae7760bd8a3d244dc92dfafd9148fa46b"></a>## [◆ ](#ae7760bd8a3d244dc92dfafd9148fa46b)elementQuantities()

 std::vector&lt;string&gt; elementQuantities  ( ) 

Get ELEMENT\_DATA quantities with an existing Field-MOP.

Returnsa vector of strings containing all ELEMENT\_DATA quantities with an existing Field-MOP 



<a id="a3ba4c3b5e20898cf6851b3bdd9ed6398"></a>## [◆ ](#a3ba4c3b5e20898cf6851b3bdd9ed6398)eraseElementModel()

 eraseElementModel  ( string  *quantity*,    [Structure](class_structure.xhtml) \*  *database*   ) 

deletes the respective random field model (group)

Parameters quanitythe field quantity of type ELEMENT\_DATA for which the field model is to be deleted databaseif this pointer is not zero, it is used to invoke listeners informing them that this container was changed Exceptions std::Exceptionin case the quantity has no random field model. 



<a id="a5ec6e90bf0b133f3d5abe7c74d8872df"></a>## [◆ ](#a5ec6e90bf0b133f3d5abe7c74d8872df)eraseNodeModel()

 eraseNodeModel  ( string  *quantity*,    [Structure](class_structure.xhtml) \*  *database*   ) 

deletes the respective random field model (group)

Parameters quanitythe field quantity of type NODE\_DATA for which the field model is to be deleted databaseif this pointer is not zero, it is used to invoke listeners informing them that this container was changed Exceptions std::Exceptionin case the quantity has no random field model. 



<a id="a5afabc57c34ea9e5260d5cfde030cf2e"></a>## [◆ ](#a5afabc57c34ea9e5260d5cfde030cf2e)eraseScalarModel()

 eraseScalarModel  ( string  *quantity*,    [Structure](class_structure.xhtml) \*  *database*   ) 

deletes the respective random field model (group)

Parameters quanitythe field quantity of type SCALAR\_DATA for which the field model is to be deleted databaseif this pointer is not zero, it is used to invoke listeners informing them that this container was changed Exceptions std::Exceptionin case the quantity has no random field model. 



<a id="a30d7bfb182d9e2366e213379031b7d5d"></a>## [◆ ](#a30d7bfb182d9e2366e213379031b7d5d)exists()

 bool exists  ( string  *group*) 

Returnstrue if the given group ident is already contained Parameters groupthe group ident 



<a id="a7ba24469609f9ed79458a4147827f45e"></a>## [◆ ](#a7ba24469609f9ed79458a4147827f45e)findFMOP() \[1/2\]

 [FMOPGroup](class_f_m_o_p_group.xhtml) findFMOP  ( string  *group*) 

Returnsa reference to the group with given ident Parameters groupthe group ident 



<a id="a8ed74f9d24536d9e45b1476b6de6296b"></a>## [◆ ](#a8ed74f9d24536d9e45b1476b6de6296b)findFMOP() \[2/2\]

 [FMOPGroup](class_f_m_o_p_group.xhtml) findFMOP  ( string  *quantity*,    [dataobject\_types](group__data.xhtml#ga1bebf1e22deb3cd41d7d99ddcdb15379)  *type*   ) 

Returnsa reference to the group to which of the given quantity belongs Parameters quantitythe quantity ident typethe data type of the quantity 



<a id="aca1cfd946ca43bdc1900248ef0941176"></a>## [◆ ](#aca1cfd946ca43bdc1900248ef0941176)findFMOPRef() \[1/2\]

 [FMOPGroup](class_f_m_o_p_group.xhtml) findFMOPRef  ( string  *group*) 

Returnsa non- reference to the group with given ident Parameters groupthe group ident 



<a id="aa4bff19545ab45fbe7c831c2149e8cb7"></a>## [◆ ](#aa4bff19545ab45fbe7c831c2149e8cb7)findFMOPRef() \[2/2\]

 [FMOPGroup](class_f_m_o_p_group.xhtml) findFMOPRef  ( string  *quantity*,    [dataobject\_types](group__data.xhtml#ga1bebf1e22deb3cd41d7d99ddcdb15379)  *type*   ) 

Returnsa non- reference to the group to which of the given quantity belongs Parameters quantitythe quantity ident 



<a id="ad7c8a0b842f76ae90d6a5b9de07a64aa"></a>## [◆ ](#ad7c8a0b842f76ae90d6a5b9de07a64aa)nodeQuantities()

 std::vector&lt;string&gt; nodeQuantities  ( ) 

Get NODE\_DATA quantities with an existing Field-MOP.

Returnsa vector of strings containing all NODE\_DATA quantities with an existing Field-MOP 



<a id="a8eceff961c37f0cbad1aebc40dfbcedb"></a>## [◆ ](#a8eceff961c37f0cbad1aebc40dfbcedb)scalarQuantities()

 std::vector&lt;string&gt; scalarQuantities  ( ) 

Get SCALAR\_DATA quantities with an existing [MOP](class_m_o_p.xhtml "a group of random fields belonging together (either a single random field, or multiple cross-correlat...").

Returnsa vector of strings containing all SCALAR\_DATA quantities with an existing [MOP](class_m_o_p.xhtml "a group of random fields belonging together (either a single random field, or multiple cross-correlat...") 



<a id="a4b62e4b6dbc152d68e1f5d07c484bfea"></a>## [◆ ](#a4b62e4b6dbc152d68e1f5d07c484bfea)writeInternalMOP\_OMDBFile()

 writeInternalMOP\_OMDBFile  ( [dataobject\_types](group__data.xhtml#ga1bebf1e22deb3cd41d7d99ddcdb15379)  *type*,    string  *quantity*,    const ::string  *path*,    bool  *replace\_files* = `true`   ) 

writes the OMDB file of the internal [MOP](class_m_o_p.xhtml "a group of random fields belonging together (either a single random field, or multiple cross-correlat...") of an FMOP to a file

Parameters typethe data type , e.g. NODE\_DATA quantitythe quantiytr ident of the field quantity paththe output file name replace\_filesif false, an error is thrown if the file already exists