|
enum class | ComparisonFlags : AZ::u32 { None = 0
, New = (1 << 0)
, Differs = (1 << 1)
, Removed = (1 << 2)
} |
|
typedef AZStd::list< InstanceDataNode > | NodeContainer |
|
using | Identifier = AZ::u64 |
| Field address structure, which is a string of the 64-bit addresses of each ancestor along the hierarchy.
|
|
using | Address = AZStd::vector< Identifier > |
|
typedef AZStd::function< const AZ::SerializeContext::ClassData *(const AZ::Uuid &classId, const AZ::Uuid &typeId, AZ::SerializeContext *context)> | SelectClassCallback |
| Has this node (or children if specified) changed in any way from their comparison node.
|
|
typedef AZStd::function< bool(void *dataPtr, const AZ::SerializeContext::ClassElement *classElement, bool noDefaultData, AZ::SerializeContext *context)> | FillDataClassCallback |
|
typedef AZStd::function< void(const AZ::Uuid &classId)> | CustomElementCreationHandler |
|
|
template<class T > |
bool | Read (T &value) |
| Read a value into a variable of type T. Returns true if values read are the same across all instances in this node.
|
|
bool | ReadRaw (void *&valuePtr, AZ::TypeId valueType) |
|
template<class T > |
void | Write (const T &value) |
| Write a value to the node (same value is written to all instances regardless of their original value).
|
|
void | WriteRaw (const void *valuePtr, AZ::TypeId valueType) |
|
bool | IsMultiInstance () const |
| Check if have more than one instance for this node.
|
|
size_t | GetNumInstances () const |
|
bool | HasInstances () const |
|
void * | GetInstance (size_t idx) const |
|
void ** | GetInstanceAddress (size_t idx) const |
|
void * | FirstInstance () const |
|
InstanceDataNode * | GetRoot () const |
|
InstanceDataNode * | GetParent () const |
|
NodeContainer & | GetChildren () |
|
const NodeContainer & | GetChildren () const |
|
const AZ::SerializeContext::ClassData * | GetClassMetadata () const |
|
const AZ::SerializeContext::ClassElement * | GetElementMetadata () const |
|
const AZ::Edit::ElementData * | GetElementEditMetadata () const |
|
const AZ::Edit::ElementData * | GetGroupElementMetadata () const |
|
AZ::SerializeContext * | GetSerializeContext () const |
|
void | MarkNewVersusComparison () |
| Flags management when using a comparison instance.
|
|
void | MarkDifferentVersusComparison () |
| This node differs from that of the comparison instance.
|
|
void | MarkRemovedVersusComparison () |
| This node does not exist in the target hierarchy.
|
|
void | ClearComparisonData () |
| Clear comparison flags (for re-computation).
|
|
bool | IsNewVersusComparison () const |
| Has this node been flagged as new vs. the comparison instance?
|
|
bool | IsDifferentVersusComparison () const |
| Has this node been flagged as different from the comparison instance?
|
|
bool | IsRemovedVersusComparison () const |
| Is this node not in the comparison instance?
|
|
const InstanceDataNode * | GetComparisonNode () const |
| Retrieves the corresopnding node in the comparison hierarchy, if relevant.
|
|
bool | HasChangesVersusComparison (bool includeChildren) const |
|
bool | CreateContainerElement (const SelectClassCallback &selectClass, const FillDataClassCallback &fillData) |
|
bool | ChildMatchesAddress (const InstanceDataNode::Address &elementAddress) const |
|
Address | ComputeAddress () const |
|
AZ::Edit::Attribute * | FindAttribute (AZ::Edit::AttributeId nameCrc) const |
| Check the element edit data, class element, and class data for the specified attribute.
|
|
template<class T > |
bool | ReadAttribute (AZ::Edit::AttributeId nameCrc, T &value, bool readChildAttributes=false) const |
| Read the value T of the specified attribute into value if it exists and shares the same value across all instances.
|
|