Main Page
Groups
Namespace List
Class Hierarchy
Alphabetical List
Compound List
File
List
Namespace Members
Compound Members
File Members
Concepts
Implements a weak reference to an object.
More...
#include <itkWeakPointer.h>
Collaboration diagram for itk::WeakPointer< TObjectType >:
[legend]List of all members.
Detailed Description
template<class TObjectType>
class itk::WeakPointer< TObjectType >
Implements a weak reference to an object.
WeakPointer implements a weak reference to an object. A natural interface to the class is defined by operator -> (and *) among others. WeakPointer is really nothing more than a standard pointer. It is used to call attention to the fact that it does not adjust the reference count of an object like SmartPointer does. WeakPointer is used internally to Insight to manage (break) reference counting loops. At some point, an object may keep track of how many objects hold weak references to itself. In all cases, however, an outstanding weak reference will not keep an object from destructing.
Definition at line 43 of file itkWeakPointer.h.
Member Typedef Documentation
|
Extract information from template parameter. Definition at line 47 of file itkWeakPointer.h. |
Constructor & Destructor Documentation
Member Function Documentation
template<class TObjectType> |
template<typename R> |
bool itk::WeakPointer< TObjectType >::operator!= |
( |
R |
r |
) |
const [inline] |
|
|
Comparison of pointers. Less than comparison. Definition at line 91 of file itkWeakPointer.h. |
|
Comparison of pointers. Less than or equal to comparison. Definition at line 99 of file itkWeakPointer.h. |
template<class TObjectType> |
template<typename R> |
bool itk::WeakPointer< TObjectType >::operator== |
( |
R |
r |
) |
const [inline] |
|
|
Comparison of pointers. Greater than comparison. Definition at line 95 of file itkWeakPointer.h. |
|
Comparison of pointers. Greater than or equal to comparison. Definition at line 103 of file itkWeakPointer.h. |
The documentation for this class was generated from the following file:
Generated at Sat Mar 31 03:01:43 2007 for ITK by
1.3.8 written by Dimitri van Heesch,
© 1997-2000