OnixS C++ B3 Binary UMDF Market Data Handler 1.11.1
Users' manual and API documentation
Loading...
Searching...
No Matches
MaturityMonthYear Class Reference

#include <OnixS/B3/MarketData/UMDF/messaging/Composites.h>

Public Types

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

Public Member Functions

constexpr MaturityMonthYear () noexcept
constexpr MaturityMonthYear (Year year, Month month, Day day, Week week) noexcept
std::string toString () const
Year year () const noexcept
bool month (Month &value) const noexcept
bool day (Day &value) const noexcept
bool week (Week &value) const noexcept
bool operator== (const MaturityMonthYear &other) const noexcept
bool operator!= (const MaturityMonthYear &other) const noexcept

Detailed Description

FIX type: MonthYear.

Definition at line 868 of file Composites.h.

Member Typedef Documentation

◆ Day

typedef UInt8 Day

Day of month (1 to 31).

Definition at line 891 of file Composites.h.

◆ Month

typedef UInt8 Month

Month (1 to 12).

Definition at line 883 of file Composites.h.

◆ NullDay

Null value for an optional Day field.

Definition at line 896 of file Composites.h.

◆ NullMonth

Null value for an optional Month field.

Definition at line 888 of file Composites.h.

◆ NullWeek

Null value for an optional Week field.

Definition at line 904 of file Composites.h.

◆ NullYear

Null value for an optional Year field.

Definition at line 880 of file Composites.h.

◆ Week

typedef UInt8 Week

Week of month (1 to 5).

Definition at line 899 of file Composites.h.

◆ Year

typedef UInt16 Year

4-digit year.

Definition at line 875 of file Composites.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Size of the composite.

Enumerator
Size 5 

Definition at line 872 of file Composites.h.

Constructor & Destructor Documentation

◆ MaturityMonthYear() [1/2]

MaturityMonthYear ( )
inlineconstexprnoexcept

Default constructor.

Initializes fields with appropriate null values.

Definition at line 910 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 921 of file Composites.h.

Member Function Documentation

◆ day()

bool day ( Day & value) const
inlinenoexcept

Day of month (1 to 31).

Definition at line 973 of file Composites.h.

◆ month()

bool month ( Month & value) const
inlinenoexcept

Month (1 to 12).

Definition at line 964 of file Composites.h.

◆ operator!=()

bool operator!= ( const MaturityMonthYear & other) const
inlinenoexcept

Compares encoded data.

Definition at line 999 of file Composites.h.

◆ operator==()

bool operator== ( const MaturityMonthYear & other) const
inlinenoexcept

Compares encoded data.

Definition at line 1066 of file Composites.h.

◆ toString()

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

Definition at line 2189 of file Serialization.h.

◆ week()

bool week ( Week & value) const
inlinenoexcept

Week of month (1 to 5).

Definition at line 982 of file Composites.h.

◆ year()

Year year ( ) const
inlinenoexcept

4-digit year.

Definition at line 956 of file Composites.h.