30ONIXS_ILINK3_DATA_PACKING_BEGIN(1)
75 std::memcpy(
reinterpret_cast<Char*
>(
this) +
Size, value.data(), value.size());
118 blockLength_ = value;
137 BlockLength blockLength_;
138 NumInGroup numInGroup_;
175 blockLength_ = value;
198 BlockLength blockLength_;
199 NumInGroup numInGroup_;
234 blockLength_ = value;
283 BlockLength blockLength_;
284 TemplateId templateId_;
292ONIXS_ILINK3_DATA_PACKING_END
318 bool operator ==(
const Value& other)
const
328 bool operator !=(
const Value& other)
const
331 return !(*
this == other);
395 bool operator ==(
const Value& other)
const
405 bool operator !=(
const Value& other)
const
408 return !(*
this == other);
528 typedef Year FirstArgType;
530 typedef Month SecondArgType;
532 typedef Day ThirdArgType;
534 typedef Week FourthArgType;
543 std::memcpy(addr, &year_,
sizeof(year_));
544 addr = advanceByBytes(addr,
sizeof(year_));
546 std::memcpy(addr, &month_,
sizeof(month_));
547 addr = advanceByBytes(addr,
sizeof(month_));
549 std::memcpy(addr, &day_,
sizeof(day_));
550 addr = advanceByBytes(addr,
sizeof(day_));
552 std::memcpy(addr, &week_,
sizeof(week_));
656 return !(*
this == other);
676 bool operator ==(
const Value& other)
const
686 bool operator !=(
const Value& other)
const
689 return !(*
this == other);
728 (this->year_ == other.year_) &&
729 (this->month_ == other.month_) &&
730 (this->day_ == other.day_) &&
731 (this->week_ == other.week_);
758 bool operator ==(
const Value& other)
const
768 bool operator !=(
const Value& other)
const
771 return !(*
this == other);
#define ONIXS_ILINK3_MESSAGING_NAMESPACE_END
#define ONIXS_ILINK3_LTWT_STRUCT
#define ONIXS_ILINK3_LTWT_CLASS
#define ONIXS_ILINK3_MESSAGING_NAMESPACE_BEGIN
#define ONIXS_ILINK3_NODISCARD
#define ONIXS_ILINK3_CONSTEXPR
#define ONIXS_ILINK3_NOTHROW
A real number with a floating exponent.
Repeating group dimensions.
NumInGroup numInGroup() const noexcept
void setNumInGroup(NumInGroup value) noexcept
Sets the numInGroup field.
UInt16 BlockLength
Type alias for the BlockLength.
UInt16 NumInGroup
Type alias for the NumInGroup.
void setBlockLength(BlockLength value) noexcept
Sets the blockLength field.
BlockLength blockLength() const noexcept
Repeating group dimensions.
NumInGroup numInGroup() const noexcept
void setNumInGroup(NumInGroup value) noexcept
Sets the numInGroup field.
UInt8 NumInGroup
Type alias for the NumInGroup.
UInt16 BlockLength
Type alias for the BlockLength.
void setBlockLength(BlockLength value) noexcept
Sets the blockLength field.
BlockLength blockLength() const noexcept
void setWeekToNull() noexcept
bool week(Week &value) const noexcept
WW.
constexpr MaturityMonthYear() noexcept
Default constructor.
void setMonth(Month value) noexcept
MM.
void setYear(Year value) noexcept
YYYY.
IntegralConstant< UInt8, 255 > NullDay
Null value for an optional Day field.
IntegralConstant< UInt16, 65535 > NullYear
Null value for an optional Year field.
bool operator==(const MaturityMonthYear &other) const noexcept
Compares encoded data.
void setMonthToNull() noexcept
void setWeek(Week value) noexcept
WW.
bool month(Month &value) const noexcept
MM.
void setDay(Day value) noexcept
DD.
bool operator!=(const MaturityMonthYear &other) const noexcept
Compares encoded data.
void setYearToNull() noexcept
Year year() const noexcept
YYYY.
constexpr MaturityMonthYear(Year year, Month month, Day day, Week week) noexcept
Initializes fields with provided values.
bool day(Day &value) const noexcept
DD.
void serialize(void *addr) const noexcept
Serializes to a data buffer.
IntegralConstant< UInt8, 255 > NullWeek
Null value for an optional Week field.
IntegralConstant< UInt8, 255 > NullMonth
Null value for an optional Month field.
void setDayToNull() noexcept
ONIXS_ILINK3_DATA_PACKING_END typedef FloatingPointDecimal< Int32, Int8 > Decimal32NULL
Optional floating point decimal with int32 mantissa and int8 exponent.
FloatingPointDecimal< Int64, Int8 > Decimal64NULL
Optional floating point decimal.
char Char
Character type alias.
MessageHeader MessageHeaderBuilder
std::basic_string_view< Char > StrRef
MessageHeader::SchemaId SchemaId
bool isNull(const Decimal32NULL &value) noexcept
FixedPointDecimal< Int64, IntegralConstant< Int8, -9 > > PRICE9
Price with constant exponent -9.
StrRef varData() const noexcept
Length binarySize() const noexcept
UInt16 Length
Length type.
void length(Length value) noexcept
Sets the length.
void varData(StrRef value) noexcept
Sets the varData field.
Char VarData
VarData type.
Length length() const noexcept
Null values definition for optional Decimal32NULL field.
Decimal32NULL Value
Aliases the type whose null value traits are exposed by the given class.
IntegralConstant< Int32, 2147483647 > NullMantissa
Null value for an optional Mantissa field.
constexpr Value operator()() const noexcept
static constexpr Value value() noexcept
Null values definition for optional Decimal64NULL field.
IntegralConstant< Int64, 9223372036854775807LL > NullMantissa
Null value for an optional Mantissa field.
Decimal64NULL Value
Aliases the type whose null value traits are exposed by the given class.
constexpr Value operator()() const noexcept
static constexpr Value value() noexcept
Null values definition for optional MaturityMonthYear field.
constexpr Value operator()() const noexcept
static constexpr Value value() noexcept
MaturityMonthYear Value
Aliases the type whose null value traits are exposed by the given class.
Null values definition for optional PRICE9 field.
IntegralConstant< Int64, 9223372036854775807LL > NullMantissa
Null value for an optional Mantissa field.
PRICE9 Value
Aliases the type whose null value traits are exposed by the given class.
constexpr Value operator()() const noexcept
static constexpr Value value() noexcept