#include <History.h>

Public Types

enum  UNITS { UNKNOWN = -1, ONE = 0, END }
 

Static Public Member Functions

template<Unitless::UNITS u>
static std::string name ()
 
static std::string name (Unitless::UNITS u)
 
template<Unitless::UNITS u>
static double base ()
 
static double base (Unitless::UNITS u)
 
template<Unitless::UNITS to, Unitless::UNITS from>
static double factor ()
 
template<Unitless::UNITS to>
static double factor (Unitless::UNITS from)
 
static double factor (Unitless::UNITS to, Unitless::UNITS from)
 
static Unitless::UNITS units (const char *s)
 
static constexpr Unitless::UNITS units (int i)
 

Static Public Attributes

static const UNITS DEFAULT = ONE
 

Member Enumeration Documentation

enum UNITS
Enumerator
UNKNOWN 
ONE 
END 

Member Function Documentation

static std::string name ( )
static
std::string name ( Unitless::UNITS  u)
inlinestatic

References Unitless::ONE.

static double base ( )
static

Referenced by Unitless::factor().

double base ( Unitless::UNITS  u)
inlinestatic

References Unitless::ONE.

static double factor ( )
inlinestatic
static double factor ( Unitless::UNITS  from)
inlinestatic

References Unitless::base().

static double factor ( Unitless::UNITS  to,
Unitless::UNITS  from 
)
inlinestatic

References Unitless::base().

Unitless::UNITS units ( const char *  s)
inlinestatic

References Unitless::ONE, and Unitless::UNKNOWN.

static constexpr Unitless::UNITS units ( int  i)
inlinestatic

Member Data Documentation

const UNITS DEFAULT = ONE
static

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