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

Handle class for responses specification data. More...

Public Member Functions

 DataResponses ()
 constructor
 
 DataResponses (const DataResponses &)
 copy constructor
 
 ~DataResponses ()
 destructor
 
DataResponsesoperator= (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< DataResponsesRepdata_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< DataResponsesRepdataRespRep
 pointer to the body (handle-body idiom)
 

Friends

class ProblemDescDB
 
class NIDRProblemDescDB
 

Detailed Description

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.


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