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

Handle class for interface specification data. More...

Public Member Functions

 DataInterface ()
 constructor
 
 DataInterface (const DataInterface &)
 copy constructor
 
 ~DataInterface ()
 destructor
 
DataInterfaceoperator= (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
 

Detailed Description

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.


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