Dakota  Version
Explore and Predict with Confidence
Public Member Functions | Private Attributes | Friends | List of all members
DataEnvironment Class Reference

Handle class for environment specification data. More...

Public Member Functions

 DataEnvironment ()
 constructor
 
 DataEnvironment (const DataEnvironment &)
 copy constructor
 
 ~DataEnvironment ()
 destructor
 
DataEnvironmentoperator= (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< DataEnvironmentRepdata_rep ()
 return dataEnvRep
 

Private Attributes

std::shared_ptr< DataEnvironmentRepdataEnvRep
 pointer to the body (handle-body idiom)
 

Friends

class ProblemDescDB
 
class NIDRProblemDescDB
 

Detailed Description

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.


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