plugify 1.0.0.0
|
A handle class for the Enum
structure.
More...
#include <method.hpp>
Public Member Functions | |
std::string_view | GetName () const noexcept |
Retrieves the enum name. | |
std::span< const EnumValueHandle > | GetValues () const noexcept |
Retrieves the values contained within the enum. | |
![]() | |
Handle () noexcept | |
Default constructor. Initializes the handle with a null pointer. | |
Handle (const Enum &impl) noexcept | |
Constructs a Handle object from an instance of type T. | |
Handle (const Handle &)=default | |
Copy constructor. Creates a new Handle object from another Handle object. | |
Handle (Handle &&)=default | |
Move constructor. Transfers ownership from another Handle object. | |
auto | operator<=> (const Handle &) const=default |
Comparison operator (<=>) for comparing two Handle objects. | |
Handle & | operator= (const Handle &) &=default |
Copy assignment operator. Copies the handle from another Handle object. | |
Handle & | operator= (const Handle &) &&=delete |
Copy assignment operator for rvalue references is deleted. | |
Handle & | operator= (Handle &&) &=default |
Move assignment operator. Transfers ownership from another Handle object. | |
Handle & | operator= (Handle &&) &&=delete |
Move assignment operator for rvalue references is deleted. | |
operator bool () const noexcept | |
Explicit conversion operator to bool, indicating if the pointer is non-zero. | |
operator uintptr_t () const noexcept | |
Converts the Handle object to a uintptr_t. | |
operator void * () const noexcept | |
Converts the Handle object to a void pointer. | |
Additional Inherited Members | |
![]() | |
const Enum * | _impl |
A pointer to the referenced implementation of type T. | |
A handle class for the Enum
structure.
Definition at line 45 of file method.hpp.
|
noexcept |
Retrieves the enum name.
|
noexcept |
Retrieves the values contained within the enum.
EnumValueRef
objects representing the values in the enum.