ItemTreeData Class Reference

#include <customgui_itemtree.h>

Inheritance diagram for ItemTreeData:

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)
 
ItemTreeNode * GetiNext (ItemTreeNode *node, ItemTreeNode *topnode=nullptr)
 
ItemTreeNode * GetNext (ItemTreeNode *node)
 
ItemTreeNode * GetPrev (ItemTreeNode *node)
 
ItemTreeNode * GetUp (ItemTreeNode *node)
 
ItemTreeNode * GetDown (ItemTreeNode *node)
 
ItemTreeNode * GetRoot ()
 
ItemTreeNode * GetFirst ()
 
void Remove (ItemTreeNode *node)
 
void FreeNode (ItemTreeNode *&node)
 
void Insert (ItemTreeNode *node, ItemTreeNode *parent, ItemTreeNode *prev, Bool aslast=true)
 
void SetOwner (BaseList2D *bl)
 
BaseContainerGetUserData ()
 
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)
 
void ClearSelection ()
 
UInt64 GetSelectedID ()
 
void SetSelectedID (UInt64 guid)
 
void SetSelected (ItemTreeNode *node)
 
ItemTreeNode * GetFirstSelected ()
 
void AddToSelected (ItemTreeNode *node)
 
void Reset ()
 
ItemTreeNodeIndex * BuildIndexTable (Int32 &tcnt, Bool sorted)
 
Int32 GetClipCount ()
 
ItemTreeNode ** GetClipArray ()
 
Int32 GetNodeTable (ItemTreeNode ***table)
 
void RemoveSelected ()
 
UInt64 GetChecksum ()
 
void SortNames (BaseDocument *doc)
 
void Validate (BaseDocument *doc)
 
Bool CopyFrom (ItemTreeData *src)
 

Static Public Member Functions

static ItemTreeDataAlloc ()
 
static void Free (ItemTreeData *&data)
 

Private Member Functions

 ItemTreeData ()
 
 ~ItemTreeData ()
 

Constructor & Destructor Documentation

◆ ItemTreeData()

ItemTreeData ( )
private

◆ ~ItemTreeData()

~ItemTreeData ( )
private

Member Function Documentation

◆ Alloc()

static ItemTreeData* Alloc ( )
static

◆ Free()

static void Free ( ItemTreeData *&  data)
static

◆ AddItem()

ItemTreeNode* AddItem ( Int32  id,
const maxon::String name,
BaseList2D bl,
const GeData data,
UInt32  flags,
Bool  aslast = true 
)

◆ AddNode()

ItemTreeNode* AddNode ( Int32  id,
const maxon::String name,
BaseList2D bl,
const GeData data,
UInt32  flags,
ItemTreeNode *  parent,
ItemTreeNode *  prev,
Bool  aslast = true 
)

◆ GetNodeData()

ItemTreeNodeData* GetNodeData ( ItemTreeNode *  node)

◆ GetiNext()

ItemTreeNode* GetiNext ( ItemTreeNode *  node,
ItemTreeNode *  topnode = nullptr 
)

◆ GetNext()

ItemTreeNode* GetNext ( ItemTreeNode *  node)

◆ GetPrev()

ItemTreeNode* GetPrev ( ItemTreeNode *  node)

◆ GetUp()

ItemTreeNode* GetUp ( ItemTreeNode *  node)

◆ GetDown()

ItemTreeNode* GetDown ( ItemTreeNode *  node)

◆ GetRoot()

ItemTreeNode* GetRoot ( )

◆ GetFirst()

ItemTreeNode* GetFirst ( )

◆ Remove()

void Remove ( ItemTreeNode *  node)

◆ FreeNode()

void FreeNode ( ItemTreeNode *&  node)

◆ Insert()

void Insert ( ItemTreeNode *  node,
ItemTreeNode *  parent,
ItemTreeNode *  prev,
Bool  aslast = true 
)

◆ SetOwner()

void SetOwner ( BaseList2D bl)

◆ GetUserData()

BaseContainer* GetUserData ( )

◆ GetSelected()

Int32 GetSelected ( ItemTreeNode ***  table,
Bool  children = true 
)

◆ Find() [1/2]

ItemTreeNode* Find ( UInt64  guid,
ItemTreeNode *  node = nullptr 
)

◆ Find() [2/2]

ItemTreeNode* Find ( UInt64  guid,
Int32  id,
Bool  child = true,
ItemTreeNode *  node = nullptr 
)

◆ ClearSelection()

void ClearSelection ( )

◆ GetSelectedID()

UInt64 GetSelectedID ( )

◆ SetSelectedID()

void SetSelectedID ( UInt64  guid)

◆ SetSelected()

void SetSelected ( ItemTreeNode *  node)

◆ GetFirstSelected()

ItemTreeNode* GetFirstSelected ( )

◆ AddToSelected()

void AddToSelected ( ItemTreeNode *  node)

◆ Reset()

void Reset ( )

◆ BuildIndexTable()

ItemTreeNodeIndex* BuildIndexTable ( Int32 tcnt,
Bool  sorted 
)

◆ GetClipCount()

Int32 GetClipCount ( )

◆ GetClipArray()

ItemTreeNode** GetClipArray ( )

◆ GetNodeTable()

Int32 GetNodeTable ( ItemTreeNode ***  table)

◆ RemoveSelected()

void RemoveSelected ( )

◆ GetChecksum()

UInt64 GetChecksum ( )

◆ SortNames()

void SortNames ( BaseDocument doc)

◆ Validate()

void Validate ( BaseDocument doc)

◆ CopyFrom()

Bool CopyFrom ( ItemTreeData src)