OnixS C++ SGX Titan OUCH Trading Handler  1.0.4
API documentation
OnixS::SgxTitan::Trading::Ouch Namespace Reference

Namespaces

 Implementation
 

Classes

class  ArgumentException
 
class  ArgumentRangeException
 
struct  BigEndianConverter
 
struct  Binary12
 
class  BinaryFields
 
class  BinaryMessage
 
struct  CancelByOrderId
 
struct  CancellationReason
 
struct  CancelOrder
 
struct  ConnectionRetries
 
struct  EnterOrder
 
struct  EnterOrderOpenClose
 
struct  ErrorCode
 
class  ErrorListener
 
class  Exception
 
class  FormatSpec
 
class  Handler
 
struct  HandlerSettings
 
struct  HandlerState
 
class  HandlerStateListener
 
struct  InboundMessageTypes
 
struct  IntegralConstant
 
struct  LeftPaddedStringTraits
 
struct  LogLevel
 
struct  LogonSettings
 
struct  LogSettings
 
class  MessageListener
 
struct  Month
 
class  MutableBinaryFields
 
class  MutableBinaryMessage
 
class  NotImplementedException
 
class  NullArgumentException
 
class  OperationException
 
struct  OrderAccepted
 
struct  OrderCancelled
 
struct  OrderExecuted
 
struct  OrderRejected
 
struct  OrderReplaced
 
struct  OrderState
 
struct  OrderType
 
struct  OutboundMessageTypes
 
struct  ReplaceOrder
 
struct  ReplaceOrderOpenClose
 
struct  RightPaddedStringTraits
 
class  Semaphore
 
class  SessionListener
 
struct  Side
 
struct  String
 
class  StrRef
 
struct  TimeInForce
 
class  TimeManager
 
class  TimeSpan
 
struct  TimeSpanFormats
 
class  Timestamp
 
struct  TimestampFormat
 
class  WarningListener
 
struct  YearMonthDay
 

Typedefs

typedef Binary2 MessageSize
 
typedef TimeSpanFormats::Enum TimeSpanFormat
 
typedef std::set< int > CpuIndexes
 
typedef char Char
 
typedef UInt8 Binary1
 
typedef UInt16 Binary2
 
typedef UInt32 Binary4
 
typedef UInt64 Binary8
 
typedef Int32 SignedBinary4
 
typedef SignedBinary4 BinaryPrice
 
typedef UInt64 DateTime
 
typedef UInt8 Byte
 
typedef UInt16 Word
 
typedef UInt32 DWord
 
typedef UInt64 QWord
 
typedef OnixS::Concurrency::RecursiveMutex Mutex
 
typedef OnixS::Concurrency::Condition Condition
 
typedef OnixS::Concurrency::Guard< OnixS::Concurrency::Mutex > Guard
 
typedef Guard ReleaseGuard
 

Functions

ONIXS_SGXTITAN_OUCH_API void throwIncorrectSize (const std::string &messageName, MessageSize receivedSize, MessageSize expectedSize)
 
ONIXS_SGXTITAN_OUCH_API std::string enumToString (HandlerState::Enum)
 
ONIXS_SGXTITAN_OUCH_API std::ostream & operator<< (std::ostream &stream, HandlerState::Enum value)
 
ONIXS_SGXTITAN_OUCH_API void toStr (std::string &, OutboundMessageTypes::Enum)
 
std::string toStr (OutboundMessageTypes::Enum value)
 
ONIXS_SGXTITAN_OUCH_API void toStr (std::string &, InboundMessageTypes::Enum)
 
std::string toStr (InboundMessageTypes::Enum value)
 
ONIXS_SGXTITAN_OUCH_API void toStr (std::string &, Side::Enum)
 
std::string toStr (Side::Enum value)
 
ONIXS_SGXTITAN_OUCH_API void toStr (std::string &, EnterOrderOpenClose::Enum)
 
std::string toStr (EnterOrderOpenClose::Enum value)
 
ONIXS_SGXTITAN_OUCH_API void toStr (std::string &, ReplaceOrderOpenClose::Enum)
 
std::string toStr (ReplaceOrderOpenClose::Enum value)
 
ONIXS_SGXTITAN_OUCH_API void toStr (std::string &, TimeInForce::Enum)
 
std::string toStr (TimeInForce::Enum value)
 
ONIXS_SGXTITAN_OUCH_API void toStr (std::string &, OrderState::Enum)
 
std::string toStr (OrderState::Enum value)
 
ONIXS_SGXTITAN_OUCH_API void toStr (std::string &, CancellationReason::Enum)
 
std::string toStr (CancellationReason::Enum value)
 
ONIXS_SGXTITAN_OUCH_API void toStr (std::string &, OrderType::Enum)
 
std::string toStr (OrderType::Enum value)
 
TimeSpan operator- (const Timestamp &left, const Timestamp &right)
 
ONIXS_SGXTITAN_OUCH_API void toStr (std::string &, const ConnectionRetries &)
 
std::string toStr (const ConnectionRetries &value)
 
ONIXS_SGXTITAN_OUCH_API void toStr (std::string &, const HandlerSettings &)
 
std::string toStr (const HandlerSettings &value)
 
ONIXS_SGXTITAN_OUCH_API void toStr (std::string &, const LogonSettings &)
 
std::string toStr (const LogonSettings &value)
 
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_SGXTITAN_OUCH_API void toStr (std::string &, const Binary12 &)
 
std::string toStr (const Binary12 number)
 
ONIXS_SGXTITAN_OUCH_API void toStr (std::string &, Int8)
 
std::string toStr (Int8 number)
 
ONIXS_SGXTITAN_OUCH_API void toStr (std::string &, UInt8)
 
std::string toStr (UInt8 number)
 
ONIXS_SGXTITAN_OUCH_API void toStr (std::string &, Int16)
 
std::string toStr (Int16 number)
 
ONIXS_SGXTITAN_OUCH_API void toStr (std::string &, UInt16)
 
std::string toStr (UInt16 number)
 
ONIXS_SGXTITAN_OUCH_API void toStr (std::string &, Int32)
 
std::string toStr (Int32 number)
 
ONIXS_SGXTITAN_OUCH_API void toStr (std::string &, UInt32)
 
std::string toStr (UInt32 number)
 
ONIXS_SGXTITAN_OUCH_API void toStr (std::string &, Int64)
 
std::string toStr (Int64 number)
 
ONIXS_SGXTITAN_OUCH_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)
 
template<typename Target , typename Source >
Target c_cast (Source src)
 
template<typename Type >
void * toOpaquePtr (Type *ptr)
 
template<typename Type >
const void * toOpaquePtr (const Type *ptr)
 
template<typename Type >
BytetoByteBlock (Type *ptr)
 
template<typename Type >
const BytetoByteBlock (const Type *ptr)
 
template<typename Type >
Type * advanceByBytes (Type *pointer, ptrdiff_t distance)
 
template<typename Type >
Type * advanceBackByBytes (Type *pointer, ptrdiff_t distance)
 
template<typename Left , typename Right >
ptrdiff_t byteDistance (Left *left, Right *right)
 
ONIXS_SGXTITAN_OUCH_API std::string enumToString (LogLevel::Enum)
 
LogSettings::Enum operator| (LogSettings::Enum a, LogSettings::Enum b)
 
ONIXS_SGXTITAN_OUCH_API std::string enumToString (LogSettings::Enum)
 
ONIXS_SGXTITAN_OUCH_API std::string bitsToString (LogSettings::Enum)
 
ONIXS_SGXTITAN_OUCH_API std::string enumToString (ErrorCode::Enum)
 
ONIXS_SGXTITAN_OUCH_API void toStr (std::string &, const CancelOrder &)
 
std::string toStr (const CancelOrder &msg)
 
std::ostream & operator<< (std::ostream &stream, const CancelOrder &msg)
 
ONIXS_SGXTITAN_OUCH_API void toStr (std::string &, const EnterOrder &)
 
std::string toStr (const EnterOrder &msg)
 
std::ostream & operator<< (std::ostream &stream, const EnterOrder &msg)
 
ONIXS_SGXTITAN_OUCH_API void toStr (std::string &, const OrderAccepted &)
 
std::string toStr (const OrderAccepted &msg)
 
std::ostream & operator<< (std::ostream &stream, const OrderAccepted &msg)
 
ONIXS_SGXTITAN_OUCH_API void toStr (std::string &, const OrderCancelled &)
 
std::string toStr (const OrderCancelled &msg)
 
std::ostream & operator<< (std::ostream &stream, const OrderCancelled &msg)
 
ONIXS_SGXTITAN_OUCH_API void toStr (std::string &, const CancelByOrderId &)
 
std::string toStr (const CancelByOrderId &msg)
 
std::ostream & operator<< (std::ostream &stream, const CancelByOrderId &msg)
 
ONIXS_SGXTITAN_OUCH_API void toStr (std::string &, const OrderRejected &)
 
std::string toStr (const OrderRejected &msg)
 
std::ostream & operator<< (std::ostream &stream, const OrderRejected &msg)
 
ONIXS_SGXTITAN_OUCH_API void toStr (std::string &, const OrderReplaced &)
 
std::string toStr (const OrderReplaced &msg)
 
std::ostream & operator<< (std::ostream &stream, const OrderReplaced &msg)
 
ONIXS_SGXTITAN_OUCH_API void toStr (std::string &, const ReplaceOrder &)
 
std::string toStr (const ReplaceOrder &msg)
 
std::ostream & operator<< (std::ostream &stream, const ReplaceOrder &msg)
 
ONIXS_SGXTITAN_OUCH_API void toStr (std::string &, const OrderExecuted &)
 
std::string toStr (const OrderExecuted &msg)
 
std::ostream & operator<< (std::ostream &stream, const OrderExecuted &msg)
 
template<size_t N>
bool operator== (const String< N > &ref, const std::string &str)
 
template<size_t N>
bool operator!= (const String< N > &ref, const std::string &str)
 
template<size_t N>
bool operator== (const String< N > &ref, Byte ch)
 
template<size_t N>
bool operator!= (const String< N > &ref, Byte ch)
 
template<size_t N>
std::ostream & operator<< (std::ostream &stream, const String< N > &value)
 
template<size_t N>
void toStr (std::string &str, const String< N > &value)
 
template<size_t N>
std::string toStr (const String< N > &value)
 
template<typename Integer >
boost::enable_if< boost::is_signed< Integer >, bool >::type isNegative (Integer &integer)
 
template<typename Integer >
boost::enable_if< boost::is_unsigned< Integer >, bool >::type isNegative (Integer &)
 
void addNegativeSign (std::string &str)
 
template<typename Integer >
boost::enable_if< boost::is_signed< Integer > >::type addNegativeSign (std::string &str, Integer integer)
 
template<typename Integer >
boost::enable_if< boost::is_unsigned< Integer > >::type addNegativeSign (std::string &, Integer)
 
template<typename Integer >
boost::enable_if< boost::is_integral< Integer >, size_t >::type countDigits (Integer integer)
 
template<typename Integer >
boost::enable_if< boost::is_integral< Integer >, size_t >::type digitsToStr (Char *str, Integer integer)
 
template<typename Integer >
boost::enable_if< boost::is_integral< Integer >, size_t >::type measureInteger (Integer integer)
 
template<typename Integer >
boost::enable_if< boost::is_integral< Integer > >::type integerToStr (std::string &str, Integer integer)
 
void addIntegerAlignmentSpace (std::string &str, const FormatSpec &format, size_t digitsQty)
 
void addIntegerPrecisionZeros (std::string &str, const FormatSpec &format, size_t digitsQty)
 
template<typename Integer >
boost::enable_if< boost::is_integral< Integer > >::type integerToStr (std::string &str, const FormatSpec &format, Integer integer)
 
void boolToStr (std::string &str, bool value)
 
template<class Item >
void itemToStr (std::string &str, const Item &item)
 
void itemToStr (std::string &str, const std::string &item)
 
template<class Iterator >
void containerToStr (std::string &str, Iterator containerBegin, Iterator containerEnd, const std::string &delimiter=",")
 
template<class Constant >
void throwOutOfEnumRange (const Char *enumeration, Constant)
 
 BOOST_STATIC_ASSERT_MSG (sizeof(Int8)==1,"Size of ""Int8"" must be ""1"". ")
 
 BOOST_STATIC_ASSERT_MSG (sizeof(UInt8)==1,"Size of ""UInt8"" must be ""1"". ")
 
 BOOST_STATIC_ASSERT_MSG (sizeof(Int16)==2,"Size of ""Int16"" must be ""2"". ")
 
 BOOST_STATIC_ASSERT_MSG (sizeof(UInt16)==2,"Size of ""UInt16"" must be ""2"". ")
 
 BOOST_STATIC_ASSERT_MSG (sizeof(Int32)==4,"Size of ""Int32"" must be ""4"". ")
 
 BOOST_STATIC_ASSERT_MSG (sizeof(UInt32)==4,"Size of ""UInt32"" must be ""4"". ")
 
 BOOST_STATIC_ASSERT_MSG (sizeof(Int64)==8,"Size of ""Int64"" must be ""8"". ")
 
 BOOST_STATIC_ASSERT_MSG (sizeof(UInt64)==8,"Size of ""UInt64"" must be ""8"". ")
 
 BOOST_STATIC_ASSERT_MSG (sizeof(Binary12)==12,"Size of ""Binary12"" must be ""12"". ")
 

Typedef Documentation

typedef UInt8 Binary1

Definition at line 37 of file Defines.h.

typedef UInt16 Binary2

Definition at line 38 of file Defines.h.

typedef UInt32 Binary4

Definition at line 39 of file Defines.h.

typedef UInt64 Binary8

Definition at line 40 of file Defines.h.

Definition at line 42 of file Defines.h.

typedef UInt8 Byte

Alias for Byte.

Definition at line 36 of file Memory.h.

typedef char Char

Character type alias.

Definition at line 40 of file String.h.

typedef OnixS::Concurrency::Condition Condition

Definition at line 43 of file Utils.h.

typedef std::set<int> CpuIndexes

Logical processors that a thread is allowed to run on (first logical CPU has index 0).

Definition at line 75 of file HandlerSettings.h.

typedef UInt64 DateTime

Definition at line 43 of file Defines.h.

typedef UInt32 DWord

Alias for Double Word.

Definition at line 42 of file Memory.h.

typedef OnixS::Concurrency::Guard<OnixS::Concurrency::Mutex> Guard

Definition at line 44 of file Utils.h.

Aliases message length type.

Definition at line 60 of file BinaryMessage.h.

typedef OnixS::Concurrency::RecursiveMutex Mutex

Definition at line 42 of file Utils.h.

typedef UInt64 QWord

Alias for Quad Word.

Definition at line 45 of file Memory.h.

Definition at line 45 of file Utils.h.

typedef Int32 SignedBinary4

Definition at line 41 of file Defines.h.

Time span format.

Definition at line 48 of file TimeSpan.h.

typedef UInt16 Word

Alias for Word.

Definition at line 39 of file Memory.h.

Function Documentation

void OnixS::SgxTitan::Trading::Ouch::addIntegerAlignmentSpace ( std::string &  str,
const FormatSpec format,
size_t  digitsQty 
)
inline

Definition at line 326 of file NumberFormatting.h.

void OnixS::SgxTitan::Trading::Ouch::addIntegerPrecisionZeros ( std::string &  str,
const FormatSpec format,
size_t  digitsQty 
)
inline

Definition at line 346 of file NumberFormatting.h.

void OnixS::SgxTitan::Trading::Ouch::addNegativeSign ( std::string &  str)
inline

Definition at line 77 of file NumberFormatting.h.

boost::enable_if< boost::is_signed<Integer> >:: type OnixS::SgxTitan::Trading::Ouch::addNegativeSign ( std::string &  str,
Integer  integer 
)
inline

Definition at line 96 of file NumberFormatting.h.

boost::enable_if< boost::is_unsigned<Integer> >:: type OnixS::SgxTitan::Trading::Ouch::addNegativeSign ( std::string &  ,
Integer   
)
inline

Definition at line 115 of file NumberFormatting.h.

Type* OnixS::SgxTitan::Trading::Ouch::advanceBackByBytes ( Type *  pointer,
ptrdiff_t  distance 
)
inline

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

Definition at line 144 of file Memory.h.

Type* OnixS::SgxTitan::Trading::Ouch::advanceByBytes ( Type *  pointer,
ptrdiff_t  distance 
)
inline

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

Definition at line 125 of file Memory.h.

ONIXS_SGXTITAN_OUCH_API std::string OnixS::SgxTitan::Trading::Ouch::bitsToString ( LogSettings::Enum  )

Returns string representation.

void OnixS::SgxTitan::Trading::Ouch::boolToStr ( std::string &  str,
bool  value 
)
inline

Definition at line 37 of file SerializationUtils.h.

OnixS::SgxTitan::Trading::Ouch::BOOST_STATIC_ASSERT_MSG ( sizeof(Int8)  = =1,
"Size of ""Int8"" must be ""1"". "   
)
OnixS::SgxTitan::Trading::Ouch::BOOST_STATIC_ASSERT_MSG ( sizeof(UInt8)  = =1,
"Size of ""UInt8"" must be ""1"". "   
)
OnixS::SgxTitan::Trading::Ouch::BOOST_STATIC_ASSERT_MSG ( sizeof(Int16)  = =2,
"Size of ""Int16"" must be ""2"". "   
)
OnixS::SgxTitan::Trading::Ouch::BOOST_STATIC_ASSERT_MSG ( sizeof(UInt16)  = =2,
"Size of ""UInt16"" must be ""2"". "   
)
OnixS::SgxTitan::Trading::Ouch::BOOST_STATIC_ASSERT_MSG ( sizeof(Int32)  = =4,
"Size of ""Int32"" must be ""4"". "   
)
OnixS::SgxTitan::Trading::Ouch::BOOST_STATIC_ASSERT_MSG ( sizeof(UInt32)  = =4,
"Size of ""UInt32"" must be ""4"". "   
)
OnixS::SgxTitan::Trading::Ouch::BOOST_STATIC_ASSERT_MSG ( sizeof(Int64)  = =8,
"Size of ""Int64"" must be ""8"". "   
)
OnixS::SgxTitan::Trading::Ouch::BOOST_STATIC_ASSERT_MSG ( sizeof(UInt64)  = =8,
"Size of ""UInt64"" must be ""8"". "   
)
OnixS::SgxTitan::Trading::Ouch::BOOST_STATIC_ASSERT_MSG ( sizeof(Binary12 = =12,
"Size of ""Binary12"" must be ""12"". "   
)
ptrdiff_t OnixS::SgxTitan::Trading::Ouch::byteDistance ( Left *  left,
Right *  right 
)
inline

Returns distance in bytes between two pointers.

Definition at line 163 of file Memory.h.

Target OnixS::SgxTitan::Trading::Ouch::c_cast ( Source  src)
inline

Casts data of source type to the data of target type using C casting rules.

Definition at line 54 of file Memory.h.

void OnixS::SgxTitan::Trading::Ouch::containerToStr ( std::string &  str,
Iterator  containerBegin,
Iterator  containerEnd,
const std::string &  delimiter = "," 
)
inline

Definition at line 74 of file SerializationUtils.h.

boost::enable_if< boost::is_integral<Integer>, size_t >:: type OnixS::SgxTitan::Trading::Ouch::countDigits ( Integer  integer)
inline

Definition at line 136 of file NumberFormatting.h.

boost::enable_if< boost::is_integral<Integer>, size_t >:: type OnixS::SgxTitan::Trading::Ouch::digitsToStr ( Char str,
Integer  integer 
)

Definition at line 162 of file NumberFormatting.h.

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

Returns string representation of ErrorCode value.

Definition at line 63 of file Emumerations.Internal.cpp.

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

Returns string representation of HandlerState value.

Definition at line 72 of file Emumerations.Internal.cpp.

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

Returns string representation.

Definition at line 36 of file Emumerations.Internal.cpp.

std::string enumToString ( LogSettings::Enum  value)

Returns string representation.

Definition at line 50 of file Emumerations.Internal.cpp.

boost::enable_if< boost::is_integral<Integer> >:: type OnixS::SgxTitan::Trading::Ouch::integerToStr ( std::string &  str,
Integer  integer 
)

Definition at line 244 of file NumberFormatting.h.

boost::enable_if< boost::is_integral<Integer> >:: type OnixS::SgxTitan::Trading::Ouch::integerToStr ( std::string &  str,
const FormatSpec format,
Integer  integer 
)

Definition at line 371 of file NumberFormatting.h.

boost::enable_if< boost::is_signed<Integer>, bool >:: type OnixS::SgxTitan::Trading::Ouch::isNegative ( Integer &  integer)
inline

Definition at line 49 of file NumberFormatting.h.

boost::enable_if< boost::is_unsigned<Integer>, bool >:: type OnixS::SgxTitan::Trading::Ouch::isNegative ( Integer &  )
inline

Definition at line 67 of file NumberFormatting.h.

void OnixS::SgxTitan::Trading::Ouch::itemToStr ( std::string &  str,
const Item &  item 
)
inline

Definition at line 52 of file SerializationUtils.h.

void OnixS::SgxTitan::Trading::Ouch::itemToStr ( std::string &  str,
const std::string &  item 
)
inline

Definition at line 61 of file SerializationUtils.h.

boost::enable_if< boost::is_integral<Integer>, size_t >:: type OnixS::SgxTitan::Trading::Ouch::measureInteger ( Integer  integer)
inline

Definition at line 216 of file NumberFormatting.h.

bool OnixS::SgxTitan::Trading::Ouch::operator!= ( const String< N > &  ref,
const std::string &  str 
)

Definition at line 109 of file Defines.h.

bool OnixS::SgxTitan::Trading::Ouch::operator!= ( const String< N > &  ref,
Byte  ch 
)

Definition at line 121 of file Defines.h.

bool OnixS::SgxTitan::Trading::Ouch::operator!= ( const StrRef left,
const StrRef right 
)
inline

Compares with another instance.

Definition at line 282 of file String.h.

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

Compares StrRef with std::string.

Definition at line 302 of file String.h.

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

Compares StrRef with std::string.

Definition at line 322 of file String.h.

bool OnixS::SgxTitan::Trading::Ouch::operator!= ( const StrRef ref,
const Char str 
)
inline

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

Definition at line 342 of file String.h.

bool OnixS::SgxTitan::Trading::Ouch::operator!= ( const Char str,
const StrRef ref 
)
inline

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

Definition at line 362 of file String.h.

TimeSpan OnixS::SgxTitan::Trading::Ouch::operator- ( const Timestamp left,
const Timestamp right 
)
inline

Definition at line 246 of file Timestamp.h.

bool OnixS::SgxTitan::Trading::Ouch::operator< ( const StrRef left,
const StrRef right 
)
inline

Establishes order over string refs.

Definition at line 372 of file String.h.

std::ostream & operator<< ( std::ostream &  stream,
HandlerState::Enum  value 
)

Definition at line 84 of file Emumerations.Internal.cpp.

std::ostream& OnixS::SgxTitan::Trading::Ouch::operator<< ( std::ostream &  stream,
const CancelOrder msg 
)
inline

Definition at line 75 of file CancelOrder.h.

std::ostream& OnixS::SgxTitan::Trading::Ouch::operator<< ( std::ostream &  stream,
const OrderRejected msg 
)
inline

Definition at line 78 of file OrderRejected.h.

std::ostream& OnixS::SgxTitan::Trading::Ouch::operator<< ( std::ostream &  stream,
const OrderCancelled msg 
)
inline

Definition at line 96 of file OrderCancelled.h.

std::ostream& OnixS::SgxTitan::Trading::Ouch::operator<< ( std::ostream &  stream,
const CancelByOrderId msg 
)
inline

Definition at line 99 of file CancelByOrderId.h.

std::ostream& OnixS::SgxTitan::Trading::Ouch::operator<< ( std::ostream &  stream,
const OrderExecuted msg 
)
inline

Definition at line 102 of file OrderExecuted.h.

std::ostream& OnixS::SgxTitan::Trading::Ouch::operator<< ( std::ostream &  stream,
const String< N > &  value 
)

Definition at line 127 of file Defines.h.

std::ostream& OnixS::SgxTitan::Trading::Ouch::operator<< ( std::ostream &  stream,
const OrderAccepted msg 
)
inline

Definition at line 168 of file OrderAccepted.h.

std::ostream& OnixS::SgxTitan::Trading::Ouch::operator<< ( std::ostream &  stream,
const OrderReplaced msg 
)
inline

Definition at line 168 of file OrderReplaced.h.

std::ostream& OnixS::SgxTitan::Trading::Ouch::operator<< ( std::ostream &  stream,
const ReplaceOrder msg 
)
inline

Definition at line 195 of file ReplaceOrder.h.

std::ostream& OnixS::SgxTitan::Trading::Ouch::operator<< ( std::ostream &  stream,
const EnterOrder msg 
)
inline

Definition at line 231 of file EnterOrder.h.

std::ostream& OnixS::SgxTitan::Trading::Ouch::operator<< ( std::ostream &  stream,
const StrRef text 
)
inline

StrRef serialization operator.

Definition at line 408 of file String.h.

bool OnixS::SgxTitan::Trading::Ouch::operator== ( const String< N > &  ref,
const std::string &  str 
)

Definition at line 103 of file Defines.h.

bool OnixS::SgxTitan::Trading::Ouch::operator== ( const String< N > &  ref,
Byte  ch 
)

Definition at line 115 of file Defines.h.

bool OnixS::SgxTitan::Trading::Ouch::operator== ( const StrRef left,
const StrRef right 
)
inline

Compares StrRef instance with another one.

Definition at line 268 of file String.h.

bool OnixS::SgxTitan::Trading::Ouch::operator== ( const StrRef ref,
const std::string &  str 
)
inline

Compares StrRef with std::string.

Definition at line 292 of file String.h.

bool OnixS::SgxTitan::Trading::Ouch::operator== ( const std::string &  str,
const StrRef ref 
)
inline

Compares StrRef with std::string.

Definition at line 312 of file String.h.

bool OnixS::SgxTitan::Trading::Ouch::operator== ( const StrRef ref,
const Char str 
)
inline

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

Definition at line 332 of file String.h.

bool OnixS::SgxTitan::Trading::Ouch::operator== ( const Char str,
const StrRef ref 
)
inline

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

Definition at line 352 of file String.h.

bool OnixS::SgxTitan::Trading::Ouch::operator> ( const StrRef left,
const StrRef right 
)
inline

Establishes order over string refs.

Definition at line 398 of file String.h.

LogSettings::Enum OnixS::SgxTitan::Trading::Ouch::operator| ( LogSettings::Enum  a,
LogSettings::Enum  b 
)
inline

Typed logical operator helper.

Definition at line 83 of file LogSettings.h.

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

Definition at line 144 of file BinaryMessage.cpp.

void OnixS::SgxTitan::Trading::Ouch::throwOutOfEnumRange ( const Char enumeration,
Constant   
)

Definition at line 105 of file SerializationUtils.h.

Byte* OnixS::SgxTitan::Trading::Ouch::toByteBlock ( Type *  ptr)
inline

Reinterprets pointer to one referencing to byte block.

Definition at line 92 of file Memory.h.

const Byte* OnixS::SgxTitan::Trading::Ouch::toByteBlock ( const Type *  ptr)
inline

Reinterprets pointer to one referencing to byte block.

Definition at line 109 of file Memory.h.

void* OnixS::SgxTitan::Trading::Ouch::toOpaquePtr ( Type *  ptr)
inline

Makes pointer as opaque one.

Definition at line 66 of file Memory.h.

const void* OnixS::SgxTitan::Trading::Ouch::toOpaquePtr ( const Type *  ptr)
inline

Makes pointer as opaque one.

Definition at line 78 of file Memory.h.

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

Serializes given integer into a string.

Definition at line 95 of file Numeric.cpp.

void toStr ( std::string &  str,
OutboundMessageTypes::Enum  value 
)

Appends string presentation of object.

Definition at line 32 of file Enumerations.cpp.

std::string OnixS::SgxTitan::Trading::Ouch::toStr ( const Binary12  number)
inline

Serializes given integer into a string.

Definition at line 56 of file Defines.h.

std::string OnixS::SgxTitan::Trading::Ouch::toStr ( OutboundMessageTypes::Enum  value)
inline

Returns string presentation of object.

Definition at line 58 of file Enumerations.h.

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

Serializes object into string.

Definition at line 32 of file HandlerSettings.cpp.

void toStr ( std::string &  str,
const CancelOrder msg 
)

Serializes object into string.

Definition at line 27 of file Messages.CancelOrder.cpp.

std::string OnixS::SgxTitan::Trading::Ouch::toStr ( const ConnectionRetries value)
inline

Serializes object into string.

Definition at line 64 of file HandlerSettings.h.

std::string OnixS::SgxTitan::Trading::Ouch::toStr ( const CancelOrder msg)
inline

Serializes object into string.

Definition at line 67 of file CancelOrder.h.

void toStr ( std::string &  str,
const OrderRejected msg 
)

Serializes object into string.

Definition at line 27 of file Messages.OrderRejected.cpp.

std::string OnixS::SgxTitan::Trading::Ouch::toStr ( const OrderRejected msg)
inline

Serializes object into string.

Definition at line 70 of file OrderRejected.h.

void toStr ( std::string &  str,
const OrderCancelled msg 
)

Serializes object into string.

Definition at line 27 of file Messages.OrderCancelled.cpp.

std::string OnixS::SgxTitan::Trading::Ouch::toStr ( const OrderCancelled msg)
inline

Serializes object into string.

Definition at line 88 of file OrderCancelled.h.

void toStr ( std::string &  str,
const CancelByOrderId msg 
)

Serializes object into string.

Definition at line 27 of file Messages.CancelByOrderId.cpp.

std::string OnixS::SgxTitan::Trading::Ouch::toStr ( const CancelByOrderId msg)
inline

Serializes object into string.

Definition at line 91 of file CancelByOrderId.h.

void toStr ( std::string &  str,
const OrderExecuted msg 
)

Serializes object into string.

Definition at line 27 of file Messages.OrderExecuted.cpp.

void toStr ( std::string &  str,
InboundMessageTypes::Enum  value 
)

Appends string presentation of object.

Definition at line 39 of file Enumerations.cpp.

std::string OnixS::SgxTitan::Trading::Ouch::toStr ( const OrderExecuted msg)
inline

Serializes object into string.

Definition at line 94 of file OrderExecuted.h.

std::string OnixS::SgxTitan::Trading::Ouch::toStr ( InboundMessageTypes::Enum  value)
inline

Returns string presentation of object.

Definition at line 95 of file Enumerations.h.

void toStr ( std::string &  str,
Int8  value 
)

Serializes given integer into a string.

Definition at line 55 of file Numeric.cpp.

std::string OnixS::SgxTitan::Trading::Ouch::toStr ( Int8  number)
inline

Serializes given integer into a string.

Definition at line 119 of file Integral.h.

void toStr ( std::string &  str,
Side::Enum  value 
)

Appends string presentation of object.

Definition at line 47 of file Enumerations.cpp.

std::string OnixS::SgxTitan::Trading::Ouch::toStr ( Side::Enum  value)
inline

Returns string presentation of object.

Definition at line 126 of file Enumerations.h.

void toStr ( std::string &  str,
UInt8  value 
)

Serializes given integer into a string.

Definition at line 60 of file Numeric.cpp.

std::string OnixS::SgxTitan::Trading::Ouch::toStr ( UInt8  number)
inline

Serializes given integer into a string.

Definition at line 132 of file Integral.h.

void OnixS::SgxTitan::Trading::Ouch::toStr ( std::string &  str,
const String< N > &  value 
)

Serializes given string into a string.

Definition at line 135 of file Defines.h.

void toStr ( std::string &  str,
Int16  value 
)

Serializes given integer into a string.

Definition at line 65 of file Numeric.cpp.

std::string OnixS::SgxTitan::Trading::Ouch::toStr ( const String< N > &  value)
inline

Serializes given string into a string.

Definition at line 142 of file Defines.h.

std::string OnixS::SgxTitan::Trading::Ouch::toStr ( Int16  number)
inline

Serializes given integer into a string.

Definition at line 145 of file Integral.h.

void toStr ( std::string &  str,
UInt16  value 
)

Serializes given integer into a string.

Definition at line 70 of file Numeric.cpp.

void toStr ( std::string &  str,
const OrderAccepted msg 
)

Serializes object into string.

Definition at line 27 of file Messages.OrderAccepted.cpp.

void toStr ( std::string &  str,
EnterOrderOpenClose::Enum  value 
)

Appends string presentation of object.

Definition at line 53 of file Enumerations.cpp.

void toStr ( std::string &  str,
const OrderReplaced msg 
)

Serializes object into string.

Definition at line 27 of file Messages.OrderReplaced.cpp.

std::string OnixS::SgxTitan::Trading::Ouch::toStr ( UInt16  number)
inline

Serializes given integer into a string.

Definition at line 158 of file Integral.h.

std::string OnixS::SgxTitan::Trading::Ouch::toStr ( const OrderAccepted msg)
inline

Serializes object into string.

Definition at line 160 of file OrderAccepted.h.

std::string OnixS::SgxTitan::Trading::Ouch::toStr ( const OrderReplaced msg)
inline

Serializes object into string.

Definition at line 160 of file OrderReplaced.h.

std::string OnixS::SgxTitan::Trading::Ouch::toStr ( EnterOrderOpenClose::Enum  value)
inline

Returns string presentation of object.

Definition at line 160 of file Enumerations.h.

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

Serializes object into string.

Definition at line 39 of file HandlerSettings.cpp.

std::string OnixS::SgxTitan::Trading::Ouch::toStr ( const HandlerSettings value)
inline

Serializes object into string.

Definition at line 167 of file HandlerSettings.h.

void toStr ( std::string &  str,
Int32  value 
)

Serializes given integer into a string.

Definition at line 75 of file Numeric.cpp.

std::string OnixS::SgxTitan::Trading::Ouch::toStr ( Int32  number)
inline

Serializes given integer into a string.

Definition at line 171 of file Integral.h.

void toStr ( std::string &  str,
UInt32  value 
)

Serializes given integer into a string.

Definition at line 80 of file Numeric.cpp.

std::string OnixS::SgxTitan::Trading::Ouch::toStr ( UInt32  number)
inline

Serializes given integer into a string.

Definition at line 184 of file Integral.h.

void toStr ( std::string &  str,
const ReplaceOrder msg 
)

Serializes object into string.

Definition at line 27 of file Messages.ReplaceOrder.cpp.

std::string OnixS::SgxTitan::Trading::Ouch::toStr ( const ReplaceOrder msg)
inline

Serializes object into string.

Definition at line 187 of file ReplaceOrder.h.

void toStr ( std::string &  str,
Int64  value 
)

Serializes given integer into a string.

Definition at line 85 of file Numeric.cpp.

void toStr ( std::string &  str,
ReplaceOrderOpenClose::Enum  value 
)

Appends string presentation of object.

Definition at line 60 of file Enumerations.cpp.

std::string OnixS::SgxTitan::Trading::Ouch::toStr ( ReplaceOrderOpenClose::Enum  value)
inline

Returns string presentation of object.

Definition at line 197 of file Enumerations.h.

std::string OnixS::SgxTitan::Trading::Ouch::toStr ( Int64  number)
inline

Serializes given integer into a string.

Definition at line 197 of file Integral.h.

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

Serializes object into string.

Definition at line 46 of file HandlerSettings.cpp.

std::string OnixS::SgxTitan::Trading::Ouch::toStr ( const LogonSettings value)
inline

Serializes object into string.

Definition at line 203 of file HandlerSettings.h.

void toStr ( std::string &  str,
UInt64  value 
)

Serializes given integer into a string.

Definition at line 90 of file Numeric.cpp.

std::string OnixS::SgxTitan::Trading::Ouch::toStr ( UInt64  number)
inline

Serializes given integer into a string.

Definition at line 210 of file Integral.h.

void toStr ( std::string &  str,
const EnterOrder msg 
)

Serializes object into string.

Definition at line 27 of file Messages.EnterOrder.cpp.

std::string OnixS::SgxTitan::Trading::Ouch::toStr ( const StrRef ref)
inline

Constructs std::string instance from StrRef one.

Definition at line 220 of file String.h.

void OnixS::SgxTitan::Trading::Ouch::toStr ( std::string &  str,
IntegralConstant< Type, Constant >  constant 
)
inline

Serializes given constant into a string.

Definition at line 221 of file Integral.h.

std::string OnixS::SgxTitan::Trading::Ouch::toStr ( const EnterOrder msg)
inline

Serializes object into string.

Definition at line 223 of file EnterOrder.h.

void toStr ( std::string &  str,
TimeInForce::Enum  value 
)

Appends string presentation of object.

Definition at line 68 of file Enumerations.cpp.

std::string OnixS::SgxTitan::Trading::Ouch::toStr ( TimeInForce::Enum  value)
inline

Returns string presentation of object.

Definition at line 228 of file Enumerations.h.

std::string OnixS::SgxTitan::Trading::Ouch::toStr ( IntegralConstant< Type, Constant >  constant)
inline

Serializes given constant into a string.

Definition at line 228 of file Integral.h.

void OnixS::SgxTitan::Trading::Ouch::toStr ( std::string &  str,
const StrRef ref 
)
inline

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

Definition at line 229 of file String.h.

std::string OnixS::SgxTitan::Trading::Ouch::toStr ( Char  character)
inline

Constructs std::string from a character.

Definition at line 239 of file String.h.

void OnixS::SgxTitan::Trading::Ouch::toStr ( std::string &  str,
Char  character 
)
inline

Appends character to given std::string instance.

Definition at line 248 of file String.h.

void OnixS::SgxTitan::Trading::Ouch::toStr ( std::string &  str,
const std::string &  value 
)
inline

Appends one string another one.

Definition at line 258 of file String.h.

void toStr ( std::string &  str,
OrderState::Enum  value 
)

Appends string presentation of object.

Definition at line 74 of file Enumerations.cpp.

std::string OnixS::SgxTitan::Trading::Ouch::toStr ( OrderState::Enum  value)
inline

Returns string presentation of object.

Definition at line 262 of file Enumerations.h.

void toStr ( std::string &  str,
CancellationReason::Enum  value 
)

Appends string presentation of object.

Definition at line 81 of file Enumerations.cpp.

std::string OnixS::SgxTitan::Trading::Ouch::toStr ( CancellationReason::Enum  value)
inline

Returns string presentation of object.

Definition at line 311 of file Enumerations.h.

void toStr ( std::string &  str,
OrderType::Enum  value 
)

Appends string presentation of object.

Definition at line 93 of file Enumerations.cpp.

std::string OnixS::SgxTitan::Trading::Ouch::toStr ( OrderType::Enum  value)
inline

Returns string presentation of object.

Definition at line 339 of file Enumerations.h.

StrRef OnixS::SgxTitan::Trading::Ouch::toStrRef ( const std::string &  str)
inline

Constructs StrRef instance over std::string content.

Definition at line 196 of file String.h.

StrRef OnixS::SgxTitan::Trading::Ouch::toStrRef ( const Char cStr)
inline

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

Definition at line 205 of file String.h.