DataVariables Class Reference

Handle class for variables specification data. More...

List of all members.

Public Member Functions

 DataVariables ()
 constructor
 DataVariables (const DataVariables &)
 copy constructor
 ~DataVariables ()
 destructor
DataVariables operator= (const DataVariables &)
 assignment operator
bool operator== (const DataVariables &)
 equality operator
void write (ostream &s) const
 write a DataVariables object to an ostream
void read (MPIUnpackBuffer &s)
 read a DataVariables object from a packed MPI buffer
void write (MPIPackBuffer &s) const
 write a DataVariables object to a packed MPI buffer
size_t design ()
 return total number of design variables
size_t uncertain ()
 return total number of uncertain variables
size_t state ()
 return total number of state variables
size_t num_continuous_variables ()
 return total number of continuous variables
size_t num_discrete_variables ()
 return total number of discrete variables
size_t num_variables ()
 return total number of variables

Public Attributes

DataVariablesRepdataVarsRep
 pointer to the body (handle-body idiom)


Detailed Description

Handle class for variables specification data.

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


The documentation for this class was generated from the following files:
Generated on Wed Nov 5 19:54:06 2008 for DAKOTA by  doxygen 1.5.1