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;

void save (BSUtilities::xmlw::XmlStream &os) const

Static Public Member Functions

const bool IsSI (void)
std::string Name (void)
std::string Symbol (void)

Static Public Attributes

const std::string Namestring
const std::string Symbolstring
const std::string TYPE
 the xml Generic attribute


Static Private Attributes

const bool SI

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 72 of file Generic.h.

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

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

Definition at line 70 of file Generic.h.

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

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 78 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 76 of file Generic.h.

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

template<class DIM>
void unit::NonPrefixable< quantity::GenericClass< DIM >, GenericUnit >::save BSUtilities::xmlw::XmlStream &  os  )  const [inline]
 

Definition at line 86 of file Generic.h.

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 84 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 82 of file Generic.h.

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


Member Data Documentation

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

Definition at line 74 of file Generic.h.

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

Definition at line 67 of file Generic.h.

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

Definition at line 80 of file Generic.h.

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

the xml Generic attribute

define outside of class

Definition at line 97 of file Generic.h.


The documentation for this class was generated from the following file:
Generated on Mon Feb 12 18:48:44 2007 for Quantity by doxygen 1.3.6