OnixS C++ B3 BOE Binary Order Entry 1.4.0
Users' manual and API documentation
Loading...
Searching...
No Matches
NewOrderCross106::SidesEntry Struct Reference

#include <OnixS/B3/BOE/messaging/Messages.h>

Public Types

typedef SbeGroupEntry< GroupSizeEncoding::BlockLengthBase
typedef SidesEntry ThisType
Public Types inherited from SbeGroupEntry< GroupSizeEncoding::BlockLength >
typedef GroupSizeEncoding::BlockLength BlockLength

Public Member Functions

 SidesEntry (void *data, EncodedLength length, SchemaVersion version)
ThisTyperesetVariableFields () noexcept
ThisTypereset () noexcept
void toString (std::string &dest, bool skipEmptyFields=false)
std::string toString (bool skipEmptyFields=false) const
Side::Enum side () const noexcept
ThisTypesetSide (Side::Enum value) noexcept
bool account (AccountOptional &value) const noexcept
ThisTypesetAccount (AccountOptional value) noexcept
ThisTypesetAccountToNull () noexcept
bool enteringFirm (FirmOptional &value) const noexcept
ThisTypesetEnteringFirm (FirmOptional value) noexcept
ThisTypesetEnteringFirmToNull () noexcept
ClOrdID clOrdId () const noexcept
ThisTypesetClOrdId (ClOrdID value) noexcept
bool tradingSubAccount (AccountOptional &value) const noexcept
ThisTypesetTradingSubAccount (AccountOptional value)
ThisTypesetTradingSubAccountToNull ()
Public Member Functions inherited from SbeGroupEntry< GroupSizeEncoding::BlockLength >
 SbeGroupEntry ()
 SbeGroupEntry (void *encoded, BlockLength size, SchemaVersion version)
bool valid () const noexcept
const void * encoded () const noexcept
void * encoded () noexcept
const void * block () const noexcept
void * block () noexcept
BlockLength blockLength () const noexcept
SchemaVersion version () const noexcept
Public Member Functions inherited from SbeFields< Container, BlockLength >
Container & container () noexcept
void zeroPaddingBytes (BlockLength offset) noexcept
template<class FieldValue>
void setOrdinary (BlockLength offset, FieldValue value) noexcept
template<class FieldValue>
void setOrdinary (BlockLength offset, FieldValue value, SchemaVersion since)
template<class Enumeration>
void setEnumeration (BlockLength offset, typename Enumeration::Enum value) noexcept
template<class Enumeration>
void setEnumeration (BlockLength offset, typename Enumeration::Enum value, SchemaVersion since)
template<BlockLength Size>
void setFixedStr (BlockLength offset, StrRef value) noexcept
template<BlockLength Size>
void setFixedStr (BlockLength offset, StrRef value, SchemaVersion since)

Static Public Member Functions

static constexpr BlockLength blockLength (SchemaVersion version) noexcept
static constexpr BlockLength minimalBlockLength (SchemaVersion version) noexcept
static constexpr const CharclassName ()

Additional Inherited Members

Protected Member Functions inherited from SbeFields< Container, BlockLength >
 SbeFields ()=default
 ~SbeFields ()=default
Protected Member Functions inherited from BinaryBlock< Container, BlockLength >
 BinaryBlock ()=default
 ~BinaryBlock ()=default
template<class Value>
Value ordinary (BlockLength offset) const noexcept
template<class Value>
const Value & accessOrdinary (BlockLength offset) const noexcept
template<class Value>
Value & accessOrdinary (BlockLength offset) noexcept
template<class Value, class NullValue>
bool ordinary (Value &value, BlockLength offset, NullValue null) const noexcept
template<class Value, class NullValue>
bool ordinary (Value &value, BlockLength offset, NullValue null, SchemaVersion since) const noexcept
template<class Enumeration>
Enumeration::Enum enumeration (BlockLength offset) const noexcept
template<class Enumeration, class NullValue>
bool enumeration (typename Enumeration::Enum &value, BlockLength offset, NullValue null) const noexcept
template<class Enumeration, class NullValue>
bool enumeration (typename Enumeration::Enum &value, BlockLength offset, NullValue null, SchemaVersion since) const noexcept
template<class Value>
Value decimal (BlockLength offset) const noexcept
template<class Value, class NullValue>
bool decimal (Value &value, BlockLength offset, NullValue null) const noexcept
template<class Value, class NullValue>
bool decimal (Value &value, BlockLength offset, NullValue null, SchemaVersion since) const noexcept
template<BlockLength Length>
StrRef fixedStr (BlockLength offset) const noexcept
template<BlockLength Length>
bool fixedStr (StrRef &value, BlockLength offset) const noexcept
template<BlockLength Length>
bool fixedStr (StrRef &value, BlockLength offset, SchemaVersion since) const noexcept

Detailed Description

Repeating group dimensions. Entry of SidesEntry repeating group.

Definition at line 8591 of file Messages.h.

Member Typedef Documentation

◆ Base

Base class type.

Definition at line 8603 of file Messages.h.

◆ ThisType

This type alias.

Definition at line 8606 of file Messages.h.

Constructor & Destructor Documentation

◆ SidesEntry()

SidesEntry ( void * data,
EncodedLength length,
SchemaVersion version )
inline

Initializes instance of given version over given memory block.

Definition at line 8610 of file Messages.h.

Member Function Documentation

◆ account()

bool account ( AccountOptional & value) const
inlinenoexcept

Account mnemonic of the order.

Definition at line 8678 of file Messages.h.

◆ blockLength()

constexpr BlockLength blockLength ( SchemaVersion version)
inlinestaticconstexprnoexcept
Returns
size of entry body in bytes for given version of message template.

Definition at line 8792 of file Messages.h.

◆ className()

constexpr const Char * className ( )
inlinestaticconstexpr

Entity class name.

Definition at line 8819 of file Messages.h.

◆ clOrdId()

ClOrdID clOrdId ( ) const
inlinenoexcept

Unique identifier of the order as assigned by the market participant.

Definition at line 8737 of file Messages.h.

◆ enteringFirm()

bool enteringFirm ( FirmOptional & value) const
inlinenoexcept

Identifies the broker firm that will enter orders.

Definition at line 8707 of file Messages.h.

◆ minimalBlockLength()

constexpr BlockLength minimalBlockLength ( SchemaVersion version)
inlinestaticconstexprnoexcept
Returns
minimal size of entry body in bytes for given version of message template.

Definition at line 8805 of file Messages.h.

◆ reset()

ThisType & reset ( )
inlinenoexcept

Reset all variable-length and optional fields if any.

Definition at line 8628 of file Messages.h.

◆ resetVariableFields()

ThisType & resetVariableFields ( )
inlinenoexcept

Reset all variable-length fields if any.

Definition at line 8621 of file Messages.h.

◆ setAccount()

ThisType & setAccount ( AccountOptional value)
inlinenoexcept

Account mnemonic of the order.

Definition at line 8687 of file Messages.h.

◆ setAccountToNull()

ThisType & setAccountToNull ( )
inlinenoexcept

Definition at line 8696 of file Messages.h.

◆ setClOrdId()

ThisType & setClOrdId ( ClOrdID value)
inlinenoexcept

Unique identifier of the order as assigned by the market participant.

Definition at line 8747 of file Messages.h.

◆ setEnteringFirm()

ThisType & setEnteringFirm ( FirmOptional value)
inlinenoexcept

Identifies the broker firm that will enter orders.

Definition at line 8716 of file Messages.h.

◆ setEnteringFirmToNull()

ThisType & setEnteringFirmToNull ( )
inlinenoexcept

Definition at line 8725 of file Messages.h.

◆ setSide()

ThisType & setSide ( Side::Enum value)
inlinenoexcept

Side of order.

Definition at line 8667 of file Messages.h.

◆ setTradingSubAccount()

ThisType & setTradingSubAccount ( AccountOptional value)
inline

Account used for associating risk limits (when defined).

Definition at line 8768 of file Messages.h.

◆ setTradingSubAccountToNull()

ThisType & setTradingSubAccountToNull ( )
inline

Definition at line 8777 of file Messages.h.

◆ side()

Side::Enum side ( ) const
inlinenoexcept

Side of order.

Definition at line 8658 of file Messages.h.

◆ toString() [1/2]

std::string toString ( bool skipEmptyFields = false) const
inline
Returns
a human-readable presentation.

Definition at line 1193 of file MessageSerialization.h.

◆ toString() [2/2]

void toString ( std::string & dest,
bool skipEmptyFields = false )
inline

Writes a human-readable presentation into the destination string.

Definition at line 1186 of file MessageSerialization.h.

◆ tradingSubAccount()

bool tradingSubAccount ( AccountOptional & value) const
inlinenoexcept

Account used for associating risk limits (when defined).

Definition at line 8758 of file Messages.h.