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

unit::NonPrefixable< quantity::GenericClass< DIM >, GenericUnit > Class Template Reference

a unit to be used with Generic quantities More...

#include <Generic.h>

Inheritance diagram for unit::NonPrefixable< quantity::GenericClass< DIM >, GenericUnit >:

unit::Unit< BT > unit::Units List of all members.

Public Member Functions

const bool isSI (void) const
 whether the unit is an SI unit;

const std::string name (void) const
 return the name of the unit;

const std::string symbol (void) const
 return the symbol of the unit;


Static Public Member Functions

std::string Name (void)
std::string Symbol (void)

Static Public Attributes

const bool IsSI
const std::string Namestring
const std::string Symbolstring

Detailed Description

template<class DIM>
class unit::NonPrefixable< quantity::GenericClass< DIM >, GenericUnit >

a unit to be used with Generic quantities

this defines a NonPrefixable unit, which is linked to other Generic quantity objects through GenericClass<DIM>; in order to be able to have this parametrized by DIM, this is a specialization of the NonPrefixable template from Units; this must be in the same namespace as the original NonPrefixable declaration.

Definition at line 63 of file Generic.h.


Member Function Documentation

template<class DIM>
const bool unit::NonPrefixable< quantity::GenericClass< DIM >, GenericUnit >::isSI void   )  const [inline, virtual]
 

whether the unit is an SI unit;

dynamic access, to be used polymorphically

Implements unit::Unit< BT >.

Definition at line 69 of file Generic.h.

References unit::NonPrefixable< BT, U >::IsSI().

template<class DIM>
const std::string unit::NonPrefixable< quantity::GenericClass< DIM >, GenericUnit >::name void   )  const [inline, virtual]
 

return the name of the unit;

dynamic access, to be used polymorphically

Implements unit::Unit< BT >.

Definition at line 75 of file Generic.h.

References unit::NonPrefixable< BT, U >::Name().

template<class DIM>
std::string unit::NonPrefixable< quantity::GenericClass< DIM >, GenericUnit >::Name void   )  [inline, static]
 

Definition at line 73 of file Generic.h.

References unit::NonPrefixable< BT, U >::Namestring.

template<class DIM>
const std::string unit::NonPrefixable< quantity::GenericClass< DIM >, GenericUnit >::symbol void   )  const [inline, virtual]
 

return the symbol of the unit;

dynamic access, to be used polymorphically

Implements unit::Unit< BT >.

Definition at line 81 of file Generic.h.

References unit::NonPrefixable< BT, U >::Symbol().

template<class DIM>
std::string unit::NonPrefixable< quantity::GenericClass< DIM >, GenericUnit >::Symbol void   )  [inline, static]
 

Definition at line 79 of file Generic.h.

References unit::NonPrefixable< BT, U >::Symbolstring.


Member Data Documentation

template<class DIM>
const bool unit::NonPrefixable< quantity::GenericClass< DIM >, GenericUnit >::IsSI [static]
 

Definition at line 67 of file Generic.h.

template<class DIM>
const std::string unit::NonPrefixable< quantity::GenericClass< DIM >, GenericUnit >::Namestring [static]
 

Definition at line 71 of file Generic.h.

template<class DIM>
const std::string unit::NonPrefixable< quantity::GenericClass< DIM >, GenericUnit >::Symbolstring [static]
 

Definition at line 77 of file Generic.h.


The documentation for this class was generated from the following file:
Generated on Sun Jan 15 14:05:23 2006 for Quantity by doxygen 1.3.6