OnixS C++ CME iLink 3 Binary Order Entry Handler  1.9.0
API Documentation
Time.h File Reference

Go to the source code of this file.

Classes

struct  TimeTraits
 
struct  TimeSpanFormat
 
class  TimeSpan
 
struct  Month
 
struct  TimestampFormat
 
class  Timestamp
 

Namespaces

 OnixS
 
 OnixS::CME
 
 OnixS::CME::iLink3
 
 OnixS::CME::iLink3::Messaging
 

Functions

bool operator== (const TimeSpan &left, const TimeSpan &right) ONIXS_ILINK3_NOEXCEPT
 
bool operator!= (const TimeSpan &left, const TimeSpan &right) ONIXS_ILINK3_NOEXCEPT
 
bool operator< (const TimeSpan &left, const TimeSpan &right) ONIXS_ILINK3_NOEXCEPT
 
bool operator> (const TimeSpan &left, const TimeSpan &right) ONIXS_ILINK3_NOEXCEPT
 
TimeSpan operator- (const TimeSpan &timeSpan)
 
void toStrAsHHMMSS (std::string &, TimeSpan)
 
void toStrAsHHMMSSmsec (std::string &, TimeSpan)
 
void toStrAsHHMMSSusec (std::string &, TimeSpan)
 
void toStrAsHHMMSSnsec (std::string &, TimeSpan)
 
void toStrAsHHMMSSpsec (std::string &, TimeSpan)
 
void toStrAsSDHHMMSSnsec (std::string &, TimeSpan)
 
void toStr (std::string &, TimeSpan, TimeSpanFormat::Enum=TimeSpanFormat::SDHHMMSSnsec)
 
std::string toStr (TimeSpan timeSpan, TimeSpanFormat::Enum format=TimeSpanFormat::SDHHMMSSnsec)
 
Timestamp makeTimestamp (Timestamp::Ticks ticks)
 
bool operator== (const Timestamp &left, const Timestamp &right) ONIXS_ILINK3_NOEXCEPT
 
bool operator!= (const Timestamp &left, const Timestamp &right) ONIXS_ILINK3_NOEXCEPT
 
bool operator< (const Timestamp &left, const Timestamp &right) ONIXS_ILINK3_NOEXCEPT
 
bool operator<= (const Timestamp &left, const Timestamp &right) ONIXS_ILINK3_NOEXCEPT
 
bool operator> (const Timestamp &left, const Timestamp &right) ONIXS_ILINK3_NOEXCEPT
 
bool operator>= (const Timestamp &left, const Timestamp &right) ONIXS_ILINK3_NOEXCEPT
 
Timestamp operator+ (const Timestamp &timestamp, const TimeSpan &timeSpan)
 
Timestamp operator- (const Timestamp &timestamp, const TimeSpan &timeSpan)
 
TimeSpan operator- (const Timestamp &left, const Timestamp &right)
 
void toStrAsYYYYMMDD (std::string &, Timestamp)
 
void toStrAsYYYYMMDDHHMMSS (std::string &, Timestamp)
 
void toStrAsYYYYMMDDHHMMSSmsec (std::string &, Timestamp)
 
void toStrAsYYYYMMDDHHMMSSusec (std::string &, Timestamp)
 
void toStrAsYYYYMMDDHHMMSSnsec (std::string &, Timestamp)
 
void toStrAsYYYYMMDDHHMMSSpsec (std::string &, Timestamp)
 
void toStr (std::string &, Timestamp, TimestampFormat::Enum=TimestampFormat::YYYYMMDDHHMMSSnsec)
 
std::string toStr (Timestamp timestamp, TimestampFormat::Enum format=TimestampFormat::YYYYMMDDHHMMSSnsec)
 
size_t toStr (Timestamp, Char *, size_t)
 
std::ostream & operator<< (std::ostream &os, const Timestamp &value)
 
std::ostream & operator<< (std::ostream &os, const TimeSpan &value)
 
bool fromStr (TimeSpan &, const Char *, size_t)
 
bool fromStr (TimeSpan &ts, const std::string &str)
 
bool fromStr (Timestamp &, const Char *, size_t, TimestampFormat::Enum=TimestampFormat::YYYYMMDDHHMMSSnsec)
 
bool fromStr (Timestamp &ts, const std::string &str, TimestampFormat::Enum format=TimestampFormat::YYYYMMDDHHMMSSnsec)