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

Quantities::ReadStatus Class Reference

store and make available the status of reading More...

#include <Quantity.h>

List of all members.

Public Member Functions

bool name (void) const
 return the status to read the quantity name

bool symbol (void) const
 return the status to read the quantity symbol

bool equal (void) const
 return the status to read the equal sign

std::string unit (void) const
 return the unit symbol to be assumed


Static Private Attributes

bool _name = false
 default value

bool _symbol = false
 default value

bool _equal = true
 default value

std::string _unit = ""
 default value


Detailed Description

store and make available the status of reading

Definition at line 384 of file Quantity.h.


Member Function Documentation

bool Quantities::ReadStatus::equal void   )  const [inline]
 

return the status to read the equal sign

reads the private _equal data member.

Definition at line 416 of file Quantity.h.

References _equal.

bool Quantities::ReadStatus::name void   )  const [inline]
 

return the status to read the quantity name

reads the private _name data member.

Definition at line 406 of file Quantity.h.

bool Quantities::ReadStatus::symbol void   )  const [inline]
 

return the status to read the quantity symbol

reads the private _symbol data member.

Definition at line 411 of file Quantity.h.

std::string Quantities::ReadStatus::unit void   )  const [inline]
 

return the unit symbol to be assumed

reads the private _unit data member;

Definition at line 421 of file Quantity.h.

References _unit.


Member Data Documentation

std::string Quantities::ReadStatus::_unit = "" [static, private]
 

default value

when reading input containing a value but no unit symbol, assume this symbol.

Definition at line 43 of file Quantity.cc.

Referenced by unit().


The documentation for this class was generated from the following files:
Generated on Sun Jan 15 13:58:00 2006 for Quantity by doxygen 1.3.6