This struct provides a namespace for enumerating month‐of‐year values. See Enum in the TYPES sub‐section for details.

Synopsis

Declared in <bdlt_monthofyear.h>

struct MonthOfYear;

Description

This struct: * supports a complete set of enumeration operations For terminology see bsldoc_glossary.

Type Aliases

Name

Description

Month

Define an alias, Month, to the enum type, Enum defined by this component.

Enums

Name

Description

Unnamed enum

Define k_NUM_MONTHS to be the number of consecutively valued enumerators in the range [ e_JAN .. e_DEC ].

Enum

Define the list of month‐of‐year values.

Static Member Functions

Name

Description

bdexStreamIn

Assign to variable the value read from stream using the BDEX protocol.

bdexStreamOut

Write value to stream using the specified BDEX version format.

maxSupportedBdexVersion

maxSupportedBdexVersion overloads

print

Write the string representation of the specified enumeration value to the specified output stream.

toAscii

Return the string representation of the specified enumeration value.

Created with MrDocs