physical::DynamicUnit< UnitSystem > Struct Template Reference

#include <dynamicunit.hpp>

Collaboration diagram for physical::DynamicUnit< UnitSystem >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DynamicUnit (const DynamicUnit< UnitSystem > &definition, const detail::DynamicScale scale)
template<typename T, class Exponents>
 DynamicUnit (const FixedPhysical< UnitSystem, T, Exponents > &definition)
 DynamicUnit (const DynamicPhysical< UnitSystem > &definition)
 DynamicUnit (const DynamicPhysical< UnitSystem > &definition, const detail::DynamicScale scacle)

Public Attributes

detail::DynamicExponents<
UnitSystem > 
exponents
detail::DynamicScale scale

Detailed Description

template<class UnitSystem>
struct physical::DynamicUnit< UnitSystem >

Definition at line 28 of file dynamicunit.hpp.


Constructor & Destructor Documentation

template<class UnitSystem>
physical::DynamicUnit< UnitSystem >::DynamicUnit ( const DynamicUnit< UnitSystem > &  definition,
const detail::DynamicScale  scale 
)

Definition at line 25 of file dynamicunit_impl.hpp.

00026                         : exponents(definition.exponents)
00027                         , scale(definition.scale.factor*scale.factor, 
00028                                         definition.scale.origin + definition.scale.factor*scale.origin)
00029                 {};

template<class UnitSystem>
template<typename T, class Exponents>
physical::DynamicUnit< UnitSystem >::DynamicUnit ( const FixedPhysical< UnitSystem, T, Exponents > &  definition  )  [inline, explicit]

Definition at line 35 of file dynamicunit.hpp.

00036          : exponents(Exponents())
00037                    , scale(definition.numerical_value, 0.)
00038            {};

template<class UnitSystem>
physical::DynamicUnit< UnitSystem >::DynamicUnit ( const DynamicPhysical< UnitSystem > &  definition  )  [explicit]

Definition at line 36 of file dynamicunit_impl.hpp.

00037                         : exponents(definition.exponents)
00038                         , scale(definition.numerical_value)
00039                 {};

template<class UnitSystem>
physical::DynamicUnit< UnitSystem >::DynamicUnit ( const DynamicPhysical< UnitSystem > &  definition,
const detail::DynamicScale  scacle 
) [explicit]

Definition at line 43 of file dynamicunit_impl.hpp.

00044                         : exponents(definition.exponents)
00045                         , scale(definition.numerical_value*scale.factor, definition.numerical_value*scale.origin)
00046                 {};


Member Data Documentation

template<class UnitSystem>
detail::DynamicExponents<UnitSystem> physical::DynamicUnit< UnitSystem >::exponents

Definition at line 29 of file dynamicunit.hpp.

template<class UnitSystem>
detail::DynamicScale physical::DynamicUnit< UnitSystem >::scale

Definition at line 30 of file dynamicunit.hpp.


The documentation for this struct was generated from the following files:
Generated on Mon Apr 2 22:25:08 2007 for physical_svn by  doxygen 1.5.1-p1
hosted on SourceForge.net Logo