#include <ReflectContext.h>
Inherited by AZ::AttributeData< T >, AZ::AttributeFunction< R(Args...)>, and AZ::AttributeInvocable< Invocable >.
|
|
using | ContextDeleter = void(*)(void *contextData) |
| |
|
|
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. |
- Returns
- A Dom::Value containing the marshalled result of the function call (null if the call returned void)
◆ GetAsDomValue()
| virtual AZ::Dom::Value AZ::Attribute::GetAsDomValue |
( |
[[maybe_unused] ] void * |
instance | ) |
|
|
inlinevirtual |
Gets a marshaleld Dom::Value representation of this attribute bound to a given instance. By default this just serializes a pointer to the instance and this attribute, but for non-invokable attributes this is just abbreviated to a marshalled version of the data stored in the attribute.
The documentation for this class was generated from the following file:
- Code/Framework/AzCore/AzCore/RTTI/ReflectContext.h