engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Protected 成员函数 | Protected 属性 | 所有成员列表
FEditPropertyChain类 参考

This class represents the chain of member properties leading to an internal struct property. 更多...

#include <UnrealType.h>

+ 类 FEditPropertyChain 继承关系图:

Public 成员函数

 FEditPropertyChain ()
 Constructors
 
TDoubleLinkedListNode * GetActiveMemberNode () const
 Returns the node corresponding to the currently active property, or if the currently active property is not a member variable (i.e. 更多...
 
TDoubleLinkedListNode * GetActiveNode () const
 Returns the node corresponding to the currently active property.
 
bool IsArchetypeInstanceAffected (UObject *InInstance) const
 Returns whether the specified archetype instance will be affected by the property change.
 
bool SetActiveMemberPropertyNode (FProperty *NewActiveMemberProperty)
 Sets the ActiveMemberPropertyNode to the node associated with the property specified. 更多...
 
bool SetActivePropertyNode (FProperty *NewActiveProperty)
 Sets the ActivePropertyNode to the node associated with the property specified. 更多...
 
template<typename T >
void SetAffectedArchetypeInstances (T &&InAffectedInstances)
 Specify the set of archetype instances that will be affected by the property change.
 
- Public 成员函数 继承自 TDoubleLinkedList< FProperty * >
bool AddHead (const FProperty * &InElement)
 Add the specified value to the beginning of the list, making that value the new head of the list. 更多...
 
bool AddTail (const FProperty * &InElement)
 Append the specified value to the end of the list 更多...
 
void Empty ()
 Removes all nodes from the list.
 
TDoubleLinkedListNode * FindNode (const FProperty * &InElement)
 Finds the node corresponding to the value specified 更多...
 
TDoubleLinkedListNode * GetHead () const
 Returns the node at the head of the list. 更多...
 
TDoubleLinkedListNode * GetTail () const
 Returns the node at the end of the list. 更多...
 
bool InsertNode (const FProperty * &InElement, TDoubleLinkedListNode *NodeToInsertBefore=nullptr)
 Insert the specified value into the list at an arbitrary point. 更多...
 
int32 Num () const
 Returns the number of items in the list. 更多...
 
void RemoveNode (const FProperty * &InElement)
 Remove the node corresponding to InElement. 更多...
 
void RemoveNode (TDoubleLinkedListNode *NodeToRemove, bool bDeleteNode=true)
 Removes the node specified. 更多...
 
 TDoubleLinkedList ()
 Constructors.
 
virtual ~TDoubleLinkedList ()
 Destructor
 

Protected 成员函数

virtual void SetListSize (int32 NewListSize)
 TDoubleLinkedList interface 更多...
 
virtual void SetListSize (int32 NewListSize)
 Updates the size reported by Num(). 更多...
 

Protected 属性

TDoubleLinkedListNode * ActiveMemberPropertyNode
 In a hierarchy of properties being edited, corresponds to the class member property which contains the property that is currently being processed by Pre/PostEditChange. 更多...
 
TDoubleLinkedListNode * ActivePropertyNode
 In a hierarchy of properties being edited, corresponds to the property that is currently being processed by Pre/PostEditChange
 
TSet< UObject * > AffectedInstances
 Archetype instances that will be affected by the property change.
 
bool bFilterAffectedInstances
 Assume all archetype instances are affected unless a set of affected instances is provided.
 

额外继承的成员函数

- Public 类型 继承自 TDoubleLinkedList< FProperty * >
typedef TDoubleLinkedListIterator< TDoubleLinkedListNode, FProperty * > TIterator
 Used to iterate over the elements of a linked list.
 

详细描述

This class represents the chain of member properties leading to an internal struct property.

It is used for tracking which member property corresponds to the UScriptStruct that owns a particular property.

成员函数说明

◆ GetActiveMemberNode()

TDoubleLinkedListNode * FEditPropertyChain::GetActiveMemberNode ( ) const

Returns the node corresponding to the currently active property, or if the currently active property is not a member variable (i.e.

inside of a struct/array), the node corresponding to the member variable which contains the currently active property.

◆ SetActiveMemberPropertyNode()

bool FEditPropertyChain::SetActiveMemberPropertyNode ( FProperty *  NewActiveMemberProperty)

Sets the ActiveMemberPropertyNode to the node associated with the property specified.

参数
NewActiveMemberPropertythe member FProperty which contains the property currently being evaluated by Pre/PostEditChange
返回
true if the ActiveMemberPropertyNode was successfully changed to the node associated with the property specified. false if there was no node corresponding to that property.

◆ SetActivePropertyNode()

bool FEditPropertyChain::SetActivePropertyNode ( FProperty *  NewActiveProperty)

Sets the ActivePropertyNode to the node associated with the property specified.

参数
NewActivePropertythe FProperty that is currently being evaluated by Pre/PostEditChange
返回
true if the ActivePropertyNode was successfully changed to the node associated with the property specified. false if there was no node corresponding to that property.

◆ SetListSize()

virtual void FEditPropertyChain::SetListSize ( int32  NewListSize)
protectedvirtual

TDoubleLinkedList interface

Updates the size reported by Num(). Child classes can use this function to conveniently hook into list additions/removals.

This version ensures that the ActivePropertyNode and ActiveMemberPropertyNode point to a valid nodes or NULL if this list is empty.

参数
NewListSizethe new size for this list

重载 TDoubleLinkedList< FProperty * > .

类成员变量说明

◆ ActiveMemberPropertyNode

TDoubleLinkedListNode* FEditPropertyChain::ActiveMemberPropertyNode
protected

In a hierarchy of properties being edited, corresponds to the class member property which contains the property that is currently being processed by Pre/PostEditChange.

This will only be different from the ActivePropertyNode if the active property is contained within a struct, dynamic array, or static array.


该类的文档由以下文件生成: