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

quantity::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 416 of file Quantity.h.


Member Function Documentation

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

return the status to read the equal sign

reads the private _equal data member.

Definition at line 448 of file Quantity.h.

References _equal.

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

return the status to read the quantity name

reads the private _name data member.

Definition at line 438 of file Quantity.h.

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

return the status to read the quantity symbol

reads the private _symbol data member.

Definition at line 443 of file Quantity.h.

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

return the unit symbol to be assumed

reads the private _unit data member;

Definition at line 453 of file Quantity.h.

References _unit.


Member Data Documentation

bool quantity::ReadStatus::_equal = true [static, private]
 

default value

Definition at line 41 of file Quantity.cc.

Referenced by equal().

bool quantity::ReadStatus::_name = false [static, private]
 

default value

Definition at line 37 of file Quantity.cc.

bool quantity::ReadStatus::_symbol = false [static, private]
 

default value

Definition at line 39 of file Quantity.cc.

std::string quantity::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 14:05:22 2006 for Quantity by doxygen 1.3.6