C:/nobackup/private/physical_svn/trunk/include/physical/fixedphysical.hpp File Reference

define physical quantities with compile-time fixed physical dimension and appropriate operations. More...

#include "physical/detail/fixedexponents.hpp"
#include "physical/detail/larger_type.hpp"

Include dependency graph for fixedphysical.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  physical

Classes

struct  physical::FixedPhysical< T, Exponents >
 physical quantity with compile-time fixed physical dimension. More...
struct  physical::FixedPhysicalSum< FixedPhysical< UnitSystem, T1, Exponents1 >, FixedPhysical< UnitSystem, T2, Exponents2 > >
 resulting type of the sum of two other quantities. More...
struct  physical::FixedPhysicalRatio< FixedPhysical< UnitSystem, T1, Exponents1 >, FixedPhysical< UnitSystem, T2, Exponents2 > >
 resulting type of the ratio of two other quantities. More...
struct  physical::FixedPhysicalProduct< FixedPhysical< UnitSystem, T1, Exponents1 >, FixedPhysical< UnitSystem, T2, Exponents2 > >
 resulting type of the product of two other quantities. More...
struct  physical::FixedPhysicalBase< T, P >
struct  physical::FixedPhysicalBase< UnitSystem, T,-1 >

Functions

template<class UnitSystem, typename T1, typename T2, class exponents>
FixedPhysicalSum< FixedPhysical<
UnitSystem, T1, exponents >,
FixedPhysical< UnitSystem,
T2, exponents > >::type 
physical::operator+ (const FixedPhysical< UnitSystem, T1, exponents > a, FixedPhysical< UnitSystem, T2, exponents > b)
template<class UnitSystem, typename T1, typename T2, class exponents>
FixedPhysicalSum< FixedPhysical<
UnitSystem, T1, exponents >,
FixedPhysical< UnitSystem,
T2, exponents > >::type 
physical::operator- (const FixedPhysical< UnitSystem, T1, exponents > a, FixedPhysical< UnitSystem, T2, exponents > b)
template<class UnitSystem, typename T1, typename T2, class exponents1, class exponents2>
FixedPhysicalProduct< FixedPhysical<
UnitSystem, T1, exponents1 >,
FixedPhysical< UnitSystem,
T2, exponents2 > >::type 
physical::operator * (const FixedPhysical< UnitSystem, T1, exponents1 > a, FixedPhysical< UnitSystem, T2, exponents2 > b)
template<class UnitSystem, typename T1, typename T2, class exponents1, class exponents2>
FixedPhysicalRatio< FixedPhysical<
UnitSystem, T1, exponents1 >,
FixedPhysical< UnitSystem,
T2, exponents2 > >::type 
physical::operator/ (const FixedPhysical< UnitSystem, T1, exponents1 > a, FixedPhysical< UnitSystem, T2, exponents2 > b)
template<class UnitSystem, typename T1, typename T2, class exponents>
bool physical::operator== (const FixedPhysical< UnitSystem, T1, exponents > a, FixedPhysical< UnitSystem, T2, exponents > b)
template<class UnitSystem, typename T1, typename T2, class exponents>
bool physical::operator!= (const FixedPhysical< UnitSystem, T1, exponents > a, FixedPhysical< UnitSystem, T2, exponents > b)
template<class UnitSystem, typename T1, typename T2, class exponents>
bool physical::operator>= (const FixedPhysical< UnitSystem, T1, exponents > a, FixedPhysical< UnitSystem, T2, exponents > b)
template<class UnitSystem, typename T1, typename T2, class exponents>
bool physical::operator<= (const FixedPhysical< UnitSystem, T1, exponents > a, FixedPhysical< UnitSystem, T2, exponents > b)
template<class UnitSystem, typename T1, typename T2, class exponents>
bool physical::operator> (const FixedPhysical< UnitSystem, T1, exponents > a, FixedPhysical< UnitSystem, T2, exponents > b)
template<class UnitSystem, typename T1, typename T2, class exponents>
bool physical::operator< (const FixedPhysical< UnitSystem, T1, exponents > a, FixedPhysical< UnitSystem, T2, exponents > b)
template<class UnitSystem, typename T1, typename T2, class exponents1>
FixedPhysical< UnitSystem,
typename detail::larger_type<
T1, T2 >::type, exponents1 > 
physical::operator * (const T1 a, const FixedPhysical< UnitSystem, T2, exponents1 > b)


Detailed Description

define physical quantities with compile-time fixed physical dimension and appropriate operations.

Definition in file fixedphysical.hpp.


Generated on Mon Apr 2 22:25:06 2007 for physical_svn by  doxygen 1.5.1-p1
hosted on SourceForge.net Logo