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

#include <codec_index.h>

Inherits ddl::codec::PositionWithTypeSize.

Public Member Functions

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

Public Attributes

size_t type_bit_size_aligned = {}
 aligned type size in bits
 
- Public Attributes inherited from ddl::codec::PositionWithTypeSize
size_t type_bit_size = {}
 type size in bits (in case of array, this is the size of one element within the array)
 
- Public Attributes inherited from ddl::Position
size_t bit_offset = {}
 the bit offset
 
size_t bit_size = {}
 the elements bitsize (the whole element)
 

Detailed Description

Position with type size information

Member Function Documentation

◆ operator!=()

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

Non-Equality operator.

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

◆ operator==()

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

Equality operator.

Parameters
otherthe other position 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: