Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

UnitsExtension Class Reference

#include <UnitsExtension.h>

List of all members.

Public Methods

bool existsUnit (std::string name)
double getFactor (std::string name)
bool getUnits (std::string definitionFile)

Private Methods

bool addUnit (std::string name, double factor)

Private Attributes

std::vector<UnitsObjectunitVector


Member Function Documentation

bool UnitsExtension::addUnit ( std::string name,
double factor ) [private]
 

Definition at line 4 of file UnitsExtension.cpp.

Referenced by getUnits().

bool UnitsExtension::existsUnit ( std::string name )
 

Definition at line 13 of file UnitsExtension.cpp.

Referenced by addUnit(), and PropertyCompiler::getValueType().

double UnitsExtension::getFactor ( std::string name )
 

Definition at line 25 of file UnitsExtension.cpp.

Referenced by PropertyCompiler::getValueType().

bool UnitsExtension::getUnits ( std::string definitionFile )
 

Definition at line 37 of file UnitsExtension.cpp.

Referenced by PropertyCompiler::checkSyntax().


Member Data Documentation

std::vector< UnitsObject > UnitsExtension::unitVector [private]
 

Definition at line 56 of file UnitsExtension.h.


The documentation for this class was generated from the following files:
Generated at Wed Nov 21 12:22:35 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000