Public Member Functions | Static Public Member Functions | Private Attributes | Friends
DataModel Class Reference

Handle class for model specification data. More...

List of all members.

Public Member Functions

 DataModel ()
 constructor
 DataModel (const DataModel &)
 copy constructor
 ~DataModel ()
 destructor
DataModeloperator= (const DataModel &)
 assignment operator
void write (std::ostream &s) const
 write a DataModel object to an std::ostream
void read (MPIUnpackBuffer &s)
 read a DataModel object from a packed MPI buffer
void write (MPIPackBuffer &s) const
 write a DataModel object to a packed MPI buffer

Static Public Member Functions

static bool id_compare (const DataModel &dm, const std::string &id)
 compares the idModel attribute of DataModel objects

Private Attributes

DataModelRepdataModelRep
 pointer to the body (handle-body idiom)

Friends

class ProblemDescDB
class NIDRProblemDescDB

Detailed Description

Handle class for model specification data.

The DataModel class is used to provide a memory management handle for the data in DataModelRep. It is populated by IDRProblemDescDB::model_kwhandler() and is queried by the ProblemDescDB::get_<datatype>() functions. A list of DataModel objects is maintained in ProblemDescDB::dataModelList, one for each model specification in an input file.


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