Inherits AZ::DocumentPropertyEditor::AttributeDefinition< AZStd::pair< GenericValueType, AZStd::string > >.
|
using | GenericValuePair = AZStd::pair< GenericValueType, AZStd::string > |
|
|
constexpr | GenericValueAttributeDefinition (AZStd::string_view name) |
|
Dom::Value | ValueToDom (const GenericValuePair &attribute) const override |
| Converts a value of this attribute's type to a DOM value.
|
|
AZ::Dom::Value | LegacyAttributeToDomValue (AZ::PointerObject instanceObject, AZ::Attribute *attribute) const override |
|
AZStd::optional< GenericValuePair > | DomToValue (const Dom::Value &value) const override |
| Converts a DOM value to an instance of AttributeType.
|
|
constexpr | AttributeDefinition (AZStd::string_view name) |
|
Name | GetName () const override |
| Retrieves the name of this attribute, as used as a key in the DOM.
|
|
AZStd::optional< AZStd::pair< GenericValueType, AZStd::string > > | ExtractFromDomNode (const Dom::Value &node) const |
| Extracts this value from a given Node, if this attribute is set there.
|
|
AZ::TypeId | GetTypeId () const override |
| Gets this attribute's type ID.
|
|
AZStd::shared_ptr< AZ::Attribute > | DomValueToLegacyAttribute (const AZ::Dom::Value &value, bool fallback) const override |
|
|
static constexpr const char * | EntryDescriptionKey = "description" |
|
static constexpr const char * | EntryValueKey = "value" |
|
|
AZStd::fixed_string< 128 > | m_name |
|
◆ DomToValue()
template<typename GenericValueType >
◆ LegacyAttributeToDomValue()
template<typename GenericValueType >
◆ ValueToDom()
template<typename GenericValueType >
The documentation for this class was generated from the following file:
- Code/Framework/AzFramework/AzFramework/DocumentPropertyEditor/DocumentSchema.h