Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::units::scale< Base, Exponent > Struct Template Reference

class representing a scaling factor such as 10^3 The exponent must be a static rational. More...

#include <units_fwd.hpp>

Public Types

typedef Exponent exponent
 
typedef double value_type
 

Static Public Member Functions

static value_type value ()
 

Static Public Attributes

static const long base = Base
 

Detailed Description

template<long Base, class Exponent>
struct boost::units::scale< Base, Exponent >

class representing a scaling factor such as 10^3 The exponent must be a static rational.

Member Typedef Documentation

template<long Base, class Exponent >
typedef Exponent boost::units::scale< Base, Exponent >::exponent
template<long Base, class Exponent >
typedef double boost::units::scale< Base, Exponent >::value_type

Member Function Documentation

template<long Base, class Exponent >
static value_type boost::units::scale< Base, Exponent >::value ( )
inlinestatic

Member Data Documentation

template<long Base, class Exponent >
const long boost::units::scale< Base, Exponent >::base = Base
static

The documentation for this struct was generated from the following file: