physical::detail::DynamicExponents< UnitSystem > Struct Template Reference

#include <dynamicexponents.hpp>

List of all members.

Public Member Functions

 DynamicExponents ()
 DynamicExponents (const std::vector< int > &v)
template<class Exponents>
 DynamicExponents (Exponents)

Public Attributes

std::vector< int > exponents

Classes

struct  append_to


Detailed Description

template<class UnitSystem>
struct physical::detail::DynamicExponents< UnitSystem >

Definition at line 31 of file dynamicexponents.hpp.


Constructor & Destructor Documentation

template<class UnitSystem>
physical::detail::DynamicExponents< UnitSystem >::DynamicExponents (  )  [inline]

Definition at line 34 of file dynamicexponents.hpp.

00035                                 : exponents(UnitSystem::number_baseunits,0)
00036                         {};

template<class UnitSystem>
physical::detail::DynamicExponents< UnitSystem >::DynamicExponents ( const std::vector< int > &  v  )  [inline]

Definition at line 38 of file dynamicexponents.hpp.

00039                                 : exponents(v)
00040                         {};

template<class UnitSystem>
template<class Exponents>
physical::detail::DynamicExponents< UnitSystem >::DynamicExponents ( Exponents   )  [inline]

Definition at line 51 of file dynamicexponents.hpp.

References physical::detail::DynamicExponents< UnitSystem >::exponents.

00052                         {
00053                                 boost::mpl::for_each<typename Exponents::dimensions>(append_to(exponents));
00054                         };


Member Data Documentation

template<class UnitSystem>
std::vector<int> physical::detail::DynamicExponents< UnitSystem >::exponents

Definition at line 32 of file dynamicexponents.hpp.

Referenced by physical::detail::DynamicExponents< UnitSystem >::DynamicExponents(), physical::detail::operator+(), physical::detail::operator-(), and physical::detail::operator==().


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