Dev Essential
Loading...
Searching...
No Matches
ddl::codec::ElementLayoutBase Struct Reference

#include <codec_index.h>

Inherited by ddl::codec::ElementLayout.

Public Member Functions

constexpr bool operator== (const ElementLayoutBase &other) const noexcept
 Equality operator.
 
constexpr bool operator!= (const ElementLayoutBase &other) const noexcept
 Non-Equality operator.
 

Public Attributes

PositionWithAlignedTypeSize deserialized = {}
 deserialized position.
 
PositionWithUsedBitsTypeSize serialized = {}
 serialized position.
 
ddl::dd::ByteOrder byte_order = {}
 Byte order of the element value.
 
size_t array_size = {}
 Array size of the element value.
 
size_t child_element_count = {}
 The child element count.
 
const CodecTypeInfotype_info = {}
 Pointer to the type_info.
 
const CodecConstantInfoconstant_info = {}
 Pointer to the constant_info if the value is a constant.
 
const CodecDefaultValueInfodefault_value_info = {}
 Pointer to the default_value_info if the value has a default value set.
 

Detailed Description

Base layout definition for one element.

Member Function Documentation

◆ operator!=()

bool ddl::codec::ElementLayoutBase::operator!= ( const ElementLayoutBase & other) const
inlineconstexprnoexcept

Non-Equality operator.

Parameters
otherthe other layout to compare to
Returns
false if every single content is the same
true if content is different

◆ operator==()

bool ddl::codec::ElementLayoutBase::operator== ( const ElementLayoutBase & other) const
inlineconstexprnoexcept

Equality operator.

Parameters
otherthe other layout to compare to
Returns
true if every single content is the same
false if content is different

The documentation for this struct was generated from the following file: