UnitBaseScale Class Template Reference

#include <orsa_units.h>

Inheritance diagram for UnitBaseScale:

Inheritance graph
[legend]
Collaboration diagram for UnitBaseScale:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 UnitBaseScale ()
 UnitBaseScale (UNIT unit)
void Set (UNIT unit)
const UNIT & GetBaseUnit () const

template<class UNIT>
class orsa::UnitBaseScale< UNIT >


Constructor & Destructor Documentation

UnitBaseScale  )  [inline]
 

Definition at line 124 of file orsa_units.h.

00124 {}

UnitBaseScale UNIT  unit  )  [inline]
 

Definition at line 125 of file orsa_units.h.

00125 { base_unit = unit; }


Member Function Documentation

const UNIT& GetBaseUnit  )  const [inline]
 

Definition at line 129 of file orsa_units.h.

Referenced by Units::GetLengthBaseUnit(), Units::GetLengthScale(), Units::GetMassBaseUnit(), Units::GetMassScale(), Units::GetTimeBaseUnit(), Units::GetTimeScale(), Units::LengthLabel(), Units::MassLabel(), and Units::TimeLabel().

00129 { return base_unit; }

void Set UNIT  unit  )  [inline]
 

Definition at line 128 of file orsa_units.h.

Referenced by Units::SetSystem(), and Units::Units().

00128 { base_unit = unit; }


The documentation for this class was generated from the following file:
Generated on Tue Jan 11 15:29:42 2005 for liborsa by  doxygen 1.4.0