Time Struct Reference
#include <Time.h>
Public Types | |
enum | UNITS { UNKNOWN = -1, SECONDS, MINUTES, HOURS, DAYS, YEARS, END } |
Static Public Member Functions | |
template<Time::UNITS u> | |
static std::string | name () |
static std::string | name (Time::UNITS u) |
template<Time::UNITS u> | |
static double | base () |
static double | base (Time::UNITS u) |
template<Time::UNITS to, Time::UNITS from> | |
static double | factor () |
template<Time::UNITS to> | |
static double | factor (Time::UNITS from) |
static double | factor (Time::UNITS to, Time::UNITS from) |
static Time::UNITS | units (const char *s) |
static constexpr Time::UNITS | units (int i) |
Static Public Attributes | |
static const UNITS | DEFAULT = SECONDS |
Detailed Description
- Examples:
- tstTime.cpp.
Member Enumeration Documentation
enum UNITS |
Member Function Documentation
|
static |
- Examples:
- tstTime.cpp.
Referenced by TEST().
|
inlinestatic |
|
static |
- Examples:
- tstTime.cpp.
Referenced by Time::factor(), TEST(), and Origen::Time::name< Time::DAYS >().
|
inlinestatic |
|
inlinestatic |
- Examples:
- tstTime.cpp.
Referenced by TEST().
|
inlinestatic |
References Time::base().
|
inlinestatic |
|
inlinestatic |
- Examples:
- tstTime.cpp.
Referenced by TEST().
|
inlinestatic |
Member Data Documentation
The documentation for this struct was generated from the following files: