#include <exotkTree_Tree.hxx>
Inheritance diagram for exotkTree_Tree:


Public Methods | |
| void * | operator new (size_t, void *anAddress) |
| OCC new. More... | |
| void * | operator new (size_t size) |
| OCC new. More... | |
| void | operator delete (void *anAddress) |
| OCC delete. More... | |
| Standard_EXPORT | exotkTree_Tree () |
| Constructor. More... | |
| virtual Standard_EXPORT | ~exotkTree_Tree () |
| Destructor. More... | |
| virtual Standard_EXPORT void | SetRoot (const Handle_exotkTree_TreeNode &aRoot) |
| Set the root. More... | |
| virtual Standard_EXPORT Handle_exotkTree_TreeNode | Root () |
| Return the Root. More... | |
| virtual Standard_EXPORT void | SetData (const Handle_Standard_Transient &aData) |
| Set a data associated to the tree. More... | |
| virtual Standard_EXPORT Handle_Standard_Transient | Data () |
| Return the associated data. More... | |
| virtual Standard_EXPORT Standard_Boolean | HasData () |
| Return True if a data is set. More... | |
| virtual Standard_EXPORT TCollection_AsciiString | Dump () |
| Dump the tree in the returned string. More... | |
| virtual Standard_EXPORT Standard_Boolean | RemoveUpdator (exotkTree_TreeUpdator *anUpdatorToRemove) |
| Remove anUpdatorToRemove. More... | |
| virtual Standard_EXPORT Standard_Boolean | AddUpdator (exotkTree_TreeUpdator *anUpdatorToAdd) |
| Add anUpdatorToAdd. More... | |
| virtual Standard_EXPORT Standard_Boolean | Expand (const Handle_exotkTree_TreeNode &aNodeToExpand, const Standard_Boolean Recursive) |
| Expand aNodeToExpand. More... | |
| virtual Standard_EXPORT Standard_Boolean | Collapse (const Handle_exotkTree_TreeNode &aNodeToCollapse) |
| Collapse aNodeToCollapse. More... | |
| virtual Standard_EXPORT Standard_Boolean | ToggleExpansion (const Handle_exotkTree_TreeNode &aNodeToToggle, const Standard_Boolean Recursive) |
| Toggle the expansion of aNodeToToggle. More... | |
| virtual Standard_EXPORT Standard_Boolean | SetVisible (const Handle_exotkTree_TreeNode &aNode) |
| Set aNode as visible. More... | |
| virtual Standard_EXPORT Standard_Boolean | UpdateNode (const Handle_exotkTree_TreeNode &aNodeToUpdate) |
| Update aNodeToUpdate. More... | |
| virtual Standard_EXPORT void | NotifyInsertItem (const Handle_exotkTree_TreeNode &aParentNode, const Handle_exotkTree_TreeNode &anInsertedNode, const Handle_exotkTree_TreeNode &aPositionNode) |
| Notify to the updators, anInsertedNode has been inserted. More... | |
| Standard_EXPORT const Handle_Standard_Type & | DynamicType () const |
| Type management. More... | |
| Standard_EXPORT Standard_Boolean | IsKind (const Handle_Standard_Type &) const |
| Type management. More... | |
Protected Methods | |
| virtual Standard_EXPORT Standard_Boolean | UpdatorExists (exotkTree_TreeUpdator *anUpdatorToCheck) |
| Returns true if anUpdatorToCheck exists. More... | |
| virtual Standard_EXPORT TCollection_AsciiString | DumpRec (const Handle_exotkTree_TreeNode &aNode, const Standard_Integer level=0) |
| dump aNode recursively. More... | |
Protected Attributes | |
| Handle_exotkTree_TreeNode | myRoot |
| Handle_Standard_Transient | myData |
| std::list< exotkTree_TreeUpdator *> | myUpdators |
Friends | |
| Standard_EXPORT friend Handle_Standard_Type & | exotkTree_Tree_Type_ () |
| Type management. More... | |
Definition at line 60 of file exotkTree_Tree.hxx.
|
|
Constructor.
Definition at line 70 of file exotkTree_Tree.cxx. |
|
|
Destructor.
Definition at line 83 of file exotkTree_Tree.cxx. |
|
|
Add anUpdatorToAdd.
Definition at line 211 of file exotkTree_Tree.cxx. References myUpdators, and UpdatorExists(). |
|
|
Collapse aNodeToCollapse.
Definition at line 314 of file exotkTree_Tree.cxx. References exotkTree_TreeUpdator::CollapseNode(), myUpdators, and exotkMaterial_Datas::theIterator. |
|
|
Return the associated data.
Definition at line 135 of file exotkTree_Tree.cxx. References myData. |
|
|
Dump the tree in the returned string.
Definition at line 159 of file exotkTree_Tree.cxx. |
|
||||||||||||
|
dump aNode recursively.
Definition at line 182 of file exotkTree_Tree.cxx. References exotkTree_ListIteratorOfListOfTreeNode::Initialize(), exotkTree_ListIteratorOfListOfTreeNode::More(), exotkTree_ListIteratorOfListOfTreeNode::Next(), and exotkTree_ListIteratorOfListOfTreeNode::Value(). Referenced by Dump(). |
|
|
Type management.
Reimplemented in exotkAIS_InteractiveObjectPopup, and exotkTree_Menu. |
|
||||||||||||
|
Expand aNodeToExpand.
Definition at line 291 of file exotkTree_Tree.cxx. References exotkTree_TreeUpdator::ExpandNode(), myUpdators, and exotkMaterial_Datas::theIterator. |
|
|
Return True if a data is set.
Definition at line 147 of file exotkTree_Tree.cxx. References myData. |
|
|
Type management.
Reimplemented in exotkAIS_InteractiveObjectPopup, and exotkTree_Menu. |
|
||||||||||||||||
|
Notify to the updators, anInsertedNode has been inserted.
Definition at line 401 of file exotkTree_Tree.cxx. References myUpdators, exotkTree_TreeUpdator::NotifyInsertItem(), and exotkMaterial_Datas::theIterator. |
|
|
OCC delete.
Reimplemented in exotkAF_ViewPopup, exotkAIS_InteractiveObjectPopup, and exotkTree_Menu. Definition at line 93 of file exotkTree_Tree.hxx. |
|
|
OCC new.
Reimplemented in exotkAF_ViewPopup, exotkAIS_InteractiveObjectPopup, and exotkTree_Menu. Definition at line 82 of file exotkTree_Tree.hxx. |
|
||||||||||||
|
OCC new.
Reimplemented in exotkAF_ViewPopup, exotkAIS_InteractiveObjectPopup, and exotkTree_Menu. Definition at line 71 of file exotkTree_Tree.hxx. |
|
|
Remove anUpdatorToRemove.
Definition at line 233 of file exotkTree_Tree.cxx. References myUpdators, and exotkMaterial_Datas::theIterator. |
|
|
Return the Root.
Definition at line 96 of file exotkTree_Tree.cxx. References myRoot. |
|
|
Set a data associated to the tree.
Definition at line 123 of file exotkTree_Tree.cxx. References myData. |
|
|
Set the root.
Definition at line 110 of file exotkTree_Tree.cxx. References myRoot. Referenced by exotkAIS_InteractiveObjectPopup::Create(), and exotkAF_ViewPopup::Create(). |
|
|
Set aNode as visible.
Definition at line 362 of file exotkTree_Tree.cxx. References myUpdators, exotkTree_TreeUpdator::SetVisible(), and exotkMaterial_Datas::theIterator. |
|
||||||||||||
|
Toggle the expansion of aNodeToToggle.
Definition at line 338 of file exotkTree_Tree.cxx. References myUpdators, exotkMaterial_Datas::theIterator, and exotkTree_TreeUpdator::ToggleExpansion(). |
|
|
Update aNodeToUpdate.
Definition at line 386 of file exotkTree_Tree.cxx. References myUpdators, exotkMaterial_Datas::theIterator, and exotkTree_TreeUpdator::UpdateNode(). |
|
|
Returns true if anUpdatorToCheck exists.
Definition at line 264 of file exotkTree_Tree.cxx. References myUpdators, and exotkMaterial_Datas::theIterator. Referenced by AddUpdator(). |
|
|
Type management.
|
|
|
the associated data Definition at line 272 of file exotkTree_Tree.hxx. |
|
|
the Root node Definition at line 270 of file exotkTree_Tree.hxx. |
|
|
the updators Definition at line 275 of file exotkTree_Tree.hxx. Referenced by AddUpdator(), Collapse(), Expand(), NotifyInsertItem(), RemoveUpdator(), SetVisible(), ToggleExpansion(), UpdateNode(), and UpdatorExists(). |
1.2.12 written by Dimitri van Heesch,
© 1997-2001