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

Handle class for method specification data. More...

Public Member Functions

 DataMethod ()
 constructor
 
 DataMethod (const DataMethod &)
 copy constructor
 
 ~DataMethod ()
 destructor
 
DataMethodoperator= (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< DataMethodRepdata_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< DataMethodRepdataMethodRep
 pointer to the body (handle-body idiom)
 

Friends

class ProblemDescDB
 
class NIDRProblemDescDB
 

Detailed Description

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.


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