Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Parameters::QuantityParam Class Reference

#include <QuantityParam.h>

Inheritance diagram for Parameters::QuantityParam:

Inheritance graph
[legend]
Collaboration diagram for Parameters::QuantityParam:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 QuantityParam ()
 QuantityParam (const string &nameVal, auto_ptr< string > unitsVal)
virtual ~QuantityParam ()=0
virtual auto_ptr< string > getUnits ()
virtual bool getHasUnits ()
virtual string toString ()

Protected Attributes

string units_m
bool hasUnits_m

Detailed Description

QuantityParam class - abstract base class used to store information about params having units (e.g. Mhz, cm, seconds, etc.) within a ParameterSetDef as defined by the task author of a particular OFFLINE task.


Constructor & Destructor Documentation

Parameters::QuantityParam::QuantityParam  ) 
 

Constructor

Parameters::QuantityParam::QuantityParam const string &  nameVal,
auto_ptr< string >  unitsVal
 

Constructor

Parameters:
name the name of the parameter units for the quantity, if any

virtual Parameters::QuantityParam::~QuantityParam  )  [pure virtual]
 

Destructor


Member Function Documentation

virtual bool Parameters::QuantityParam::getHasUnits  )  [virtual]
 

virtual auto_ptr< string > Parameters::QuantityParam::getUnits  )  [virtual]
 

virtual string Parameters::QuantityParam::toString  )  [virtual]
 

Returns an XML string representation of the param.

Returns:
the param as an XML string NOTE: the XML is not a complete document, just a fragment.

Reimplemented from Parameters::Param.


Member Data Documentation

bool Parameters::QuantityParam::hasUnits_m [protected]
 

string Parameters::QuantityParam::units_m [protected]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:37:39 2009 for ACS C++ API by doxygen 1.3.8