18 #ifndef itkTreeIteratorClone_h 19 #define itkTreeIteratorClone_h 31 template<
typename TObjectType >
58 if ( p != ITK_NULLPTR )
69 m_Pointer =
const_cast< ObjectType *
>( &p )->Clone();
89 template<
typename TR >
92 template<
typename TR >
120 if ( r != ITK_NULLPTR )
122 m_Pointer =
const_cast< ObjectType *
>( r )->Clone();
152 ObjectType *
Print(std::ostream & os)
const 155 ( *m_Pointer ).Print(os);
165 template<
typename T >
166 std::ostream & operator<<(std::ostream & os, TreeIteratorClone< T > p)
bool operator==(TR r) const
bool operator>=(const TreeIteratorClone &r) const
const Self operator++(int)
TreeIteratorClone(ObjectType *p)
ObjectType * Print(std::ostream &os) const
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
ObjectType * GetPointer() const
TreeIteratorClone & operator=(const TreeIteratorClone &r)
ObjectType * operator->() const
TreeIteratorClone & operator=(const ObjectType *r)
bool operator!=(TR r) const
TreeIteratorClone< TObjectType > Self
bool operator>(const TreeIteratorClone &r) const
bool operator<(const TreeIteratorClone &r) const
TreeIteratorClone(const ObjectType &p)
TreeIteratorClone(const TreeIteratorClone< ObjectType > &p)
bool operator<=(const TreeIteratorClone &r) const