OnixS C++ HKEX OMD-C Handler 1.0.0
API documentation
Loading...
Searching...
No Matches
OnixS::HKEX::MarketData::Omdc Namespace Reference

Classes

struct  AddOddLotOrderMsg
struct  AddOrderMsg
struct  AggregateOrderBookUpdateMsg
class  ArgumentException
class  BinaryFields
class  BinaryMessage
struct  BrokerQueueMsg
struct  ClosingPriceMsg
struct  CurrencyRateMsg
struct  DataSource
struct  DeleteOddLotOrderMsg
struct  DeleteOrderMsg
struct  DisasterRecoverySignalMsg
struct  Entry
struct  ErrorCode
class  ErrorListener
class  Exception
struct  FeedDescriptor
class  FeedEngine
struct  FeedEngineListener
class  FeedEngineSettings
struct  FeedEngineThreadIdle
class  Handler
struct  HandlerSettings
struct  HandlerState
class  HandlerStateListener
struct  IndexDataMsg
struct  IndexDefinitionMsg
struct  IndicativeEquilibriumPriceMsg
struct  IntegralConstant
struct  Item
struct  LiquidityProviderMsg
struct  LogFilePermission
struct  LogLevel
struct  LogSettings
struct  MarketDefinitionMsg
struct  MarketTurnoverMsg
class  MessageListener
struct  ModifyOrderMsg
struct  Month
struct  NewsMsg
struct  NominalPriceMsg
class  OperationException
class  OrderBook
class  OrderBookListener
struct  OrderImbalanceMsg
struct  OrderInfo
struct  OrdinaryExtractor
struct  PriceLevel
struct  PriceLevelCollections
class  ProtocolListener
struct  ReferencePriceMsg
struct  RefreshCompleteMsg
class  ReplayListener
struct  ReplayOptions
class  RetransmissionHandler
class  RetransmissionHandlerSettings
struct  SecurityDefinitionMsg
struct  SecurityStatusMsg
class  Semaphore
struct  SequenceResetMsg
struct  ServiceDescriptor
struct  Side
struct  StatisticsMsg
struct  StockConnectDailyQuotaBalanceMsg
struct  StockConnectMarketTurnoverMsg
class  StrRef
class  ThreadAffinity
class  TimeSpan
struct  TimeSpanFormat
class  Timestamp
struct  TimestampFormat
struct  TimeTraits
struct  TradeCancelMsg
struct  TradeMsg
struct  TradeTickerMsg
struct  TradingSessionStatusMsg
struct  UnderlyingSecurity
struct  VCMTriggerMsg
class  WarningListener
struct  YieldMsg

Typedefs

typedef std::vector< std::string > HandlerLogs
typedef std::vector< std::string >::iterator HandlerLogsEntry
typedef UInt8 Byte
typedef std::vector< OrderInfoOrderInfos
typedef PriceLevelCollections::Array PriceLevels
typedef PriceLevelCollections::ArrayEntry PriceLevelsEntry
typedef PriceLevelCollections::ArrayConstEntry PriceLevelsConstEntry
typedef char Char
typedef UInt32 SequenceNumber
typedef UInt32 InstrumentId
typedef UInt64 OrderId
typedef Int32 Price
typedef UInt32 Quantity
typedef UInt16 MessageSize
typedef size_t CpuIndex

Functions

ONIXS_HKEX_OMDC_API void toStr (std::string &, Side::Enum)
std::string toStr (Side::Enum layout)
ONIXS_HKEX_OMDC_API std::string enumToString (LogLevel::Enum)
LogSettings::Enum operator| (LogSettings::Enum a, LogSettings::Enum b)
LogFilePermission::Enum operator| (LogFilePermission::Enum a, LogFilePermission::Enum b)
void ONIXS_HKEX_OMDC_API gatherLogs (HandlerLogs *gatheredLogs, const std::string &root)
ONIXS_HKEX_OMDC_API void throwIncorrectSize (const std::string &messageName, MessageSize receivedSize, MessageSize expectedSize)
ONIXS_HKEX_OMDC_API std::string enumToString (ErrorCode::Enum)
ONIXS_HKEX_OMDC_API std::ostream & operator<< (std::ostream &stream, const ServiceDescriptor &descriptor)
ONIXS_HKEX_OMDC_API std::ostream & operator<< (std::ostream &stream, const FeedDescriptor &descriptor)
ONIXS_HKEX_OMDC_API std::ostream & operator<< (std::ostream &stream, const HandlerSettings &settings)
template<typename Type>
void * toOpaquePtr (Type *ptr) noexcept
template<typename Type>
const void * toOpaquePtr (const Type *ptr) noexcept
template<typename Type>
BytetoByteBlock (Type *ptr) noexcept
template<typename Type>
const BytetoByteBlock (const Type *ptr) noexcept
template<typename Type>
Type * advanceByBytes (Type *pointer, ptrdiff_t distance) noexcept
template<typename Type>
Type * advanceBackByBytes (Type *pointer, ptrdiff_t distance) noexcept
template<typename Left, typename Right>
ptrdiff_t byteDistance (Left *left, Right *right) noexcept
template<class FieldValue>
FieldValue unalignedCopy (const void *p) noexcept
bool operator== (const PriceLevel &l, const PriceLevel &r) noexcept
bool isValid (const PriceLevel &level) noexcept
const PricegetPrice (const PriceLevel &level) noexcept
ONIXS_HKEX_OMDC_API std::ostream & operator<< (std::ostream &stream, const PriceLevel &value)
ONIXS_HKEX_OMDC_API std::string enumToString (HandlerState::Enum)
StrRef toStrRef (const std::string &str)
StrRef toStrRef (const Char *cStr)
std::string toStr (const StrRef &ref)
void toStr (std::string &str, const StrRef &ref)
std::string toStr (Char character)
void toStr (std::string &str, Char character)
void toStr (std::string &str, const std::string &value)
bool operator== (const StrRef &left, const StrRef &right)
bool operator!= (const StrRef &left, const StrRef &right)
bool operator== (const StrRef &ref, const std::string &str)
bool operator!= (const StrRef &ref, const std::string &str)
bool operator== (const std::string &str, const StrRef &ref)
bool operator!= (const std::string &str, const StrRef &ref)
bool operator== (const StrRef &ref, const Char *str)
bool operator!= (const StrRef &ref, const Char *str)
bool operator== (const Char *str, const StrRef &ref)
bool operator!= (const Char *str, const StrRef &ref)
bool operator< (const StrRef &left, const StrRef &right)
bool operator> (const StrRef &left, const StrRef &right)
std::ostream & operator<< (std::ostream &stream, const StrRef &text)
ONIXS_HKEX_OMDC_API std::ostream & operator<< (std::ostream &stream, const DataSource &ds)
ONIXS_HKEX_OMDC_API std::ostream & operator<< (std::ostream &stream, const FeedEngineSettings &settings)
ONIXS_HKEX_OMDC_API std::ostream & operator<< (std::ostream &stream, const RetransmissionHandlerSettings &settings)
ONIXS_HKEX_OMDC_API void toStr (std::string &, Int8)
std::string toStr (Int8 number)
ONIXS_HKEX_OMDC_API void toStr (std::string &, UInt8)
std::string toStr (UInt8 number)
ONIXS_HKEX_OMDC_API void toStr (std::string &, Int16)
std::string toStr (Int16 number)
ONIXS_HKEX_OMDC_API void toStr (std::string &, UInt16)
std::string toStr (UInt16 number)
ONIXS_HKEX_OMDC_API void toStr (std::string &, Int32)
std::string toStr (Int32 number)
ONIXS_HKEX_OMDC_API void toStr (std::string &, UInt32)
std::string toStr (UInt32 number)
ONIXS_HKEX_OMDC_API void toStr (std::string &, Int64)
std::string toStr (Int64 number)
ONIXS_HKEX_OMDC_API void toStr (std::string &, UInt64)
std::string toStr (UInt64 number)
template<typename Type, Type Constant>
void toStr (std::string &str, IntegralConstant< Type, Constant > constant)
template<typename Type, Type Constant>
std::string toStr (IntegralConstant< Type, Constant > constant)
bool operator== (const TimeSpan &left, const TimeSpan &right)
bool operator!= (const TimeSpan &left, const TimeSpan &right)
bool operator< (const TimeSpan &left, const TimeSpan &right)
bool operator> (const TimeSpan &left, const TimeSpan &right)
ONIXS_HKEX_OMDC_API void toStrAsHHMMSS (std::string &, TimeSpan)
ONIXS_HKEX_OMDC_API void toStrAsHHMMSSmsec (std::string &, TimeSpan)
ONIXS_HKEX_OMDC_API void toStrAsSDHHMMSSnsec (std::string &, TimeSpan)
void toStr (std::string &str, TimeSpan timeSpan, TimeSpanFormat::Enum format=TimeSpanFormat::SDHHMMSSnsec)
std::string toStr (TimeSpan timeSpan, TimeSpanFormat::Enum format=TimeSpanFormat::SDHHMMSSnsec)
Timestamp fromSeconds (UInt32 secondsSinceEpoch)
bool operator== (const Timestamp &left, const Timestamp &right)
bool operator!= (const Timestamp &left, const Timestamp &right)
bool operator< (const Timestamp &left, const Timestamp &right)
bool operator<= (const Timestamp &left, const Timestamp &right)
bool operator> (const Timestamp &left, const Timestamp &right)
bool operator>= (const Timestamp &left, const Timestamp &right)
Timestamp operator+ (const Timestamp &timestamp, const TimeSpan &timeSpan)
Timestamp operator- (const Timestamp &timestamp, const TimeSpan &timeSpan)
TimeSpan operator- (const Timestamp &left, const Timestamp &right)
ONIXS_HKEX_OMDC_API void toStrAsYYYYMMDD (std::string &, Timestamp)
ONIXS_HKEX_OMDC_API void toStrAsYYYYMMDDHHMMSS (std::string &, Timestamp)
ONIXS_HKEX_OMDC_API void toStrAsYYYYMMDDHHMMSSmsec (std::string &, Timestamp)
ONIXS_HKEX_OMDC_API void toStrAsYYYYMMDDHHMMSSnsec (std::string &, Timestamp)
ONIXS_HKEX_OMDC_API void toStr (std::string &str, Timestamp timestamp, TimestampFormat::Enum format=TimestampFormat::YYYYMMDDHHMMSSnsec)
std::string toStr (Timestamp timestamp, TimestampFormat::Enum format=TimestampFormat::YYYYMMDDHHMMSSnsec)
ONIXS_HKEX_OMDC_API bool fromStr (Timestamp &, const char *, size_t)
bool fromStr (Timestamp &ts, const std::string &str)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const AddOddLotOrderMsg &)
std::string toStr (const AddOddLotOrderMsg &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const AddOrderMsg &)
std::string toStr (const AddOrderMsg &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const AggregateOrderBookUpdateMsg &)
std::string toStr (const AggregateOrderBookUpdateMsg &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const Entry &)
std::string toStr (const Entry &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const BrokerQueueMsg &)
std::string toStr (const BrokerQueueMsg &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const Item &)
std::string toStr (const Item &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const ClosingPriceMsg &)
std::string toStr (const ClosingPriceMsg &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const CurrencyRateMsg &)
std::string toStr (const CurrencyRateMsg &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const DeleteOddLotOrderMsg &)
std::string toStr (const DeleteOddLotOrderMsg &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const DeleteOrderMsg &)
std::string toStr (const DeleteOrderMsg &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const DisasterRecoverySignalMsg &)
std::string toStr (const DisasterRecoverySignalMsg &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const IndexDataMsg &)
std::string toStr (const IndexDataMsg &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const IndexDefinitionMsg &)
std::string toStr (const IndexDefinitionMsg &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const IndicativeEquilibriumPriceMsg &)
std::string toStr (const IndicativeEquilibriumPriceMsg &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const LiquidityProviderMsg &)
std::string toStr (const LiquidityProviderMsg &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const MarketDefinitionMsg &)
std::string toStr (const MarketDefinitionMsg &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const MarketTurnoverMsg &)
std::string toStr (const MarketTurnoverMsg &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const ModifyOrderMsg &)
std::string toStr (const ModifyOrderMsg &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const NewsMsg &)
std::string toStr (const NewsMsg &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const NominalPriceMsg &)
std::string toStr (const NominalPriceMsg &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const OrderImbalanceMsg &)
std::string toStr (const OrderImbalanceMsg &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const ReferencePriceMsg &)
std::string toStr (const ReferencePriceMsg &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const RefreshCompleteMsg &)
std::string toStr (const RefreshCompleteMsg &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const SecurityDefinitionMsg &)
std::string toStr (const SecurityDefinitionMsg &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const UnderlyingSecurity &)
std::string toStr (const UnderlyingSecurity &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const SecurityStatusMsg &)
std::string toStr (const SecurityStatusMsg &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const SequenceResetMsg &)
std::string toStr (const SequenceResetMsg &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const StatisticsMsg &)
std::string toStr (const StatisticsMsg &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const StockConnectDailyQuotaBalanceMsg &)
std::string toStr (const StockConnectDailyQuotaBalanceMsg &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const StockConnectMarketTurnoverMsg &)
std::string toStr (const StockConnectMarketTurnoverMsg &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const TradeMsg &)
std::string toStr (const TradeMsg &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const TradeCancelMsg &)
std::string toStr (const TradeCancelMsg &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const TradeTickerMsg &)
std::string toStr (const TradeTickerMsg &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const TradingSessionStatusMsg &)
std::string toStr (const TradingSessionStatusMsg &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const VCMTriggerMsg &)
std::string toStr (const VCMTriggerMsg &msg)
ONIXS_HKEX_OMDC_API void toStr (std::string &, const YieldMsg &)
std::string toStr (const YieldMsg &msg)

Typedef Documentation

◆ Byte

typedef UInt8 Byte

Alias for Byte.

Definition at line 37 of file Memory.h.

◆ Char

typedef char Char

Character type alias.

Definition at line 42 of file String.h.

◆ CpuIndex

typedef size_t CpuIndex

Zero-based index of CPU.

Definition at line 98 of file Defines.h.

◆ HandlerLogs

typedef std::vector<std::string> HandlerLogs

Ordered list of logs to be replayed.

Definition at line 34 of file Replay.h.

◆ HandlerLogsEntry

typedef std::vector<std::string>::iterator HandlerLogsEntry

Read-write iterator over ordered list of logs to be replayed.

Definition at line 37 of file Replay.h.

◆ InstrumentId

typedef UInt32 InstrumentId

Alias for Instrument Id type.

Definition at line 81 of file Defines.h.

◆ MessageSize

typedef UInt16 MessageSize

Aliases message length type.

Definition at line 93 of file Defines.h.

◆ OrderId

typedef UInt64 OrderId

Alias for Order Id type.

Definition at line 84 of file Defines.h.

◆ OrderInfos

typedef std::vector<OrderInfo> OrderInfos

Definition at line 45 of file OrderBook.h.

◆ Price

typedef Int32 Price

Alias for Order Id type.

Definition at line 87 of file Defines.h.

◆ PriceLevels

Sequence of price levels.

Definition at line 163 of file OrderBook.h.

◆ PriceLevelsConstEntry

Iterator over read-only collection of price levels.

Definition at line 169 of file OrderBook.h.

◆ PriceLevelsEntry

Iterator to access price levels with write permissions.

Definition at line 166 of file OrderBook.h.

◆ Quantity

typedef UInt32 Quantity

Alias for Quantity type.

Definition at line 90 of file Defines.h.

◆ SequenceNumber

typedef UInt32 SequenceNumber

Alias for Sequence Number type.

Definition at line 40 of file Defines.h.

Function Documentation

◆ advanceBackByBytes()

template<typename Type>
Type * advanceBackByBytes ( Type * pointer,
ptrdiff_t distance )
inlinenoexcept

Returns pointer which is lower than given one to a given number of bytes.

Definition at line 129 of file Memory.h.

◆ advanceByBytes()

template<typename Type>
Type * advanceByBytes ( Type * pointer,
ptrdiff_t distance )
inlinenoexcept

Advances given pointer to a given offset (distance) in bytes.

Definition at line 109 of file Memory.h.

◆ byteDistance()

template<typename Left, typename Right>
ptrdiff_t byteDistance ( Left * left,
Right * right )
inlinenoexcept

Returns distance in bytes between two pointers.

Definition at line 149 of file Memory.h.

◆ enumToString() [1/3]

ONIXS_HKEX_OMDC_API std::string enumToString ( ErrorCode::Enum )

Returns string representation of ErrorCode value.

◆ enumToString() [2/3]

ONIXS_HKEX_OMDC_API std::string enumToString ( HandlerState::Enum )

Returns string representation of HandlerState value.

◆ enumToString() [3/3]

ONIXS_HKEX_OMDC_API std::string enumToString ( LogLevel::Enum )

Returns string representation of ErrorCode value.

◆ fromSeconds()

Timestamp fromSeconds ( UInt32 secondsSinceEpoch)
inline

Create Timestamp from whole seconds since the Epoch.

Definition at line 703 of file Time.h.

◆ fromStr() [1/2]

ONIXS_HKEX_OMDC_API bool fromStr ( Timestamp & ,
const char * ,
size_t  )

De-serializes a timestamp from the given string.

◆ fromStr() [2/2]

bool fromStr ( Timestamp & ts,
const std::string & str )
inline

Definition at line 902 of file Time.h.

◆ gatherLogs()

void ONIXS_HKEX_OMDC_API gatherLogs ( HandlerLogs * gatheredLogs,
const std::string & root )

Gathers log files logs which are stored in a given folder.

◆ getPrice()

const Price & getPrice ( const PriceLevel & level)
inlinenoexcept

Returns value of Price8.

Definition at line 268 of file OrderBook.h.

◆ isValid()

bool isValid ( const PriceLevel & level)
inlinenoexcept

Indicates whether the instance of PriceLevel is valid.

Definition at line 274 of file OrderBook.h.

◆ operator!=() [1/7]

bool operator!= ( const Char * str,
const StrRef & ref )
inline

Compares StrRef with zero-terminated/C-like string.

Definition at line 373 of file String.h.

◆ operator!=() [2/7]

bool operator!= ( const std::string & str,
const StrRef & ref )
inline

Compares StrRef with std::string.

Definition at line 333 of file String.h.

◆ operator!=() [3/7]

bool operator!= ( const StrRef & left,
const StrRef & right )
inline

Compares with another instance.

Definition at line 293 of file String.h.

◆ operator!=() [4/7]

bool operator!= ( const StrRef & ref,
const Char * str )
inline

Compares StrRef with zero-terminated/C-like string.

Definition at line 353 of file String.h.

◆ operator!=() [5/7]

bool operator!= ( const StrRef & ref,
const std::string & str )
inline

Compares StrRef with std::string.

Definition at line 313 of file String.h.

◆ operator!=() [6/7]

bool operator!= ( const TimeSpan & left,
const TimeSpan & right )
inline

Compares with other instance for in-equality.

Definition at line 337 of file Time.h.

◆ operator!=() [7/7]

bool operator!= ( const Timestamp & left,
const Timestamp & right )
inline

Compares with instances for inequality.

Definition at line 726 of file Time.h.

◆ operator+()

Timestamp operator+ ( const Timestamp & timestamp,
const TimeSpan & timeSpan )
inline

Adds time interval to given time point.

Definition at line 791 of file Time.h.

◆ operator-() [1/2]

TimeSpan operator- ( const Timestamp & left,
const Timestamp & right )
inline

Calculates time interval between two time points.

Definition at line 819 of file Time.h.

◆ operator-() [2/2]

Timestamp operator- ( const Timestamp & timestamp,
const TimeSpan & timeSpan )
inline

Subtracts time interval from given time point.

Definition at line 805 of file Time.h.

◆ operator<() [1/3]

bool operator< ( const StrRef & left,
const StrRef & right )
inline

Establishes order over string refs.

Definition at line 382 of file String.h.

◆ operator<() [2/3]

bool operator< ( const TimeSpan & left,
const TimeSpan & right )
inline

Checks whether left time interval less than right one.

Definition at line 346 of file Time.h.

◆ operator<() [3/3]

bool operator< ( const Timestamp & left,
const Timestamp & right )
inline

Establishes order between two instances.

Definition at line 738 of file Time.h.

◆ operator<<() [1/8]

ONIXS_HKEX_OMDC_API std::ostream & operator<< ( std::ostream & stream,
const DataSource & ds )

◆ operator<<() [2/8]

ONIXS_HKEX_OMDC_API std::ostream & operator<< ( std::ostream & stream,
const FeedDescriptor & descriptor )

◆ operator<<() [3/8]

ONIXS_HKEX_OMDC_API std::ostream & operator<< ( std::ostream & stream,
const FeedEngineSettings & settings )

◆ operator<<() [4/8]

ONIXS_HKEX_OMDC_API std::ostream & operator<< ( std::ostream & stream,
const HandlerSettings & settings )

◆ operator<<() [5/8]

ONIXS_HKEX_OMDC_API std::ostream & operator<< ( std::ostream & stream,
const PriceLevel & value )

◆ operator<<() [6/8]

ONIXS_HKEX_OMDC_API std::ostream & operator<< ( std::ostream & stream,
const RetransmissionHandlerSettings & settings )

◆ operator<<() [7/8]

ONIXS_HKEX_OMDC_API std::ostream & operator<< ( std::ostream & stream,
const ServiceDescriptor & descriptor )

◆ operator<<() [8/8]

std::ostream & operator<< ( std::ostream & stream,
const StrRef & text )
inline

StrRef serialization operator.

Definition at line 418 of file String.h.

◆ operator<=()

bool operator<= ( const Timestamp & left,
const Timestamp & right )
inline

Establishes order between two instances.

Definition at line 751 of file Time.h.

◆ operator==() [1/8]

bool operator== ( const Char * str,
const StrRef & ref )
inline

Compares StrRef with zero-terminated/C-like string.

Definition at line 363 of file String.h.

◆ operator==() [2/8]

bool operator== ( const PriceLevel & l,
const PriceLevel & r )
inlinenoexcept

compare

Definition at line 280 of file OrderBook.h.

◆ operator==() [3/8]

bool operator== ( const std::string & str,
const StrRef & ref )
inline

Compares StrRef with std::string.

Definition at line 323 of file String.h.

◆ operator==() [4/8]

bool operator== ( const StrRef & left,
const StrRef & right )
inline

Compares StrRef instance with another one.

Definition at line 279 of file String.h.

◆ operator==() [5/8]

bool operator== ( const StrRef & ref,
const Char * str )
inline

Compares StrRef with zero-terminated/C-like string.

Definition at line 343 of file String.h.

◆ operator==() [6/8]

bool operator== ( const StrRef & ref,
const std::string & str )
inline

Compares StrRef with std::string.

Definition at line 303 of file String.h.

◆ operator==() [7/8]

bool operator== ( const TimeSpan & left,
const TimeSpan & right )
inline

Compares with other instance for equality.

Definition at line 327 of file Time.h.

◆ operator==() [8/8]

bool operator== ( const Timestamp & left,
const Timestamp & right )
inline

Compares with instances for equality.

Definition at line 713 of file Time.h.

◆ operator>() [1/3]

bool operator> ( const StrRef & left,
const StrRef & right )
inline

Establishes order over string refs.

Definition at line 409 of file String.h.

◆ operator>() [2/3]

bool operator> ( const TimeSpan & left,
const TimeSpan & right )
inline

Checks whether left time interval greater than right one.

Definition at line 357 of file Time.h.

◆ operator>() [3/3]

bool operator> ( const Timestamp & left,
const Timestamp & right )
inline

Establishes order between two instances.

Definition at line 765 of file Time.h.

◆ operator>=()

bool operator>= ( const Timestamp & left,
const Timestamp & right )
inline

Establishes order between two instances.

Definition at line 778 of file Time.h.

◆ operator|() [1/2]

Typed logical operator helper.

Definition at line 117 of file LogSettings.h.

◆ operator|() [2/2]

Typed logical operator helper.

Definition at line 88 of file LogSettings.h.

◆ throwIncorrectSize()

ONIXS_HKEX_OMDC_API void throwIncorrectSize ( const std::string & messageName,
MessageSize receivedSize,
MessageSize expectedSize )

◆ toByteBlock() [1/2]

template<typename Type>
const Byte * toByteBlock ( const Type * ptr)
inlinenoexcept

Reinterprets pointer to one referencing to byte block.

Definition at line 92 of file Memory.h.

◆ toByteBlock() [2/2]

template<typename Type>
Byte * toByteBlock ( Type * ptr)
inlinenoexcept

Reinterprets pointer to one referencing to byte block.

Definition at line 74 of file Memory.h.

◆ toOpaquePtr() [1/2]

template<typename Type>
const void * toOpaquePtr ( const Type * ptr)
inlinenoexcept

Makes pointer as opaque one.

Definition at line 59 of file Memory.h.

◆ toOpaquePtr() [2/2]

template<typename Type>
void * toOpaquePtr ( Type * ptr)
inlinenoexcept

Makes pointer as opaque one.

Definition at line 46 of file Memory.h.

◆ toStr() [1/101]

std::string toStr ( Char character)
inline

Constructs std::string from a character.

Definition at line 250 of file String.h.

◆ toStr() [2/101]

std::string toStr ( const AddOddLotOrderMsg & msg)
inline

Serializes object into string.

Definition at line 116 of file AddOddLotOrder.h.

◆ toStr() [3/101]

std::string toStr ( const AddOrderMsg & msg)
inline

Serializes object into string.

Definition at line 123 of file AddOrder.h.

◆ toStr() [4/101]

std::string toStr ( const AggregateOrderBookUpdateMsg & msg)
inline

Serializes object into string.

Definition at line 99 of file AggregateOrderBookUpdate.h.

◆ toStr() [5/101]

std::string toStr ( const BrokerQueueMsg & msg)
inline

Serializes object into string.

Definition at line 113 of file BrokerQueue.h.

◆ toStr() [6/101]

std::string toStr ( const ClosingPriceMsg & msg)
inline

Serializes object into string.

Definition at line 95 of file ClosingPrice.h.

◆ toStr() [7/101]

std::string toStr ( const CurrencyRateMsg & msg)
inline

Serializes object into string.

Definition at line 95 of file CurrencyRate.h.

◆ toStr() [8/101]

std::string toStr ( const DeleteOddLotOrderMsg & msg)
inline

Serializes object into string.

Definition at line 102 of file DeleteOddLotOrder.h.

◆ toStr() [9/101]

std::string toStr ( const DeleteOrderMsg & msg)
inline

Serializes object into string.

Definition at line 95 of file DeleteOrder.h.

◆ toStr() [10/101]

std::string toStr ( const DisasterRecoverySignalMsg & msg)
inline

Serializes object into string.

Definition at line 81 of file DisasterRecoverySignal.h.

◆ toStr() [11/101]

std::string toStr ( const Entry & msg)
inline

Serializes object into string.

Definition at line 102 of file AggregateOrderBookUpdate.Entry.h.

◆ toStr() [12/101]

std::string toStr ( const IndexDataMsg & msg)
inline

Serializes object into string.

Definition at line 180 of file IndexData.h.

◆ toStr() [13/101]

std::string toStr ( const IndexDefinitionMsg & msg)
inline

Serializes object into string.

Definition at line 95 of file IndexDefinition.h.

◆ toStr() [14/101]

std::string toStr ( const IndicativeEquilibriumPriceMsg & msg)
inline

Serializes object into string.

Definition at line 95 of file IndicativeEquilibriumPrice.h.

◆ toStr() [15/101]

std::string toStr ( const Item & msg)
inline

Serializes object into string.

Definition at line 74 of file BrokerQueue.Item.h.

◆ toStr() [16/101]

std::string toStr ( const LiquidityProviderMsg & msg)
inline

Serializes object into string.

Definition at line 98 of file LiquidityProvider.h.

◆ toStr() [17/101]

std::string toStr ( const MarketDefinitionMsg & msg)
inline

Serializes object into string.

Definition at line 102 of file MarketDefinition.h.

◆ toStr() [18/101]

std::string toStr ( const MarketTurnoverMsg & msg)
inline

Serializes object into string.

Definition at line 95 of file MarketTurnover.h.

◆ toStr() [19/101]

std::string toStr ( const ModifyOrderMsg & msg)
inline

Serializes object into string.

Definition at line 109 of file ModifyOrder.h.

◆ toStr() [20/101]

std::string toStr ( const NewsMsg & msg)
inline

Serializes object into string.

Definition at line 168 of file News.h.

◆ toStr() [21/101]

std::string toStr ( const NominalPriceMsg & msg)
inline

Serializes object into string.

Definition at line 88 of file NominalPrice.h.

◆ toStr() [22/101]

std::string toStr ( const OrderImbalanceMsg & msg)
inline

Serializes object into string.

Definition at line 97 of file OrderImbalance.h.

◆ toStr() [23/101]

std::string toStr ( const ReferencePriceMsg & msg)
inline

Serializes object into string.

Definition at line 104 of file ReferencePrice.h.

◆ toStr() [24/101]

std::string toStr ( const RefreshCompleteMsg & msg)
inline

Serializes object into string.

Definition at line 81 of file RefreshComplete.h.

◆ toStr() [25/101]

std::string toStr ( const SecurityDefinitionMsg & msg)
inline

Serializes object into string.

Definition at line 412 of file SecurityDefinition.h.

◆ toStr() [26/101]

std::string toStr ( const SecurityStatusMsg & msg)
inline

Serializes object into string.

Definition at line 88 of file SecurityStatus.h.

◆ toStr() [27/101]

std::string toStr ( const SequenceResetMsg & msg)
inline

Serializes object into string.

Definition at line 81 of file SequenceReset.h.

◆ toStr() [28/101]

std::string toStr ( const StatisticsMsg & msg)
inline

Serializes object into string.

Definition at line 137 of file Statistics.h.

◆ toStr() [29/101]

std::string toStr ( const StockConnectDailyQuotaBalanceMsg & msg)
inline

Serializes object into string.

Definition at line 102 of file StockConnectDailyQuotaBalance.h.

◆ toStr() [30/101]

std::string toStr ( const StockConnectMarketTurnoverMsg & msg)
inline

Serializes object into string.

Definition at line 111 of file StockConnectMarketTurnover.h.

◆ toStr() [31/101]

std::string toStr ( const StrRef & ref)
inline

Constructs std::string instance from StrRef one.

Definition at line 231 of file String.h.

◆ toStr() [32/101]

std::string toStr ( const TradeCancelMsg & msg)
inline

Serializes object into string.

Definition at line 89 of file TradeCancel.h.

◆ toStr() [33/101]

std::string toStr ( const TradeMsg & msg)
inline

Serializes object into string.

Definition at line 117 of file Trade.h.

◆ toStr() [34/101]

std::string toStr ( const TradeTickerMsg & msg)
inline

Serializes object into string.

Definition at line 124 of file TradeTicker.h.

◆ toStr() [35/101]

std::string toStr ( const TradingSessionStatusMsg & msg)
inline

Serializes object into string.

Definition at line 116 of file TradingSessionStatus.h.

◆ toStr() [36/101]

std::string toStr ( const UnderlyingSecurity & msg)
inline

Serializes object into string.

Definition at line 66 of file SecurityDefinition.UnderlyingSecurity.h.

◆ toStr() [37/101]

std::string toStr ( const VCMTriggerMsg & msg)
inline

Serializes object into string.

Definition at line 116 of file VCMTrigger.h.

◆ toStr() [38/101]

std::string toStr ( const YieldMsg & msg)
inline

Serializes object into string.

Definition at line 88 of file Yield.h.

◆ toStr() [39/101]

std::string toStr ( Int16 number)
inline

Serializes given integer into a string.

Definition at line 146 of file Integral.h.

◆ toStr() [40/101]

std::string toStr ( Int32 number)
inline

Serializes given integer into a string.

Definition at line 172 of file Integral.h.

◆ toStr() [41/101]

std::string toStr ( Int64 number)
inline

Serializes given integer into a string.

Definition at line 198 of file Integral.h.

◆ toStr() [42/101]

std::string toStr ( Int8 number)
inline

Serializes given integer into a string.

Definition at line 120 of file Integral.h.

◆ toStr() [43/101]

template<typename Type, Type Constant>
std::string toStr ( IntegralConstant< Type, Constant > constant)
inline

Serializes given constant into a string.

Definition at line 229 of file Integral.h.

◆ toStr() [44/101]

std::string toStr ( Side::Enum layout)
inline

Returns string presentation of object.

Definition at line 52 of file Enumerations.h.

◆ toStr() [45/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const AddOddLotOrderMsg &  )

Serializes object into string.

◆ toStr() [46/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const AddOrderMsg &  )

Serializes object into string.

◆ toStr() [47/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const AggregateOrderBookUpdateMsg &  )

Serializes object into string.

◆ toStr() [48/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const BrokerQueueMsg &  )

Serializes object into string.

◆ toStr() [49/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const ClosingPriceMsg &  )

Serializes object into string.

◆ toStr() [50/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const CurrencyRateMsg &  )

Serializes object into string.

◆ toStr() [51/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const DeleteOddLotOrderMsg &  )

Serializes object into string.

◆ toStr() [52/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const DeleteOrderMsg &  )

Serializes object into string.

◆ toStr() [53/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const DisasterRecoverySignalMsg &  )

Serializes object into string.

◆ toStr() [54/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const Entry &  )

Serializes object into string.

◆ toStr() [55/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const IndexDataMsg &  )

Serializes object into string.

◆ toStr() [56/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const IndexDefinitionMsg &  )

Serializes object into string.

◆ toStr() [57/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const IndicativeEquilibriumPriceMsg &  )

Serializes object into string.

◆ toStr() [58/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const Item &  )

Serializes object into string.

◆ toStr() [59/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const LiquidityProviderMsg &  )

Serializes object into string.

◆ toStr() [60/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const MarketDefinitionMsg &  )

Serializes object into string.

◆ toStr() [61/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const MarketTurnoverMsg &  )

Serializes object into string.

◆ toStr() [62/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const ModifyOrderMsg &  )

Serializes object into string.

◆ toStr() [63/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const NewsMsg &  )

Serializes object into string.

◆ toStr() [64/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const NominalPriceMsg &  )

Serializes object into string.

◆ toStr() [65/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const OrderImbalanceMsg &  )

Serializes object into string.

◆ toStr() [66/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const ReferencePriceMsg &  )

Serializes object into string.

◆ toStr() [67/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const RefreshCompleteMsg &  )

Serializes object into string.

◆ toStr() [68/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const SecurityDefinitionMsg &  )

Serializes object into string.

◆ toStr() [69/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const SecurityStatusMsg &  )

Serializes object into string.

◆ toStr() [70/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const SequenceResetMsg &  )

Serializes object into string.

◆ toStr() [71/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const StatisticsMsg &  )

Serializes object into string.

◆ toStr() [72/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const StockConnectDailyQuotaBalanceMsg &  )

Serializes object into string.

◆ toStr() [73/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const StockConnectMarketTurnoverMsg &  )

Serializes object into string.

◆ toStr() [74/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const TradeCancelMsg &  )

Serializes object into string.

◆ toStr() [75/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const TradeMsg &  )

Serializes object into string.

◆ toStr() [76/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const TradeTickerMsg &  )

Serializes object into string.

◆ toStr() [77/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const TradingSessionStatusMsg &  )

Serializes object into string.

◆ toStr() [78/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const UnderlyingSecurity &  )

Serializes object into string.

◆ toStr() [79/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const VCMTriggerMsg &  )

Serializes object into string.

◆ toStr() [80/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
const YieldMsg &  )

Serializes object into string.

◆ toStr() [81/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
Int16  )

Serializes given integer into a string.

◆ toStr() [82/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
Int32  )

Serializes given integer into a string.

◆ toStr() [83/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
Int64  )

Serializes given integer into a string.

◆ toStr() [84/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
Int8  )

Serializes given integer into a string.

◆ toStr() [85/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
Side::Enum  )

Appends string presentation of object.

◆ toStr() [86/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
UInt16  )

Serializes given integer into a string.

◆ toStr() [87/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
UInt32  )

Serializes given integer into a string.

◆ toStr() [88/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
UInt64  )

Serializes given integer into a string.

◆ toStr() [89/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & ,
UInt8  )

Serializes given integer into a string.

◆ toStr() [90/101]

void toStr ( std::string & str,
Char character )
inline

Appends character to given std::string instance.

Definition at line 259 of file String.h.

◆ toStr() [91/101]

void toStr ( std::string & str,
const std::string & value )
inline

Appends one string another one.

Definition at line 269 of file String.h.

◆ toStr() [92/101]

void toStr ( std::string & str,
const StrRef & ref )
inline

Appends text referenced by StrRef to given std::string instance.

Definition at line 240 of file String.h.

◆ toStr() [93/101]

template<typename Type, Type Constant>
void toStr ( std::string & str,
IntegralConstant< Type, Constant > constant )
inline

Serializes given constant into a string.

Definition at line 222 of file Integral.h.

◆ toStr() [94/101]

void toStr ( std::string & str,
TimeSpan timeSpan,
TimeSpanFormat::Enum format = TimeSpanFormat::SDHHMMSSnsec )
inline

Appends timespan formatted in specified pattern to given string.

Definition at line 400 of file Time.h.

◆ toStr() [95/101]

ONIXS_HKEX_OMDC_API void toStr ( std::string & str,
Timestamp timestamp,
TimestampFormat::Enum format = TimestampFormat::YYYYMMDDHHMMSSnsec )

Serializes timestamp according to specified pattern.

◆ toStr() [96/101]

std::string toStr ( TimeSpan timeSpan,
TimeSpanFormat::Enum format = TimeSpanFormat::SDHHMMSSnsec )
inline

Formats timespan according to specified pattern.

Definition at line 430 of file Time.h.

◆ toStr() [97/101]

std::string toStr ( Timestamp timestamp,
TimestampFormat::Enum format = TimestampFormat::YYYYMMDDHHMMSSnsec )
inline

Serializes timestamp according to specified pattern.

Definition at line 880 of file Time.h.

◆ toStr() [98/101]

std::string toStr ( UInt16 number)
inline

Serializes given integer into a string.

Definition at line 159 of file Integral.h.

◆ toStr() [99/101]

std::string toStr ( UInt32 number)
inline

Serializes given integer into a string.

Definition at line 185 of file Integral.h.

◆ toStr() [100/101]

std::string toStr ( UInt64 number)
inline

Serializes given integer into a string.

Definition at line 211 of file Integral.h.

◆ toStr() [101/101]

std::string toStr ( UInt8 number)
inline

Serializes given integer into a string.

Definition at line 133 of file Integral.h.

◆ toStrAsHHMMSS()

ONIXS_HKEX_OMDC_API void toStrAsHHMMSS ( std::string & ,
TimeSpan  )

◆ toStrAsHHMMSSmsec()

ONIXS_HKEX_OMDC_API void toStrAsHHMMSSmsec ( std::string & ,
TimeSpan  )

◆ toStrAsSDHHMMSSnsec()

ONIXS_HKEX_OMDC_API void toStrAsSDHHMMSSnsec ( std::string & ,
TimeSpan  )

◆ toStrAsYYYYMMDD()

ONIXS_HKEX_OMDC_API void toStrAsYYYYMMDD ( std::string & ,
Timestamp  )

Serializes timestamp in YYYYMMDD format.

◆ toStrAsYYYYMMDDHHMMSS()

ONIXS_HKEX_OMDC_API void toStrAsYYYYMMDDHHMMSS ( std::string & ,
Timestamp  )

Serializes timestamp in YYYYMMDDHHMMSS format.

◆ toStrAsYYYYMMDDHHMMSSmsec()

ONIXS_HKEX_OMDC_API void toStrAsYYYYMMDDHHMMSSmsec ( std::string & ,
Timestamp  )

Serializes timestamp in YYYYMMDDHHMMSSmsec format.

◆ toStrAsYYYYMMDDHHMMSSnsec()

ONIXS_HKEX_OMDC_API void toStrAsYYYYMMDDHHMMSSnsec ( std::string & ,
Timestamp  )

Serializes timestamp in YYYYMMDDHHMMSSnsec format.

◆ toStrRef() [1/2]

StrRef toStrRef ( const Char * cStr)
inline

Initializes instance from zero-terminated/C-like string.

Definition at line 216 of file String.h.

◆ toStrRef() [2/2]

StrRef toStrRef ( const std::string & str)
inline

Constructs StrRef instance over std::string content.

Definition at line 207 of file String.h.

◆ unalignedCopy()

template<class FieldValue>
FieldValue unalignedCopy ( const void * p)
inlinenoexcept

Definition at line 166 of file Memory.h.