42 template<
typename TValue >
62 const TValue &
Get()
const;
65 TValue
Set(
const TValue data);
68 Self *
GetChild(ChildIdentifier number)
const;
89 ChildIdentifier
GetNumberOfChildren(
unsigned int depth = 0,
char *name = ITK_NULLPTR)
const;
104 virtual void AddChild(ChildIdentifier number, 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 TreeNode(
const Self &) ITK_DELETE_FUNCTION;
132 void operator=(const Self &) ITK_DELETE_FUNCTION;
136 #ifndef ITK_MANUAL_INSTANTIATION 137 #include "itkTreeNode.hxx" void AddChild(Self *node)
const TValue & Get() const
Represents a node in a tree.
ChildIdentifier GetNumberOfChildren(unsigned int depth=0, char *name=nullptr) const
ChildIdentifier ChildPosition(const Self *node) const
std::vector< Pointer > ChildrenListType
signed long OffsetValueType
bool ReplaceChild(Self *oldChild, Self *newChild)
Self * GetChild(ChildIdentifier number) const
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
virtual ChildrenListType & GetChildrenList()
virtual ChildrenListType * GetChildren(unsigned int depth=0, char *name=nullptr) const
TValue Set(const TValue data)
ChildrenListType m_Children
::itk::OffsetValueType ChildIdentifier
ChildIdentifier CountChildren() const
SmartPointer< Self > Pointer
Base class for most ITK classes.
SmartPointer< const Self > ConstPointer