OnixS C++ CME MDP Conflated TCP Handler  1.2.1
API Documentation
MaturityMonthYear Class Reference

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

Public Types

enum  { Size = 5 }
 
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
 
std::string toString () const
 
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
 
bool operator== (const MaturityMonthYear &other) const noexcept
 
bool operator!= (const MaturityMonthYear &other) const noexcept
 

Detailed Description

FIX type: MonthYear.

Definition at line 422 of file Composites.h.

Member Typedef Documentation

typedef UInt8 Day

DD.

Definition at line 445 of file Composites.h.

typedef UInt8 Month

MM.

Definition at line 437 of file Composites.h.

Null value for an optional Day field.

Definition at line 450 of file Composites.h.

Null value for an optional Month field.

Definition at line 442 of file Composites.h.

Null value for an optional Week field.

Definition at line 458 of file Composites.h.

typedef IntegralConstant<UInt16, 65535> NullYear

Null value for an optional Year field.

Definition at line 434 of file Composites.h.

typedef UInt8 Week

WW.

Definition at line 453 of file Composites.h.

typedef UInt16 Year

YYYY.

Definition at line 429 of file Composites.h.

Member Enumeration Documentation

anonymous enum

Size of the composite.

Enumerator
Size 

Definition at line 426 of file Composites.h.

Constructor & Destructor Documentation

constexpr MaturityMonthYear ( )
inlinenoexcept

Default constructor.

Initializes fields with appropriate null values.

Definition at line 464 of file Composites.h.

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

Initializes fields with provided values.

Definition at line 475 of file Composites.h.

Member Function Documentation

bool day ( Day value) const
inlinenoexcept

DD.

Definition at line 571 of file Composites.h.

void dayNull ( )
inlinenoexcept

Definition at line 585 of file Composites.h.

bool month ( Month value) const
inlinenoexcept

MM.

Definition at line 549 of file Composites.h.

void monthNull ( )
inlinenoexcept

Definition at line 563 of file Composites.h.

bool operator!= ( const MaturityMonthYear other) const
inlinenoexcept

Compares encoded data.

Definition at line 623 of file Composites.h.

bool operator== ( const MaturityMonthYear other) const
inlinenoexcept

Compares encoded data.

Definition at line 691 of file Composites.h.

void serialize ( void *  addr) const
inlinenoexcept

Serializes to a data buffer.

Definition at line 509 of file Composites.h.

void setDay ( Day  value)
inlinenoexcept

DD.

Definition at line 579 of file Composites.h.

void setMonth ( Month  value)
inlinenoexcept

MM.

Definition at line 557 of file Composites.h.

void setWeek ( Week  value)
inlinenoexcept

WW.

Definition at line 601 of file Composites.h.

void setYear ( Year  value)
inlinenoexcept

YYYY.

Definition at line 535 of file Composites.h.

std::string toString ( ) const
inline
Returns
a human-readable presentation.

Definition at line 1502 of file Serialization.h.

bool week ( Week value) const
inlinenoexcept

WW.

Definition at line 593 of file Composites.h.

void weekNull ( )
inlinenoexcept

Definition at line 607 of file Composites.h.

Year year ( ) const
inlinenoexcept

YYYY.

Definition at line 528 of file Composites.h.

void yearNull ( )
inlinenoexcept

Definition at line 541 of file Composites.h.


The documentation for this class was generated from the following files: