unit::Prefixed< Prefixable< BT, U >, UP > Class Template Reference
Spezialization of Prefixed for first parameter Prefixable<BT, U>.
More...
#include <Unit.h>
Inheritance diagram for unit::Prefixed< Prefixable< BT, U >, UP >:
List of all members.
|
Public Member Functions |
const std::string | name (void) const |
| return the name of this unit.
|
const std::string | symbol (void) const |
| return the symbol of this unit.
|
Static Public Member Functions |
const std::string | Name (void) |
| the name of the Prefixed;
|
const std::string | Symbol (void) |
| the symbol of the Prefixed;
|
Detailed Description
template<class BT, class U, class UP>
class unit::Prefixed< Prefixable< BT, U >, UP >
Spezialization of Prefixed for first parameter Prefixable<BT, U>.
all Prefixed<> Units thus defined are subclasses of Prefixable<BT, U>, and characteristics of Prefixable<BT, U> are used to determine the factor, the name and the symbol of the Prefixed Unit.
Definition at line 264 of file Unit.h.
Member Function Documentation
template<class BT, class U, class UP> |
const std::string unit::Prefixed< Prefixable< BT, U >, UP >::name |
( |
void |
|
) |
const [inline, virtual] |
|
|
return the name of this unit.
dynamic access, to be used polymorphically if exact type is not known at compile time.
Implements unit::Unit< BT >.
Definition at line 282 of file Unit.h. |
template<class BT, class U, class UP> |
const std::string unit::Prefixed< Prefixable< BT, U >, UP >::Name |
( |
void |
|
) |
[inline, static] |
|
|
the name of the Prefixed;
Definition at line 276 of file Unit.h. |
template<class BT, class U, class UP> |
const std::string unit::Prefixed< Prefixable< BT, U >, UP >::symbol |
( |
void |
|
) |
const [inline, virtual] |
|
|
return the symbol of this unit.
dynamic access, to be used polymorphically if exact type is not known at compile time
Implements unit::Unit< BT >.
Definition at line 300 of file Unit.h. |
template<class BT, class U, class UP> |
const std::string unit::Prefixed< Prefixable< BT, U >, UP >::Symbol |
( |
void |
|
) |
[inline, static] |
|
|
the symbol of the Prefixed;
Definition at line 293 of file Unit.h. |
The documentation for this class was generated from the following file:
Generated on Sun Jan 15 14:05:23 2006 for Quantity by
1.3.6