42 template<
typename TValue >
62 const TValue & Get()
const;
65 TValue Set(
const TValue data);
71 Self * GetParent()
const;
74 bool HasChildren()
const;
77 bool HasParent()
const;
80 void SetParent(
Self *n);
89 ChildIdentifier GetNumberOfChildren(
unsigned int depth = 0,
char *name = ITK_NULLPTR)
const;
92 bool ReplaceChild(
Self *oldChild,
Self *newChild);
101 void AddChild(
Self *node);
107 #if !defined( ITK_WRAPPING_PARSER )
108 virtual ChildrenListType * GetChildren(
unsigned int depth = 0,
char *name = ITK_NULLPTR)
const;
113 #if !defined( ITK_WRAPPING_PARSER )
131 ITK_DISALLOW_COPY_AND_ASSIGN(
TreeNode);
135 #ifndef ITK_MANUAL_INSTANTIATION
136 #include "itkTreeNode.hxx"
Light weight base class for most itk classes.
Represents a node in a tree.
std::vector< Pointer > ChildrenListType
signed long OffsetValueType
virtual ChildrenListType & GetChildrenList()
::itk::OffsetValueType ChildIdentifier
SmartPointer< Self > Pointer
Base class for most ITK classes.
SmartPointer< const Self > ConstPointer