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