C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

Tree node. More...

#include <model_tree.h>

+ Inheritance diagram for c3d::MbTreeNode:
+ Collaboration diagram for c3d::MbTreeNode:

Public Member Functions

virtual MbItemDataGetData ()
 Access to the node data. More...
 
virtual ClusterReferenceGetPosition ()
 Access to the node read/write position.
 
virtual bool PartialRead () const
 Check whether to read the node partially.
 
virtual void SetPartialRead (bool partial) const
 Set indication of full or partial node reading.
 
virtual writeroperator>> (writer &)
 Write the node.
 
virtual readeroperator<< (reader &)
 Read the node.
 
void GetAllDescendants (std::set< const IModelTreeNode * > &nodes) const
 Access to the all descendants of the node.
 
MbTreeNodeCopyToTreeWithParents (c3d::IModelTree *tree, bool partial) const
 Create a node with data from the current node. Copy recursively all parents of the node to the tree preserving the hierarchy.
 
MbTreeNodeCopyToTreeWithChildren (c3d::IModelTree *tree, bool partial) const
 Create a node with data from the current node. Copy recursively all children of the node to the tree preserving the hierarchy.
 
bool IsOpen () const
 Access to the flag which indicates whether the node is entered during traversing into depth over the tree (false - means that the node and its children are already leaved or are not met yet).
 

Detailed Description

Tree node.

Tree node (can have several children).

Member Function Documentation

◆ GetData()

virtual MbItemData& c3d::MbTreeNode::GetData ( )
inlinevirtual

Access to the node data.


IModelTreeNode methods.

Implements c3d::IModelTreeNode.


The documentation for this class was generated from the following file: