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

#include <codec_index.h>

Inherits ddl::codec::ElementLayoutBase.

Public Member Functions

constexpr bool operator== (const ElementLayout &other) const noexcept
 Equality operator.
 
constexpr bool operator!= (const ElementLayout &other) const noexcept
 Non-Equality operator.
 
- Public Member Functions inherited from ddl::codec::ElementLayoutBase
constexpr bool operator== (const ElementLayoutBase &other) const noexcept
 Equality operator.
 
constexpr bool operator!= (const ElementLayoutBase &other) const noexcept
 Non-Equality operator.
 

Public Attributes

size_t array_pos = {}
 The array position of the element.
 
- Public Attributes inherited from ddl::codec::ElementLayoutBase
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

Layout defintion for one element with set array position.

Member Function Documentation

◆ operator!=()

bool ddl::codec::ElementLayout::operator!= ( const ElementLayout & 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::ElementLayout::operator== ( const ElementLayout & 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: