![]() |
Dakota
Version
Explore and Predict with Confidence
|
Handle class for environment specification data. More...
Public Member Functions | |
| DataEnvironment () | |
| constructor | |
| DataEnvironment (const DataEnvironment &) | |
| copy constructor | |
| ~DataEnvironment () | |
| destructor | |
| DataEnvironment & | operator= (const DataEnvironment &) |
| assignment operator | |
| void | write (std::ostream &s) const |
| write a DataEnvironment object to an std::ostream | |
| void | read (MPIUnpackBuffer &s) |
| read a DataEnvironment object from a packed MPI buffer | |
| void | write (MPIPackBuffer &s) const |
| write a DataEnvironment object to a packed MPI buffer | |
| std::shared_ptr< DataEnvironmentRep > | data_rep () |
| return dataEnvRep | |
Private Attributes | |
| std::shared_ptr< DataEnvironmentRep > | dataEnvRep |
| pointer to the body (handle-body idiom) | |
Friends | |
| class | ProblemDescDB |
| class | NIDRProblemDescDB |
Handle class for environment specification data.
The DataEnvironment class is used to provide a memory management handle for the data in DataEnvironmentRep. It is populated by IDRProblemDescDB::environment_kwhandler() and is queried by the ProblemDescDB::get_<datatype>() functions. A single DataEnvironment object is maintained in ProblemDescDB::environmentSpec.