10#include "Refureku/Config.h"
11#include "Refureku/TypeInfo/ETypePartDescriptor.h"
12#include "Refureku/Misc/DisableWarningMacros.h"
19 using AdditionalDataType = uint32;
21 REFUREKU_INTERNAL
TypePart()
noexcept;
23 AdditionalDataType additionalData)
noexcept;
32 REFUREKU_API
bool isPointer() const noexcept;
33 REFUREKU_API
bool isLValueReference() const noexcept;
34 REFUREKU_API
bool isRValueReference() const noexcept;
35 REFUREKU_API
bool isCArray() const noexcept;
36 REFUREKU_API
bool isValue() const noexcept;
37 REFUREKU_API
bool isConst() const noexcept;
38 REFUREKU_API
bool isVolatile() const noexcept;
39 REFUREKU_API AdditionalDataType getCArraySize() const noexcept;
50 AdditionalDataType _additionalData = 0u;
55__RFK_DISABLE_WARNING_PUSH
56__RFK_DISABLE_WARNING_UNUSED_PRIVATE_FIELD
64__RFK_DISABLE_WARNING_POP
67 static_assert(sizeof(
TypePart) == 8u, "
TypePart must takes 8 bytes of fully initialized memory to allow the use of std::memcmp.");
Definition: TypePart.h:17
REFUREKU_API void addDescriptorFlag(ETypePartDescriptor flag) noexcept
Add a flag to the descriptor field.
REFUREKU_API void setAdditionalData(AdditionalDataType data) noexcept
Setter for the field _additionalData.
Definition: Allocator.h:16
ETypePartDescriptor
Definition: ETypePartDescriptor.h:16