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