#include <Time.h>
Public Types | |
| enum | { StdBaseMark = 2000 } |
Public Member Functions | |
| COMMON_EXPORT | timeBase (int64_t ns2stdMark) |
| COMMON_EXPORT | timeBase (timeStamp mark) |
| COMMON_EXPORT int64_t | get_ns2StdBaseMark () const |
| COMMON_EXPORT int64_t | cvtTo_bStd (int64_t ns) const |
| COMMON_EXPORT double | cvtFrom_bStd (double ns) const |
| COMMON_EXPORT int64_t | cvtFrom_bStd (int64_t ns) const |
Static Public Member Functions | |
| static COMMON_EXPORT const timeBase & | bStd () |
| static COMMON_EXPORT const timeBase & | b1970 () |
| static COMMON_EXPORT const timeBase & | bNone () |
Static Private Member Functions | |
| static COMMON_EXPORT const timeBase * | bStdHelp () |
| static COMMON_EXPORT const timeBase * | b1970Help () |
Private Attributes | |
| int64_t | ns2StdBaseMark |
Static Private Attributes | |
| static COMMON_EXPORT const timeBase * | _b1970 = NULL |
| static COMMON_EXPORT const timeBase * | _bStd = NULL |
Definition at line 135 of file Time.h.
| timeBase::timeBase | ( | int64_t | ns2stdMark | ) |
Definition at line 850 of file Time.C.
References ns2StdBaseMark.
Referenced by b1970Help(), and bStdHelp().
| timeBase::timeBase | ( | timeStamp | mark | ) |
Definition at line 713 of file Time.C.
References timeParent::get_ns(), and ns2StdBaseMark.
| const timeBase & timeBase::b1970 | ( | ) | [static] |
Definition at line 876 of file Time.C.
References _b1970, and b1970Help().
Referenced by getCurrentTime(), operator<<(), timeStamp::ts1800Help(), timeStamp::ts1970Help(), and timeStamp::ts2200Help().
| const timeBase * timeBase::b1970Help | ( | ) | [static, private] |
Definition at line 103 of file Time.C.
References timeUnit::get_ns_per_unit(), fraction::getNumer(), timeUnit::leapYear(), StdBaseMark, timeBase(), and timeUnit::year().
Referenced by b1970().
| const timeBase & timeBase::bNone | ( | ) | [static] |
| const timeBase & timeBase::bStd | ( | ) | [static] |
Definition at line 872 of file Time.C.
References _bStd, and bStdHelp().
Referenced by bNone(), operator<<(), and timeStamp::tsStdHelp().
| const timeBase * timeBase::bStdHelp | ( | ) | [static, private] |
Definition at line 868 of file Time.C.
References ns2StdBaseMark.
| double timeBase::cvtFrom_bStd | ( | double | ns | ) | const |
Definition at line 863 of file Time.C.
References ns2StdBaseMark.
Referenced by timeStamp::getD(), and timeStamp::getI().
Definition at line 858 of file Time.C.
References ns2StdBaseMark.
Referenced by timeStamp::initI(), and timeStamp::timeStamp().
| int64_t timeBase::get_ns2StdBaseMark | ( | ) | const |
const timeBase * timeBase::_b1970 = NULL [static, private] |
const timeBase * timeBase::_bStd = NULL [static, private] |
int64_t timeBase::ns2StdBaseMark [private] |
Definition at line 154 of file Time.h.
Referenced by cvtFrom_bStd(), cvtTo_bStd(), get_ns2StdBaseMark(), and timeBase().
1.6.1