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