OnixS C++ SGX Titan OUCH Trading Handler  1.2.0
API documentation
EnterOrder Struct Reference

#include <OnixS/SgxTitan/Trading/OUCH/Messages/EnterOrder.h>

Collaboration diagram for EnterOrder:

Public Member Functions

StrRef orderToken () const throw ()
 
Binary4 orderBookId () const throw ()
 
Side::Enum side () const throw ()
 
Binary8 quantity () const throw ()
 
BinaryPrice price () const throw ()
 
TimeInForce::Enum timeInForce () const throw ()
 
EnterOrderOpenClose::Enum openClose () const throw ()
 
StrRef clientAccount () const throw ()
 
StrRef customerInfo () const throw ()
 
StrRef exchangeInfo () const throw ()
 
Binary8 displayQuantity () const throw ()
 
Binary2 stpKey () const throw ()
 
OrderType::Enum orderType () const throw ()
 
StrRef reserved () const throw ()
 
void orderToken (StrRef value) throw ()
 
void orderToken (const char *value) throw ()
 
void orderBookId (Binary4 value) throw ()
 
void side (Side::Enum value) throw ()
 
void quantity (Binary8 value) throw ()
 
void price (const BinaryPrice &value) throw ()
 
void timeInForce (TimeInForce::Enum value) throw ()
 
void openClose (EnterOrderOpenClose::Enum value) throw ()
 
void clientAccount (StrRef value) throw ()
 
void clientAccount (const char *value) throw ()
 
void customerInfo (StrRef value) throw ()
 
void customerInfo (const char *value) throw ()
 
void exchangeInfo (StrRef value) throw ()
 
void exchangeInfo (const char *value) throw ()
 
void displayQuantity (Binary8 value) throw ()
 
void stpKey (Binary2 value) throw ()
 
void orderType (OrderType::Enum value) throw ()
 
 EnterOrder () throw ()
 
- Public Member Functions inherited from OutgoingMessage
 OutgoingMessage (void *data, MessageSize size) throw ()
 
OutboundMessageTypes::Enum type () const throw ()
 
- Public Member Functions inherited from MutableBinaryMessage< BigEndianConverter >
const void * binary () const throw ()
 
void * binary () throw ()
 
MessageSize binarySize () const throw ()
 
MutableBinaryMessageoperator= (const MutableBinaryMessage &other) throw ()
 

Static Public Attributes

static const MessageSize messageSize_ = 113
 

Additional Inherited Members

- Public Types inherited from MutableBinaryMessage< BigEndianConverter >
typedef MessageSize BinarySize
 
typedef BigEndianConverter FieldAccessor
 
- Protected Member Functions inherited from MutableBinaryMessage< BigEndianConverter >
 MutableBinaryMessage (void *data, MessageSize size) throw ()
 
- Protected Member Functions inherited from MutableBinaryFields< MutableBinaryMessage, BigEndianConverter >
void setOrdinary (BlockSize offset, FieldValue value) throw ()
 
void setOrdinaryRef (BlockSize offset, FieldValue value) throw ()
 
void setEnumeration (BlockSize offset, typename Enumeration::Enum value) throw ()
 
void setFixedStr (BlockSize offset, const StrRef &value) throw ()
 
- Protected Member Functions inherited from BinaryFields< MutableBinaryMessage, BigEndianConverter >
FieldValue ordinary (BlockSize offset) const throw ()
 
const FieldValue & ordinaryRef (BlockSize offset) const throw ()
 
Enumeration::Enum enumeration (BlockSize offset) const throw ()
 
StrRef fixedStr (BlockSize offset) const throw ()
 

Detailed Description

Definition at line 28 of file EnterOrder.h.

Constructor & Destructor Documentation

EnterOrder ( )
throw (
)
inline

Initializes empty instance.

Definition at line 251 of file EnterOrder.h.

Member Function Documentation

StrRef clientAccount ( ) const
throw (
)
inline

Mandatory in SGX-DT and validated in Matching Engine.

Definition at line 81 of file EnterOrder.h.

void clientAccount ( StrRef  value)
throw (
)
inline

Mandatory in SGX-DT and validated in Matching Engine.

Definition at line 187 of file EnterOrder.h.

void clientAccount ( const char *  value)
throw (
)
inline

Definition at line 193 of file EnterOrder.h.

StrRef customerInfo ( ) const
throw (
)
inline

Pass-thru field.

Definition at line 88 of file EnterOrder.h.

void customerInfo ( StrRef  value)
throw (
)
inline

Pass-thru field.

Definition at line 200 of file EnterOrder.h.

void customerInfo ( const char *  value)
throw (
)
inline

Definition at line 206 of file EnterOrder.h.

Binary8 displayQuantity ( ) const
throw (
)
inline

Display quantity if reserved order, otherwise set to zero.

Definition at line 103 of file EnterOrder.h.

void displayQuantity ( Binary8  value)
throw (
)
inline

Display quantity if reserved order, otherwise set to zero.

Definition at line 227 of file EnterOrder.h.

StrRef exchangeInfo ( ) const
throw (
)
inline

Pass-thru field.

Definition at line 95 of file EnterOrder.h.

void exchangeInfo ( StrRef  value)
throw (
)
inline

Pass-thru field.

Definition at line 213 of file EnterOrder.h.

void exchangeInfo ( const char *  value)
throw (
)
inline

Definition at line 219 of file EnterOrder.h.

EnterOrderOpenClose::Enum openClose ( ) const
throw (
)
inline

Defines the position update for the account.

Definition at line 73 of file EnterOrder.h.

void openClose ( EnterOrderOpenClose::Enum  value)
throw (
)
inline

Defines the position update for the account.

Definition at line 179 of file EnterOrder.h.

Binary4 orderBookId ( ) const
throw (
)
inline

Order book ID.

Definition at line 38 of file EnterOrder.h.

void orderBookId ( Binary4  value)
throw (
)
inline

Order book ID.

Definition at line 144 of file EnterOrder.h.

StrRef orderToken ( ) const
throw (
)
inline

Client-generated order identifier.

Definition at line 31 of file EnterOrder.h.

void orderToken ( StrRef  value)
throw (
)
inline

Client-generated order identifier.

Definition at line 131 of file EnterOrder.h.

void orderToken ( const char *  value)
throw (
)
inline

Definition at line 137 of file EnterOrder.h.

OrderType::Enum orderType ( ) const
throw (
)
inline

OUCH Order Type.

Definition at line 117 of file EnterOrder.h.

void orderType ( OrderType::Enum  value)
throw (
)
inline

OUCH Order Type.

Definition at line 241 of file EnterOrder.h.

BinaryPrice price ( ) const
throw (
)
inline

Signed integer price.

Definition at line 59 of file EnterOrder.h.

void price ( const BinaryPrice value)
throw (
)
inline

Signed integer price.

Definition at line 165 of file EnterOrder.h.

Binary8 quantity ( ) const
throw (
)
inline

Quantity.

Definition at line 52 of file EnterOrder.h.

void quantity ( Binary8  value)
throw (
)
inline

Quantity.

Definition at line 158 of file EnterOrder.h.

StrRef reserved ( ) const
throw (
)
inline

Reserved for future use.

Definition at line 124 of file EnterOrder.h.

Side::Enum side ( ) const
throw (
)
inline

Side.

Definition at line 45 of file EnterOrder.h.

void side ( Side::Enum  value)
throw (
)
inline

Side.

Definition at line 151 of file EnterOrder.h.

Binary2 stpKey ( ) const
throw (
)
inline

The Self Trade Protection Key.

Definition at line 110 of file EnterOrder.h.

void stpKey ( Binary2  value)
throw (
)
inline

The Self Trade Protection Key.

Definition at line 234 of file EnterOrder.h.

TimeInForce::Enum timeInForce ( ) const
throw (
)
inline

Time In Force.

Definition at line 66 of file EnterOrder.h.

void timeInForce ( TimeInForce::Enum  value)
throw (
)
inline

Time In Force.

Definition at line 172 of file EnterOrder.h.

Member Data Documentation

const MessageSize messageSize_ = 113
static

Total message size.

Definition at line 248 of file EnterOrder.h.


The documentation for this struct was generated from the following file: