30ONIXS_ILINK3_DATA_PACKING_BEGIN(1)
71 std::memcpy(
reinterpret_cast<Char*
>(
this) +
Size, value.data(), value.size());
111 blockLength_ = value;
128 BlockLength blockLength_;
129 NumInGroup numInGroup_;
164 blockLength_ = value;
185 BlockLength blockLength_;
186 NumInGroup numInGroup_;
219 blockLength_ = value;
262 BlockLength blockLength_;
263 TemplateId templateId_;
271ONIXS_ILINK3_DATA_PACKING_END
297 bool operator ==(
const Value& other)
const noexcept
306 bool operator !=(
const Value& other)
const noexcept
308 return !(*
this == other);
368 bool operator ==(
const Value& other)
const noexcept
377 bool operator !=(
const Value& other)
const noexcept
379 return !(*
this == other);
493 typedef Year FirstArgType;
495 typedef Month SecondArgType;
497 typedef Day ThirdArgType;
499 typedef Week FourthArgType;
507 std::memcpy(addr, &year_,
sizeof(year_));
508 addr = advanceByBytes(addr,
sizeof(year_));
510 std::memcpy(addr, &month_,
sizeof(month_));
511 addr = advanceByBytes(addr,
sizeof(month_));
513 std::memcpy(addr, &day_,
sizeof(day_));
514 addr = advanceByBytes(addr,
sizeof(day_));
516 std::memcpy(addr, &week_,
sizeof(week_));
606 return !(*
this == other);
626 bool operator ==(
const Value& other)
const noexcept
635 bool operator !=(
const Value& other)
const noexcept
637 return !(*
this == other);
672 (this->year_ == other.year_) &&
673 (this->month_ == other.month_) &&
674 (this->day_ == other.day_) &&
675 (this->week_ == other.week_);
702 bool operator ==(
const Value& other)
const noexcept
711 bool operator !=(
const Value& other)
const noexcept
713 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
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