41AbsoluteHighResolutionTimeImpl;
45RelativeHighResolutionTimeImpl;
47#elif defined __linux__
49typedef timeval AbsoluteHighResolutionTimeImpl;
50typedef struct Nothing {} RelativeHighResolutionTimeImpl;
53#error High resolution time services are not defined for a given platform.
160#elif defined __linux__
166 enum ValueKind { Invalid, Absolute, Relative };
170 AbsoluteHighResolutionTimeImpl asAbsolute;
171 RelativeHighResolutionTimeImpl asRelative;
177 HighResolutionTime (ValueKind kind);
182 return ! (Invalid == kind_);
static HighResolutionTime parse(const std::string &time)
std::string toString() const
friend struct TimestampHelpers
HighResolutionTime(const HighResolutionTimeFields &)
HighResolutionTime(const HighResolutionTime &)
HighResolutionTime(UInt64)
static HighResolutionTime now()
void getFields(HighResolutionTimeFields *fields) const
long long HighResolutionTimeSpan
AbsoluteHighResolutionTimeImpl Timestamp
unsigned long long UInt64
ONIXS_MTS_CASH_SDP_API std::ostream & operator<<(std::ostream &stream, TradeImpactService::Enum value)
void fromAbsolute(const AbsoluteHighResolutionTimeImpl &)
void fromString(const std::string &)
std::string toString() const
void toAbsolute(AbsoluteHighResolutionTimeImpl *) const
unsigned int microseconds