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