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


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_TreeNode () |
| Constructor. More... | |
| virtual Standard_EXPORT | ~exotkTree_TreeNode () |
| Destructor. More... | |
| virtual Standard_EXPORT void | SetData (const Handle_Standard_Transient &aData) |
| Set a data to the node. 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 associted to the node. More... | |
| virtual Standard_EXPORT Standard_Boolean | IsRoot () |
| Return true if the node is a root. More... | |
| virtual Standard_EXPORT Standard_Boolean | HasChildren () |
| Return true if the node has children. More... | |
| virtual Standard_EXPORT Handle_exotkTree_TreeNode | FirstChild () |
| Return the first child. More... | |
| virtual Standard_EXPORT Handle_exotkTree_TreeNode | LastChild () |
| Return the last child. More... | |
| virtual Standard_EXPORT void | Children (exotkTree_ListOfTreeNode &aChildList) |
| Return the children of the node. More... | |
| virtual Standard_EXPORT Standard_Boolean | HasParent () |
| Return true if the node has a parent node. More... | |
| virtual Standard_EXPORT Handle_exotkTree_TreeNode | Parent () |
| Return the parent. More... | |
| virtual Standard_EXPORT void | SetParent (const Handle_exotkTree_TreeNode &aParent) |
| Set aParent as parent node. More... | |
| virtual Standard_EXPORT void | SetTree (const Handle_exotkTree_Tree &aTree) |
| Set the tree. More... | |
| virtual Standard_EXPORT Handle_exotkTree_Tree | Tree () |
| Return the associated tree. More... | |
| virtual Standard_EXPORT Standard_Boolean | HasTree () |
| Return true if a tree is associated to this node. More... | |
| virtual Standard_EXPORT TCollection_AsciiString | SetName (const TCollection_AsciiString &aName) |
| Set the name of this node. More... | |
| virtual Standard_EXPORT TCollection_AsciiString | Name () |
| Return the name of this node. More... | |
| virtual Standard_EXPORT Standard_Boolean | SetChecked (const Standard_Boolean aCheckStatus) |
| Set the check status. More... | |
| virtual Standard_EXPORT Standard_Boolean | IsChecked () |
| Return true if this node is checked. More... | |
| virtual Standard_EXPORT Standard_Boolean | FindChild (const TCollection_AsciiString &aNodeToFind, Handle_exotkTree_TreeNode &aFoundNode) |
| Find the child of this with aNodeToFind name. More... | |
| virtual Standard_EXPORT Standard_Boolean | AppendChild (const Handle_exotkTree_TreeNode &aChildToAppend) |
| Insert aChildToAppend at the end of the child list. More... | |
| virtual Standard_EXPORT Standard_Boolean | PrependChild (const Handle_exotkTree_TreeNode &aChildToPrepend) |
| Insert aChildToAppend at the beginning of the child list. More... | |
| virtual Standard_EXPORT Standard_Boolean | InsertChildAfter (const Handle_exotkTree_TreeNode &aChildToInsert, const Handle_exotkTree_TreeNode &After) |
| Insert aChildToInsert after After. More... | |
| virtual Standard_EXPORT Standard_Boolean | InsertChildAfter (const Handle_exotkTree_TreeNode &aChildToInsert, const TCollection_AsciiString &After) |
| Insert aChildToInsert after the node named After. More... | |
| virtual Standard_EXPORT Standard_Boolean | InsertChildBefore (const Handle_exotkTree_TreeNode &aChildToInsert, const Handle_exotkTree_TreeNode &Before) |
| Insert aChildToInsert before Before. More... | |
| virtual Standard_EXPORT Standard_Boolean | InsertChildBefore (const Handle_exotkTree_TreeNode &aChildToInsert, const TCollection_AsciiString &Before) |
| Insert aChildToInsert before the node named Before. 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 | FindChild (const Handle_exotkTree_TreeNode &aNodeToFind, exotkTree_ListIteratorOfListOfTreeNode &anIterator) |
| Find a child. More... | |
| virtual Standard_EXPORT Standard_Boolean | FindChild (const TCollection_AsciiString &aNodeToFind, exotkTree_ListIteratorOfListOfTreeNode &anIterator) |
| Find a child. More... | |
Protected Attributes | |
| Handle_exotkTree_TreeNode | myParent |
| Handle_Standard_Transient | myData |
| Handle_exotkTree_Tree | myTree |
| exotkTree_ListOfTreeNode | myChildren |
| Standard_Boolean | myIsChecked |
| TCollection_AsciiString | myName |
Friends | |
| Standard_EXPORT friend Handle_Standard_Type & | exotkTree_TreeNode_Type_ () |
| Type management. More... | |
Definition at line 61 of file exotkTree_TreeNode.hxx.
|
|
Constructor.
Definition at line 63 of file exotkTree_TreeNode.cxx. References myIsChecked. |
|
|
Destructor.
Definition at line 76 of file exotkTree_TreeNode.cxx. |
|
|
Insert aChildToAppend at the end of the child list.
Definition at line 509 of file exotkTree_TreeNode.cxx. References exotkTree_ListOfTreeNode::Append(), myChildren, and myTree. Referenced by exotkTree_MenuNode::AddSeparator(). |
|
|
Return the children of the node.
Definition at line 180 of file exotkTree_TreeNode.cxx. References myChildren. |
|
|
Return the associated data.
Definition at line 131 of file exotkTree_TreeNode.cxx. References myData. |
|
|
Type management.
Reimplemented in exotkAIS_DisplayModeMenuNode, exotkAIS_MaterialMenuNode, exotkAIS_TransparencyMenuNode, exotkBRepTree_ShapeNode, exotkTree_MenuNode, and exotkTree_Separator. |
|
||||||||||||
|
Find a child.
Definition at line 350 of file exotkTree_TreeNode.cxx. References HasChildren(), exotkTree_ListIteratorOfListOfTreeNode::Initialize(), exotkTree_ListIteratorOfListOfTreeNode::More(), myChildren, exotkTree_ListIteratorOfListOfTreeNode::Next(), and exotkTree_ListIteratorOfListOfTreeNode::Value(). |
|
||||||||||||
|
Find a child.
Definition at line 324 of file exotkTree_TreeNode.cxx. References HasChildren(), exotkTree_ListIteratorOfListOfTreeNode::Initialize(), exotkTree_ListIteratorOfListOfTreeNode::More(), myChildren, exotkTree_ListIteratorOfListOfTreeNode::Next(), and exotkTree_ListIteratorOfListOfTreeNode::Value(). |
|
||||||||||||
|
Find the child of this with aNodeToFind name.
Definition at line 295 of file exotkTree_TreeNode.cxx. References HasChildren(), exotkTree_ListIteratorOfListOfTreeNode::Initialize(), exotkTree_ListIteratorOfListOfTreeNode::More(), myChildren, exotkTree_ListIteratorOfListOfTreeNode::Next(), exotkMaterial_Datas::theIterator, and exotkTree_ListIteratorOfListOfTreeNode::Value(). Referenced by InsertChildAfter(), and InsertChildBefore(). |
|
|
Return the first child.
Definition at line 553 of file exotkTree_TreeNode.cxx. References exotkTree_ListOfTreeNode::First(), HasChildren(), and myChildren. |
|
|
Return true if the node has children.
Definition at line 167 of file exotkTree_TreeNode.cxx. References exotkTree_ListOfTreeNode::IsEmpty(), and myChildren. Referenced by FindChild(), FirstChild(), InsertChildAfter(), InsertChildBefore(), and LastChild(). |
|
|
Return true if a data is associted to the node.
Definition at line 143 of file exotkTree_TreeNode.cxx. References myData. |
|
|
Return true if the node has a parent node.
Definition at line 192 of file exotkTree_TreeNode.cxx. References myParent. |
|
|
Return true if a tree is associated to this node.
Definition at line 254 of file exotkTree_TreeNode.cxx. References myTree. |
|
||||||||||||
|
Insert aChildToInsert after the node named After.
Definition at line 442 of file exotkTree_TreeNode.cxx. References FindChild(), HasChildren(), exotkTree_ListOfTreeNode::InsertAfter(), myChildren, myTree, and exotkMaterial_Datas::theIterator. |
|
||||||||||||
|
Insert aChildToInsert after After.
Definition at line 376 of file exotkTree_TreeNode.cxx. References FindChild(), HasChildren(), exotkTree_ListOfTreeNode::InsertAfter(), myChildren, myTree, and exotkMaterial_Datas::theIterator. |
|
||||||||||||
|
Insert aChildToInsert before the node named Before.
Definition at line 476 of file exotkTree_TreeNode.cxx. References FindChild(), HasChildren(), exotkTree_ListOfTreeNode::InsertBefore(), myChildren, myTree, and exotkMaterial_Datas::theIterator. |
|
||||||||||||
|
Insert aChildToInsert before Before.
Definition at line 409 of file exotkTree_TreeNode.cxx. References FindChild(), HasChildren(), exotkTree_ListOfTreeNode::InsertBefore(), myChildren, myTree, and exotkMaterial_Datas::theIterator. |
|
|
Return true if this node is checked.
Definition at line 118 of file exotkTree_TreeNode.cxx. References myIsChecked. |
|
|
Type management.
Reimplemented in exotkAIS_DisplayModeMenuNode, exotkAIS_MaterialMenuNode, exotkAIS_TransparencyMenuNode, exotkBRepTree_ShapeNode, exotkTree_MenuNode, and exotkTree_Separator. |
|
|
Return true if the node is a root.
Definition at line 155 of file exotkTree_TreeNode.cxx. |
|
|
Return the last child.
Definition at line 570 of file exotkTree_TreeNode.cxx. References HasChildren(), exotkTree_ListOfTreeNode::Last(), and myChildren. |
|
|
Return the name of this node.
Definition at line 281 of file exotkTree_TreeNode.cxx. References myName. |
|
|
OCC delete.
Reimplemented in exotkAF_ViewAntialiasingMenuNode, exotkAF_ViewBackgroundColorMenuNode, exotkAF_ViewFitMenuNode, exotkAF_ViewHLRMenuNode, exotkAF_ViewTypeMenuNode, exotkAIS_DisplayModeMenuNode, exotkAIS_MaterialMenuNode, exotkAIS_TransparencyMenuNode, exotkBRepTree_ShapeNode, exotkTree_MenuNode, and exotkTree_Separator. Definition at line 94 of file exotkTree_TreeNode.hxx. |
|
|
OCC new.
Reimplemented in exotkAF_ViewAntialiasingMenuNode, exotkAF_ViewBackgroundColorMenuNode, exotkAF_ViewFitMenuNode, exotkAF_ViewHLRMenuNode, exotkAF_ViewTypeMenuNode, exotkAIS_DisplayModeMenuNode, exotkAIS_MaterialMenuNode, exotkAIS_TransparencyMenuNode, exotkBRepTree_ShapeNode, exotkTree_MenuNode, and exotkTree_Separator. Definition at line 83 of file exotkTree_TreeNode.hxx. |
|
||||||||||||
|
OCC new.
Reimplemented in exotkAF_ViewAntialiasingMenuNode, exotkAF_ViewBackgroundColorMenuNode, exotkAF_ViewFitMenuNode, exotkAF_ViewHLRMenuNode, exotkAF_ViewTypeMenuNode, exotkAIS_DisplayModeMenuNode, exotkAIS_MaterialMenuNode, exotkAIS_TransparencyMenuNode, exotkBRepTree_ShapeNode, exotkTree_MenuNode, and exotkTree_Separator. Definition at line 72 of file exotkTree_TreeNode.hxx. |
|
|
Return the parent.
Definition at line 204 of file exotkTree_TreeNode.cxx. References myParent. |
|
|
Insert aChildToAppend at the beginning of the child list.
Definition at line 531 of file exotkTree_TreeNode.cxx. References myChildren, myTree, and exotkTree_ListOfTreeNode::Prepend(). |
|
|
Set the check status.
Definition at line 104 of file exotkTree_TreeNode.cxx. References myIsChecked. |
|
|
Set a data to the node.
Definition at line 91 of file exotkTree_TreeNode.cxx. References myData. Referenced by ~exotkTree_TreeNode(). |
|
|
Set the name of this node.
Definition at line 267 of file exotkTree_TreeNode.cxx. References myName. |
|
|
Set aParent as parent node.
Definition at line 217 of file exotkTree_TreeNode.cxx. References myParent. Referenced by ~exotkTree_TreeNode(). |
|
|
Set the tree.
Definition at line 230 of file exotkTree_TreeNode.cxx. References myTree. Referenced by ~exotkTree_TreeNode(). |
|
|
Return the associated tree.
Definition at line 242 of file exotkTree_TreeNode.cxx. References myTree. |
|
|
Type management.
|
|
|
the children list Definition at line 364 of file exotkTree_TreeNode.hxx. Referenced by AppendChild(), Children(), FindChild(), FirstChild(), HasChildren(), InsertChildAfter(), InsertChildBefore(), LastChild(), and PrependChild(). |
|
|
the associated data Definition at line 358 of file exotkTree_TreeNode.hxx. |
|
|
true if the node is checked Definition at line 367 of file exotkTree_TreeNode.hxx. Referenced by exotkAF_ViewHLRMenuNode::Execute(), exotkAF_ViewAntialiasingMenuNode::Execute(), exotkAF_ViewAntialiasingMenuNode::exotkAF_ViewAntialiasingMenuNode(), exotkAF_ViewHLRMenuNode::exotkAF_ViewHLRMenuNode(), exotkAIS_DisplayModeMenuNode::exotkAIS_DisplayModeMenuNode(), exotkTree_TreeNode(), IsChecked(), and SetChecked(). |
|
|
the node name Definition at line 370 of file exotkTree_TreeNode.hxx. Referenced by exotkAF_ViewAntialiasingMenuNode::exotkAF_ViewAntialiasingMenuNode(), exotkAF_ViewBackgroundColorMenuNode::exotkAF_ViewBackgroundColorMenuNode(), exotkAF_ViewFitMenuNode::exotkAF_ViewFitMenuNode(), exotkAF_ViewHLRMenuNode::exotkAF_ViewHLRMenuNode(), exotkTree_Separator::exotkTree_Separator(), Name(), and SetName(). |
|
|
the parent node Definition at line 355 of file exotkTree_TreeNode.hxx. Referenced by HasParent(), IsRoot(), Parent(), and SetParent(). |
|
|
the associated tree Definition at line 361 of file exotkTree_TreeNode.hxx. Referenced by AppendChild(), HasTree(), InsertChildAfter(), InsertChildBefore(), IsRoot(), PrependChild(), SetTree(), and Tree(). |
1.2.12 written by Dimitri van Heesch,
© 1997-2001