OnixS C++ CME MDP Premium Market Data Handler 5.10.2
Users' manual and API documentation
Loading...
Searching...
No Matches
MaturityMonthYear Class Reference

#include <OnixS/CME/MDH/messaging/Composites.h>

Public Types

enum  
typedef UInt16 Year
typedef IntegralConstant< UInt16, 65535 > NullYear
typedef UInt8 Month
typedef IntegralConstant< UInt8, 255 > NullMonth
typedef UInt8 Day
typedef IntegralConstant< UInt8, 255 > NullDay
typedef UInt8 Week
typedef IntegralConstant< UInt8, 255 > NullWeek

Public Member Functions

constexpr MaturityMonthYear () noexcept
constexpr MaturityMonthYear (Year year, Month month, Day day, Week week) noexcept
void serialize (void *addr) const noexcept
Year year () const noexcept
void setYear (Year value) noexcept
void yearNull () noexcept
bool month (Month &value) const noexcept
void setMonth (Month value) noexcept
void monthNull () noexcept
bool day (Day &value) const noexcept
void setDay (Day value) noexcept
void dayNull () noexcept
bool week (Week &value) const noexcept
void setWeek (Week value) noexcept
void weekNull () noexcept

Detailed Description

Year, Month and Date.

FIX type: MonthYear.

Definition at line 391 of file Composites.h.

Member Typedef Documentation

◆ Day

typedef UInt8 Day

DD.

Definition at line 414 of file Composites.h.

◆ Month

typedef UInt8 Month

MM.

Definition at line 406 of file Composites.h.

◆ NullDay

Null value for an optional Day field.

Definition at line 419 of file Composites.h.

◆ NullMonth

Null value for an optional Month field.

Definition at line 411 of file Composites.h.

◆ NullWeek

Null value for an optional Week field.

Definition at line 427 of file Composites.h.

◆ NullYear

typedef IntegralConstant<UInt16, 65535> NullYear

Null value for an optional Year field.

Definition at line 403 of file Composites.h.

◆ Week

typedef UInt8 Week

WW.

Definition at line 422 of file Composites.h.

◆ Year

typedef UInt16 Year

YYYY.

Definition at line 398 of file Composites.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Size of the composite.

Enumerator
Size 

Definition at line 395 of file Composites.h.

Constructor & Destructor Documentation

◆ MaturityMonthYear() [1/2]

MaturityMonthYear ( )
inlineconstexprnoexcept

Default constructor.

Initializes fields with appropriate null values.

Definition at line 433 of file Composites.h.

◆ MaturityMonthYear() [2/2]

MaturityMonthYear ( Year year,
Month month,
Day day,
Week week )
inlineconstexprnoexcept

Initializes fields with provided values.

Definition at line 443 of file Composites.h.

Member Function Documentation

◆ day()

bool day ( Day & value) const
inlinenoexcept

DD.

Definition at line 526 of file Composites.h.

◆ dayNull()

void dayNull ( )
inlinenoexcept

Definition at line 538 of file Composites.h.

◆ month()

bool month ( Month & value) const
inlinenoexcept

MM.

Definition at line 507 of file Composites.h.

◆ monthNull()

void monthNull ( )
inlinenoexcept

Definition at line 519 of file Composites.h.

◆ serialize()

void serialize ( void * addr) const
inlinenoexcept

Serializes to a data buffer.

Definition at line 471 of file Composites.h.

◆ setDay()

void setDay ( Day value)
inlinenoexcept

DD.

Definition at line 533 of file Composites.h.

◆ setMonth()

void setMonth ( Month value)
inlinenoexcept

MM.

Definition at line 514 of file Composites.h.

◆ setWeek()

void setWeek ( Week value)
inlinenoexcept

WW.

Definition at line 552 of file Composites.h.

◆ setYear()

void setYear ( Year value)
inlinenoexcept

YYYY.

Definition at line 495 of file Composites.h.

◆ week()

bool week ( Week & value) const
inlinenoexcept

WW.

Definition at line 545 of file Composites.h.

◆ weekNull()

void weekNull ( )
inlinenoexcept

Definition at line 557 of file Composites.h.

◆ year()

Year year ( ) const
inlinenoexcept

YYYY.

Definition at line 489 of file Composites.h.

◆ yearNull()

void yearNull ( )
inlinenoexcept

Definition at line 500 of file Composites.h.