OnixS C++ CME MDP Conflated TCP Handler  1.3.1
API Documentation
InstrumentDefinitionOption55::EventsEntry Struct Reference

#include <OnixS/CME/ConflatedTCP/messaging/MDP/Messages.h>

Public Types

typedef SbeGroupEntry< GroupSize::BlockLengthBase
 
typedef EventsEntry ThisType
 
- Public Types inherited from SbeGroupEntry< GroupSize::BlockLength >
typedef GroupSize::BlockLength BlockLength
 

Public Member Functions

 EventsEntry (void *data, EncodedLength length, SchemaVersion version)
 
ThisTyperesetVariableFields () noexcept
 
ThisTypereset () noexcept
 
EventType::Enum eventType () const noexcept
 
ThisTypesetEventType (EventType::Enum value) noexcept
 
Timestamp eventTime () const noexcept
 
ThisTypesetEventTime (Timestamp value) noexcept
 
- Public Member Functions inherited from SbeGroupEntry< GroupSize::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< SbeGroupEntry< GroupSize::BlockLength >, GroupSize::BlockLength >
SbeGroupEntry< GroupSize::BlockLength > & container () noexcept
 
void setOrdinary (GroupSize::BlockLengthoffset, FieldValue value) noexcept
 
void setOrdinary (GroupSize::BlockLengthoffset, FieldValue value, SchemaVersion since)
 
void setEnumeration (GroupSize::BlockLengthoffset, typename Enumeration::Enum value) noexcept
 
void setEnumeration (GroupSize::BlockLengthoffset, typename Enumeration::Enum value, SchemaVersion since)
 
void setFixedStr (GroupSize::BlockLengthoffset, StrRef value) noexcept
 
void setFixedStr (GroupSize::BlockLengthoffset, StrRef value, SchemaVersion since)
 

Static Public Member Functions

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

Additional Inherited Members

- Protected Member Functions inherited from SbeFields< SbeGroupEntry< GroupSize::BlockLength >, GroupSize::BlockLength >
 SbeFields () ONIXS_CONFLATEDTCP_DEFAULT
 
 ~SbeFields () ONIXS_CONFLATEDTCP_DEFAULT
 
- Protected Member Functions inherited from BinaryBlock< SbeGroupEntry< GroupSize::BlockLength >, GroupSize::BlockLength >
 BinaryBlock () ONIXS_CONFLATEDTCP_DEFAULT
 
 ~BinaryBlock () ONIXS_CONFLATEDTCP_DEFAULT
 
Value ordinary (GroupSize::BlockLengthoffset) const noexcept
 
bool ordinary (Value &value, GroupSize::BlockLengthoffset, NullValue null) const noexcept
 
bool ordinary (Value &value, GroupSize::BlockLengthoffset, NullValue null, SchemaVersion since) const noexcept
 
Enumeration::Enum enumeration (GroupSize::BlockLengthoffset) const noexcept
 
bool enumeration (typename Enumeration::Enum &value, GroupSize::BlockLengthoffset, NullValue null) const noexcept
 
bool enumeration (typename Enumeration::Enum &value, GroupSize::BlockLengthoffset, NullValue null, SchemaVersion since) const noexcept
 
Value decimal (GroupSize::BlockLengthoffset) const noexcept
 
bool decimal (Value &value, GroupSize::BlockLengthoffset, NullValue null) const noexcept
 
bool decimal (Value &value, GroupSize::BlockLengthoffset, NullValue null, SchemaVersion since) const noexcept
 
StrRef fixedStr (GroupSize::BlockLengthoffset) const noexcept
 
bool fixedStr (StrRef &value, GroupSize::BlockLengthoffset) const noexcept
 
bool fixedStr (StrRef &value, GroupSize::BlockLengthoffset, SchemaVersion since) const noexcept
 

Detailed Description

Entry of EventsEntry repeating group.

Definition at line 28431 of file Messages.h.

Member Typedef Documentation

Base class type.

Definition at line 28443 of file Messages.h.

This type alias.

Definition at line 28446 of file Messages.h.

Constructor & Destructor Documentation

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

Initializes instance of given version over given memory block.

Definition at line 28450 of file Messages.h.

Member Function Documentation

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

Definition at line 28521 of file Messages.h.

static constexpr const Char* className ( )
inlinestatic

Entity class name.

Definition at line 28548 of file Messages.h.

Timestamp eventTime ( ) const
inlinenoexcept

Date and Time of instument Activation or Expiration event sent as number of nanoseconds since Unix epoch.

Definition at line 28498 of file Messages.h.

EventType::Enum eventType ( ) const
inlinenoexcept

Code to represent the type of event.

Definition at line 28477 of file Messages.h.

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

Definition at line 28535 of file Messages.h.

ThisType& reset ( )
inlinenoexcept

Reset all variable-length and optional fields if any.

Definition at line 28468 of file Messages.h.

ThisType& resetVariableFields ( )
inlinenoexcept

Reset all variable-length fields if any.

Definition at line 28461 of file Messages.h.

ThisType& setEventTime ( Timestamp  value)
inlinenoexcept

Date and Time of instument Activation or Expiration event sent as number of nanoseconds since Unix epoch.

Definition at line 28508 of file Messages.h.

ThisType& setEventType ( EventType::Enum  value)
inlinenoexcept

Code to represent the type of event.

Definition at line 28486 of file Messages.h.


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