Dakota
Version
Explore and Predict with Confidence
|
Handle class for model specification data. More...
Public Member Functions | |
DataModel () | |
constructor | |
DataModel (const DataModel &) | |
copy constructor | |
~DataModel () | |
destructor | |
DataModel & | operator= (const DataModel &) |
assignment operator | |
void | write (std::ostream &s) const |
write a DataModel object to an std::ostream | |
void | read (MPIUnpackBuffer &s) |
read a DataModel object from a packed MPI buffer | |
void | write (MPIPackBuffer &s) const |
write a DataModel object to a packed MPI buffer | |
std::shared_ptr< DataModelRep > | data_rep () |
return dataModelRep | |
Static Public Member Functions | |
static bool | id_compare (const DataModel &dm, const std::string &id) |
compares the idModel attribute of DataModel objects | |
Private Attributes | |
std::shared_ptr< DataModelRep > | dataModelRep |
pointer to the body (handle-body idiom) | |
Friends | |
class | ProblemDescDB |
class | NIDRProblemDescDB |
Handle class for model specification data.
The DataModel class is used to provide a memory management handle for the data in DataModelRep. It is populated by IDRProblemDescDB::model_kwhandler() and is queried by the ProblemDescDB::get_<datatype>() functions. A list of DataModel objects is maintained in ProblemDescDB::dataModelList, one for each model specification in an input file.