Dakota  Version 6.15
Explore and Predict with Confidence
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Static Public Member Functions | Private Attributes | Friends | List of all members
DataModel Class Reference

Handle class for model specification data. More...

Public Member Functions

 DataModel ()
 DataModel (const DataModel &)
 copy constructor
 ~DataModel ()
DataModeloperator= (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< DataModelRepdata_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< DataModelRepdataModelRep
 pointer to the body (handle-body idiom)


class ProblemDescDB
class NIDRProblemDescDB

Detailed Description

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.

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