#include <ReflectContext.h>
Inherited by AZ::AttributeData< T >, AZ::AttributeFunction< R(Args...)>, and AZ::AttributeInvocable< Invocable >.
|
using | ContextDeleter = void(*)(void *contextData) |
|
|
static const char * | GetTypeName () |
|
static AZ::Name | GetTypeField () |
|
static AZ::Name | GetInstanceField () |
|
static AZ::Name | GetAttributeField () |
|
|
bool | m_describesChildren = false |
|
bool | m_childClassOwned = false |
|
Base abstract class for all attributes. Use azrtti to get the appropriate version. Of course if NULL there is a data mismatch of attributes.
◆ CanDomInvoke()
virtual bool AZ::Attribute::CanDomInvoke |
( |
[[maybe_unused] ] const AZ::Dom::Value & |
arguments | ) |
const |
|
inlinevirtual |
◆ DomInvoke()
Attempts to execute this attribute given an array of Dom::Values as parameters.
- Parameters
-
arguments | A Dom::Value that must contain an Array of arguments for this invokable attribute. The first argument will be the instance argument if the function being invoked is a member function |
- Returns
- A Dom::Value containing the marshalled result of the function call (null if the call returned void)
◆ GetAsDomValue()
Gets a marshalled Dom::Value representation of this attribute bound to a given instance. By default this is just abbreviated to a marshalled version of the data stored in the attribute, but for invokable attributes, override this method to serializes a pointer to the instance and this attribute
Reimplemented in AZ::AttributeData< T >.
◆ GetPotentialClassTypeId()
virtual AZ::TypeId AZ::Attribute::GetPotentialClassTypeId |
( |
| ) |
const |
|
inlinevirtual |
The documentation for this class was generated from the following file:
- Code/Framework/AzCore/AzCore/RTTI/ReflectContext.h