123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- #include "frametree.h"
- FrameTreeNode::FrameTreeNode( int index, FrameTreeNode *parent, int depth )
- : index( index ),
- parent( parent ),
- depth( depth )
- {
- }
- FrameTreeNode::~FrameTreeNode()
- {
- index = -1;
- parent = 0;
- depth = -1;
- }
- int FrameTreeNode::getIndex() const
- {
- return index;
- }
- FrameTreeNode *FrameTreeNode::getParent() const
- {
- return parent;
- }
- int FrameTreeNode::getDepth() const
- {
- return depth;
- }
- int FrameTreeNode::getChildCount() const
- {
- return 0;
- }
|