Quantity.h File Reference

defines quantities More...

#include "version.h"
#include "Quantity/Unit.h"
#include "Quantity/Dimension.h"
#include "Quantity/QuantityError.h"
#include "BSUtilities/BSUtilities.h"
#include "BSUtilities/TypeToName.h"
#include "BSUtilities/Conversion.h"
#include "loki/Singleton.h"
#include <iostream>
#include <string>
#include <cmath>
#include <typeinfo>
#include <boost/serialization/serialization.hpp>
#include <boost/serialization/nvp.hpp>
#include <boost/serialization/is_abstract.hpp>

Go to the source code of this file.

Namespaces

namespace  quantity

Classes

class  quantity::UnitPointerBySymbol< UT, UL >
 check units in Typelist UL for symbol More...
class  quantity::UnitPointerBySymbol< UT, Loki::NullType >
 check units in Typelist UL for symbol More...
class  quantity::UnitIndexBySymbol< UL >
 check units in Typelist UL for symbol, return an index into UL More...
class  quantity::UnitIndexBySymbol< Loki::NullType >
 check units in Typelist UL for symbol More...
class  quantity::ListUnitSymbols< UL >
 extract unit symbol strings More...
class  quantity::ListUnitSymbols< Loki::NullType >
 extract unit symbol strings More...
class  quantity::AllUnitsTemplate< UT, UL >
class  quantity::DefaultUnitTemplate< UT, U >
 store a unit U to be the default unit within Unit<UT> units More...
struct  quantity::CheckAgainstAllUnits< U, Loki::Typelist< Head, Tail > >
 check a unit U versus all units in AllUnits More...
struct  quantity::CheckAgainstAllUnits< U, Loki::NullType >
 check a unit U versus all units in AllUnits More...
struct  quantity::DimensionError< false >
 helper template DimensionError, no DimensionError occurred More...
struct  quantity::CheckDimensionality< Q >
 helper struct, check whether quantity Q is dimensionless More...
class  quantity::PrintStatus
 store and make available the status of printing More...
class  quantity::PrintName< P >
 definition of template PrintName More...
class  quantity::PrintSymbol< P >
 definition of template PrintSymbol More...
class  quantity::ReadStatus
 store and make available the status of reading More...
class  quantity::ReadName< P >
 definition of template ReadName More...
class  quantity::ReadSymbol< P >
 definition of template ReadSymbol More...
class  quantity::ReadEqual< P >
 definition of template ReadEqual More...
class  quantity::ReadUnit< U >
 definition of template ReadUnit More...
class  quantity::ReadUnit< NoUnit >
 specialization of template ReadUnit for NullType More...
class  quantity::Quantities
 Quantities base class. More...
class  quantity::CompStd< Loki::Typelist< unit::NonPrefixable< UT, U >, CULTail >, Loki::Typelist< BSUtilities::Rational< N, D >, PTail >, ST >
 helper class to extract Standard properties for ComposedUnit More...
class  quantity::CompStd< Loki::Typelist< unit::Prefixed< unit::Prefixable< UT, U >, P >, CULTail >, Loki::Typelist< BSUtilities::Rational< N, D >, PTail >, ST >
 helper class to extract Standard properties for ComposedUnit More...
class  quantity::CompStd< Loki::Typelist< unit::Composed< unit::ComposeBase< UT, CEL >, UL >, CULTail >, Loki::Typelist< BSUtilities::Rational< N, D >, PTail >, ST >
 helper class to extract Standard properties for ComposedUnit More...
class  quantity::CompStd< Loki::Typelist< unit::NonPrefixable< UT, U >, Loki::NullType >, Loki::Typelist< BSUtilities::Rational< N, D >, Loki::NullType >, ST >
 helper class to extract Standard properties for ComposedUnit More...
class  quantity::CompStd< Loki::Typelist< unit::Prefixed< unit::Prefixable< UT, U >, P >, Loki::NullType >, Loki::Typelist< BSUtilities::Rational< N, D >, Loki::NullType >, ST >
 helper class to extract Standard properties for ComposedUnit More...
class  quantity::CompStd< Loki::Typelist< unit::Composed< unit::ComposeBase< UT, CEL >, UL >, Loki::NullType >, Loki::Typelist< BSUtilities::Rational< N, D >, Loki::NullType >, ST >
 helper class to extract Standard properties for ComposedUnit More...
struct  quantity::Standardize< unit::NonPrefixable< UT, U >, ST >
 helper struct to perform static standardization More...
struct  quantity::Standardize< unit::Prefixed< unit::Prefixable< UT, U >, P >, ST >
 helper struct to perform static standardization More...
struct  quantity::Standardize< unit::Composed< unit::ComposeBase< UT, CEL >, CUL >, ST >
 helper struct to perform static standardization More...
struct  quantity::Reverse< unit::NonPrefixable< UT, U >, ST >
 helper class to perform static reverse standardization More...
struct  quantity::Reverse< unit::Prefixed< unit::Prefixable< UT, U >, P >, ST >
 helper class to perform static reverse standardization More...
struct  quantity::Reverse< unit::Composed< unit::ComposeBase< UT, CEL >, CUL >, ST >
 helper class to perform static reverse standardization More...
struct  quantity::dynamic_standardize< Loki::Typelist< Head, Tail > >
 helper struct to perform dynamic standardization More...
struct  quantity::dynamic_standardize< Loki::NullType >
 helper struct to perform dynamic standardization More...
struct  quantity::dynamic_reverse< Loki::Typelist< Head, Tail > >
 helper struct to perform dynamic reverse standardization More...
struct  quantity::dynamic_reverse< Loki::NullType >
 helper struct to perform dynamic reverse standardization More...
class  quantity::Quantity< QT, ST >
 Quantity base class definition. More...
struct  quantity::SameDimensioned< Quantity< QT1, ST1 >, Quantity< QT2, ST2 > >
 SameDimensioned. More...
struct  quantity::DerivedQuantity< QT, SU, DQT >

Defines

#define PS   PrintStatusHolder::Instance()
#define RS   ReadStatusHolder::Instance()

Typedefs

typedef
Loki::SingletonHolder
< PrintStatus > 
quantity::PrintStatusHolder
 PrintStatus should be singleton.
typedef
Loki::SingletonHolder
< ReadStatus > 
quantity::ReadStatusHolder
 ReadStatus should be singleton.
typedef Loki::NullType quantity::NoUnit


Detailed Description

defines quantities

Definition in file Quantity.h.


Define Documentation

#define PS   PrintStatusHolder::Instance()

Definition at line 393 of file Quantity.h.

Referenced by quantity::Quantity< QT, ST >::print(), and quantity::Quantity< GenericClass< DIM >, ST >::print().

#define RS   ReadStatusHolder::Instance()

Definition at line 517 of file Quantity.h.

Referenced by quantity::Variable< Quantity< QT, ST >, DerivedQuantity< QT, SU, DQT > >::read_value().


Generated on Mon Jul 27 15:55:45 2009 for Quantities by  doxygen 1.5.3