18 #ifndef __itkTreeNode_h
19 #define __itkTreeNode_h
42 template<
typename TValue >
62 const TValue &
Get()
const;
65 TValue
Set(
const TValue data);
107 #if !defined( CABLE_CONFIGURATION )
113 #if !defined( CABLE_CONFIGURATION )
136 #ifndef ITK_MANUAL_INSTANTIATION
137 #include "itkTreeNode.hxx"
void AddChild(Self *node)
const TValue & Get() const
Light weight base class for most itk classes.
Represents a node in a tree.
ChildIdentifier ChildPosition(const Self *node) const
std::vector< Pointer > ChildrenListType
signed long OffsetValueType
bool ReplaceChild(Self *oldChild, Self *newChild)
Self * GetChild(ChildIdentifier number) const
ChildIdentifier GetNumberOfChildren(unsigned int depth=0, char *name=ITK_NULLPTR) const
virtual ChildrenListType & GetChildrenList()
void operator=(const Self &)
virtual ChildrenListType * GetChildren(unsigned int depth=0, char *name=ITK_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