physical::FixedPhysicalSum< FixedPhysical< UnitSystem, T1, Exponents1 >, FixedPhysical< UnitSystem, T2, Exponents2 > > Struct Template Reference

resulting type of the sum of two other quantities. More...

#include <fixedphysical.hpp>

List of all members.

Public Types

typedef detail::larger_type<
T1, T2 >::type 
numerical_value_t
typedef FixedPhysical< UnitSystem,
numerical_value_t, Exponents1 > 
type

Public Member Functions

 BOOST_STATIC_ASSERT ((boost::is_same< typename Exponents1::dimensions, typename Exponents2::dimensions >::type::value))


Detailed Description

template<class UnitSystem, typename T1, typename T2, class Exponents1, class Exponents2>
struct physical::FixedPhysicalSum< FixedPhysical< UnitSystem, T1, Exponents1 >, FixedPhysical< UnitSystem, T2, Exponents2 > >

resulting type of the sum of two other quantities.

Definition at line 61 of file fixedphysical.hpp.


Member Typedef Documentation

template<class UnitSystem, typename T1, typename T2, class Exponents1, class Exponents2>
typedef detail::larger_type<T1, T2>::type physical::FixedPhysicalSum< FixedPhysical< UnitSystem, T1, Exponents1 >, FixedPhysical< UnitSystem, T2, Exponents2 > >::numerical_value_t

Definition at line 63 of file fixedphysical.hpp.

template<class UnitSystem, typename T1, typename T2, class Exponents1, class Exponents2>
typedef FixedPhysical< UnitSystem, numerical_value_t, Exponents1 > physical::FixedPhysicalSum< FixedPhysical< UnitSystem, T1, Exponents1 >, FixedPhysical< UnitSystem, T2, Exponents2 > >::type

Definition at line 64 of file fixedphysical.hpp.


Member Function Documentation

template<class UnitSystem, typename T1, typename T2, class Exponents1, class Exponents2>
physical::FixedPhysicalSum< FixedPhysical< UnitSystem, T1, Exponents1 >, FixedPhysical< UnitSystem, T2, Exponents2 > >::BOOST_STATIC_ASSERT ( (boost::is_same< typename Exponents1::dimensions, typename Exponents2::dimensions >::type::value)   ) 


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