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

Detailed Description

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

Definition at line 122 of file orsa_units.h.


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 Thu Jul 13 06:46:24 2006 for liborsa by  doxygen 1.4.7