#include <customgui_itemtree.h>
Public Member Functions | |
ItemTreeNode * | AddItem (Int32 id, const maxon::String &name, BaseList2D *bl, const GeData &data, UInt32 flags, Bool aslast=true) |
ItemTreeNode * | AddNode (Int32 id, const maxon::String &name, BaseList2D *bl, const GeData &data, UInt32 flags, ItemTreeNode *parent, ItemTreeNode *prev, Bool aslast=true) |
ItemTreeNodeData * | GetNodeData (ItemTreeNode *node) |
const ItemTreeNodeData * | GetNodeData (const ItemTreeNode *node) const |
ItemTreeNode * | GetiNext (ItemTreeNode *node, ItemTreeNode *topnode=nullptr) |
const ItemTreeNode * | GetiNext (const ItemTreeNode *node, const ItemTreeNode *topnode=nullptr) const |
ItemTreeNode * | GetNext (ItemTreeNode *node) |
const ItemTreeNode * | GetNext (const ItemTreeNode *node) const |
ItemTreeNode * | GetPrev (ItemTreeNode *node) |
ItemTreeNode * | GetUp (ItemTreeNode *node) |
const ItemTreeNode * | GetUp (const ItemTreeNode *node) const |
ItemTreeNode * | GetDown (ItemTreeNode *node) |
const ItemTreeNode * | GetDown (const ItemTreeNode *node) const |
ItemTreeNode * | GetRoot () |
ItemTreeNode * | GetFirst () |
const ItemTreeNode * | GetFirst () const |
void | Remove (ItemTreeNode *node) |
void | FreeNode (ItemTreeNode *&node) |
void | Insert (ItemTreeNode *node, ItemTreeNode *parent, ItemTreeNode *prev, Bool aslast=true) |
void | SetOwner (BaseList2D *bl) |
BaseContainer * | GetUserData () |
Int32 | GetSelected (ItemTreeNode ***table, Bool children=true) |
ItemTreeNode * | Find (UInt64 guid, ItemTreeNode *node=nullptr) |
ItemTreeNode * | Find (UInt64 guid, Int32 id, Bool child=true, ItemTreeNode *node=nullptr) |
const ItemTreeNode * | Find (UInt64 guid, const ItemTreeNode *node=nullptr) const |
const ItemTreeNode * | Find (UInt64 guid, Int32 id, Bool child=true, const ItemTreeNode *node=nullptr) const |
void | ClearSelection () |
UInt64 | GetSelectedID () |
void | SetSelectedID (UInt64 guid) |
void | SetSelected (ItemTreeNode *node) |
ItemTreeNode * | GetFirstSelected () |
const ItemTreeNode * | GetFirstSelected () const |
void | AddToSelected (ItemTreeNode *node) |
void | Reset () |
ItemTreeNodeIndex * | BuildIndexTable (Int32 &tcnt, Bool sorted) |
Int32 | GetClipCount () |
ItemTreeNode ** | GetClipArray () |
Int32 | GetNodeTable (ItemTreeNode ***table) |
void | RemoveSelected () |
UInt64 | GetChecksum () const |
maxon::HashInt | GetHashCode (Bool onlyGuid) const |
void | SortNames (BaseDocument *doc) |
void | Validate (BaseDocument *doc) |
Bool | CopyFrom (ItemTreeData *src) |
Static Public Member Functions | |
static ItemTreeData * | Alloc () |
static void | Free (ItemTreeData *&data) |
Private Member Functions | |
ItemTreeData () | |
~ItemTreeData () | |
Additional Inherited Members | |
Static Public Attributes inherited from CustomDataTypeT< 1024869 > | |
static constexpr Int32 | DATATYPEID |
|
private |
|
private |
|
static |
|
static |
ItemTreeNode* AddItem | ( | Int32 | id, |
const maxon::String & | name, | ||
BaseList2D * | bl, | ||
const GeData & | data, | ||
UInt32 | flags, | ||
Bool | aslast = true |
||
) |
ItemTreeNode* AddNode | ( | Int32 | id, |
const maxon::String & | name, | ||
BaseList2D * | bl, | ||
const GeData & | data, | ||
UInt32 | flags, | ||
ItemTreeNode * | parent, | ||
ItemTreeNode * | prev, | ||
Bool | aslast = true |
||
) |
ItemTreeNodeData* GetNodeData | ( | ItemTreeNode * | node | ) |
const ItemTreeNodeData* GetNodeData | ( | const ItemTreeNode * | node | ) | const |
ItemTreeNode* GetiNext | ( | ItemTreeNode * | node, |
ItemTreeNode * | topnode = nullptr |
||
) |
const ItemTreeNode* GetiNext | ( | const ItemTreeNode * | node, |
const ItemTreeNode * | topnode = nullptr |
||
) | const |
ItemTreeNode* GetNext | ( | ItemTreeNode * | node | ) |
const ItemTreeNode* GetNext | ( | const ItemTreeNode * | node | ) | const |
ItemTreeNode* GetPrev | ( | ItemTreeNode * | node | ) |
ItemTreeNode* GetUp | ( | ItemTreeNode * | node | ) |
const ItemTreeNode* GetUp | ( | const ItemTreeNode * | node | ) | const |
ItemTreeNode* GetDown | ( | ItemTreeNode * | node | ) |
const ItemTreeNode* GetDown | ( | const ItemTreeNode * | node | ) | const |
ItemTreeNode* GetRoot | ( | ) |
ItemTreeNode* GetFirst | ( | ) |
const ItemTreeNode* GetFirst | ( | ) | const |
void Remove | ( | ItemTreeNode * | node | ) |
void FreeNode | ( | ItemTreeNode *& | node | ) |
void Insert | ( | ItemTreeNode * | node, |
ItemTreeNode * | parent, | ||
ItemTreeNode * | prev, | ||
Bool | aslast = true |
||
) |
void SetOwner | ( | BaseList2D * | bl | ) |
BaseContainer* GetUserData | ( | ) |
ItemTreeNode* Find | ( | UInt64 | guid, |
ItemTreeNode * | node = nullptr |
||
) |
const ItemTreeNode* Find | ( | UInt64 | guid, |
const ItemTreeNode * | node = nullptr |
||
) | const |
const ItemTreeNode* Find | ( | UInt64 | guid, |
Int32 | id, | ||
Bool | child = true , |
||
const ItemTreeNode * | node = nullptr |
||
) | const |
void ClearSelection | ( | ) |
UInt64 GetSelectedID | ( | ) |
void SetSelectedID | ( | UInt64 | guid | ) |
void SetSelected | ( | ItemTreeNode * | node | ) |
ItemTreeNode* GetFirstSelected | ( | ) |
const ItemTreeNode* GetFirstSelected | ( | ) | const |
void AddToSelected | ( | ItemTreeNode * | node | ) |
void Reset | ( | ) |
Int32 GetClipCount | ( | ) |
ItemTreeNode** GetClipArray | ( | ) |
Int32 GetNodeTable | ( | ItemTreeNode *** | table | ) |
void RemoveSelected | ( | ) |
UInt64 GetChecksum | ( | ) | const |
maxon::HashInt GetHashCode | ( | Bool | onlyGuid | ) | const |
void SortNames | ( | BaseDocument * | doc | ) |
void Validate | ( | BaseDocument * | doc | ) |
Bool CopyFrom | ( | ItemTreeData * | src | ) |