OnixS C++ B3 Binary UMDF Market Data Handler 1.10.0
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
 __attribute__ ((__warn_unused_result__)) Year year() const noexcept
 __attribute__ ((__warn_unused_result__)) bool month(Month &value) const noexcept
 __attribute__ ((__warn_unused_result__)) bool day(Day &value) const noexcept
 __attribute__ ((__warn_unused_result__)) bool week(Week &value) const noexcept
 __attribute__ ((__warn_unused_result__)) bool operator
 __attribute__ ((__warn_unused_result__)) bool operator!

Public Attributes

Month month_
Day day_
Week week_

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 

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

◆ __attribute__() [1/6]

__attribute__ ( (__warn_unused_result__) ) const &
inlinenoexcept

Day of month (1 to 31).

Definition at line 972 of file Composites.h.

◆ __attribute__() [2/6]

__attribute__ ( (__warn_unused_result__) ) const &
inlinenoexcept

Month (1 to 12).

Definition at line 963 of file Composites.h.

◆ __attribute__() [3/6]

__attribute__ ( (__warn_unused_result__) )

Compares encoded data.

◆ __attribute__() [4/6]

__attribute__ ( (__warn_unused_result__) )

Compares encoded data.

◆ __attribute__() [5/6]

__attribute__ ( (__warn_unused_result__) ) const &
inlinenoexcept

Week of month (1 to 5).

Definition at line 981 of file Composites.h.

◆ __attribute__() [6/6]

__attribute__ ( (__warn_unused_result__) ) const
inlinenoexcept

4-digit year.

Definition at line 955 of file Composites.h.

Member Data Documentation

◆ day_

Day day_

Definition at line 1009 of file Composites.h.

◆ month_

Month month_

Definition at line 1008 of file Composites.h.

◆ week_

Week week_

Definition at line 1010 of file Composites.h.