plugify
1.0.0.0
|
A reference class for the Property
structure.
More...
#include <method.hpp>
Public Member Functions | |
ValueType | GetType () const noexcept |
< Inherit constructors from Ref<const Property>. More... | |
bool | IsReference () const noexcept |
Checks if the property is a reference. More... | |
std::optional< MethodRef > | GetPrototype () const noexcept |
Retrieves the prototype method for the property. More... | |
std::optional< EnumRef > | GetEnum () const noexcept |
Retrieves the enum information for the property. More... | |
Public Member Functions inherited from plugify::Ref< const Property > | |
Ref (const Property &impl) noexcept | |
Ref (Ref const &)=default | |
Ref (Ref &&)=default | |
bool | operator== (const Ref &other) const noexcept |
bool | operator== (const const Property *impl) const noexcept |
Ref & | operator= (const Ref &) &=default |
Ref & | operator= (const Ref &) &&=delete |
Ref & | operator= (Ref &&) &=default |
Ref & | operator= (Ref &&) &&=delete |
operator bool () const noexcept | |
Additional Inherited Members | |
Protected Attributes inherited from plugify::Ref< const Property > | |
const Property * | _impl |
A reference class for the Property
structure.
This class holds a reference to a Property
object, allowing users to retrieve information such as its type, whether it's a reference, and its prototype method if applicable.
Definition at line 75 of file method.hpp.
|
noexcept |
Retrieves the enum information for the property.
EnumRef
representing the enum information. Returns an empty optional if no enum exists.
|
noexcept |
Retrieves the prototype method for the property.
MethodRef
representing the prototype method. Returns an empty optional if no prototype exists.
|
noexcept |
< Inherit constructors from Ref<const Property>.
Retrieves the value type of the property.
|
noexcept |
Checks if the property is a reference.
true
if the property is a reference, otherwise false
.