18 #ifndef __itkWeakPointer_h
19 #define __itkWeakPointer_h
43 template<
typename TObjectType >
73 template<
typename R >
79 template<
typename R >
127 ( *m_Pointer ).Print(os);
138 template<
typename T >
139 std::ostream & operator<<(std::ostream & os, WeakPointer< T > p)
bool operator==(R r) const
WeakPointer(const WeakPointer< ObjectType > &p)
bool operator!=(R r) const
Implements a weak reference to an object.
ObjectType * Print(std::ostream &os) const
WeakPointer & operator=(const WeakPointer &r)
WeakPointer(ObjectType *p)
bool operator>(const WeakPointer &r) const
bool operator>=(const WeakPointer &r) const
ObjectType * GetPointer() const
ObjectType * operator->() const
WeakPointer & operator=(ObjectType *r)
bool operator<(const WeakPointer &r) const
bool operator<=(const WeakPointer &r) const