Public Member Functions | Static Public Member Functions | Private Attributes

cmtk::Units::UnitBase Class Reference

Base class for a value with a physical unit. More...

#include <cmtkUnits.h>

Inheritance diagram for cmtk::Units::UnitBase:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 UnitBase (const double value)
 Constructor.
double Value () const
 Get value.

Static Public Member Functions

static double Pi ()
 Constant: pi.

Private Attributes

double m_Value
 Actual value.

Detailed Description

Base class for a value with a physical unit.

Definition at line 51 of file cmtkUnits.h.


Constructor & Destructor Documentation

cmtk::Units::UnitBase::UnitBase ( const double  value ) [inline, explicit]

Constructor.

Definition at line 55 of file cmtkUnits.h.


Member Function Documentation

static double cmtk::Units::UnitBase::Pi (  ) [inline, static]

Constant: pi.

Definition at line 64 of file cmtkUnits.h.

double cmtk::Units::UnitBase::Value (  ) const [inline]

Member Data Documentation

Actual value.

Definition at line 71 of file cmtkUnits.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines