physical::format Namespace Reference


Classes

struct  type2type
class  Dimension
struct  DimensionDef
struct  formatted
struct  formatter
struct  FormatSpec

Namespaces

namespace  detail

Functions

template<class UnitSystem>
formatter< UnitSystem > format (const FormatSpec< UnitSystem > &s)
template<class UnitSystem>
formatted< UnitSystem > format (const DynamicPhysical< UnitSystem > &q, const FormatSpec< UnitSystem > &s)
template<class UnitSystem>
std::ostream & operator<< (std::ostream &os, const formatted< UnitSystem > &f)


Function Documentation

template<class UnitSystem>
formatted<UnitSystem> physical::format::format ( const DynamicPhysical< UnitSystem > &  q,
const FormatSpec< UnitSystem > &  s 
) [inline]

Definition at line 57 of file format.hpp.

References physical::unitsymbol_si_float::s.

Referenced by BOOST_AUTO_UNIT_TEST().

00057 {return formatted<UnitSystem>(q,s);};

template<class UnitSystem>
formatter<UnitSystem> physical::format::format ( const FormatSpec< UnitSystem > &  s  )  [inline]

Definition at line 54 of file format.hpp.

References physical::unitsymbol_si_float::s.

Referenced by BOOST_AUTO_UNIT_TEST().

00054 {return formatter<UnitSystem>(s);};

template<class UnitSystem>
std::ostream& physical::format::operator<< ( std::ostream &  os,
const formatted< UnitSystem > &  f 
) [inline]

Definition at line 62 of file format.hpp.

References physical::format::detail::format_to_spec().

00062                                                                                               {
00063                         return detail::format_to_spec(os, f.quantity, f.spec);
00064                 };


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