plugify 1.0.0.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
plugify::PropertyHandle Class Reference

A handle class for the Property structure. More...

#include <method.hpp>

Inheritance diagram for plugify::PropertyHandle:
Inheritance graph
[legend]
Collaboration diagram for plugify::PropertyHandle:
Collaboration graph
[legend]

Public Member Functions

ValueType GetType () const noexcept
 Retrieves the value type of the property.
 
bool IsReference () const noexcept
 Checks if the property is a reference.
 
MethodHandle GetPrototype () const noexcept
 Retrieves the prototype method for the property.
 
EnumHandle GetEnum () const noexcept
 Retrieves the enum information for the property.
 
- Public Member Functions inherited from plugify::Handle< const Property >
 Handle () noexcept
 Default constructor. Initializes the handle with a null pointer.
 
 Handle (const Property &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.
 
Handleoperator= (const Handle &) &=default
 Copy assignment operator. Copies the handle from another Handle object.
 
Handleoperator= (const Handle &) &&=delete
 Copy assignment operator for rvalue references is deleted.
 
Handleoperator= (Handle &&) &=default
 Move assignment operator. Transfers ownership from another Handle object.
 
Handleoperator= (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

- Protected Attributes inherited from plugify::Handle< const Property >
const Property * _impl
 A pointer to the referenced implementation of type T.
 

Detailed Description

A handle class for the Property structure.

Definition at line 67 of file method.hpp.

Member Function Documentation

◆ GetEnum()

EnumHandle plugify::PropertyHandle::GetEnum ( ) const
noexcept

Retrieves the enum information for the property.

Returns
A EnumHandle representing the enum information. Returns an empty handle if no enum exists.

◆ GetPrototype()

MethodHandle plugify::PropertyHandle::GetPrototype ( ) const
noexcept

Retrieves the prototype method for the property.

Returns
A MethodHandle representing the prototype method. Returns an empty handle if no prototype exists.

◆ GetType()

ValueType plugify::PropertyHandle::GetType ( ) const
noexcept

Retrieves the value type of the property.

Returns
The value type of the property.

◆ IsReference()

bool plugify::PropertyHandle::IsReference ( ) const
noexcept

Checks if the property is a reference.

Returns
true if the property is a reference, otherwise false.

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