Main Page
Groups
Namespace List
Class Hierarchy
Alphabetical List
Compound List
File
List
Namespace Members
Compound Members
File Members
Concepts
Implements transparent reference counting.
More...
#include <itkSmartPointer.h>
Collaboration diagram for itk::SmartPointer< TObjectType >:
[legend]List of all members.
Detailed Description
template<class TObjectType>
class itk::SmartPointer< TObjectType >
Implements transparent reference counting.
SmartPointer implements reference counting by overloading operator -> (and *) among others. This allows natural interface to the class referred to by the pointer without having to invoke special Register()/UnRegister() methods directly.
To compile / test this class Windows: cl SmartPointerTest.cxx; ..exe linux: c++ SmartPointerTest.cxx ./a.out other: CCcompiler SmartPointerTest.cxx ./a.out
Definition at line 44 of file itkSmartPointer.h.
Member Typedef Documentation
Constructor & Destructor Documentation
Member Function Documentation
template<class TObjectType> |
bool itk::SmartPointer< TObjectType >::IsNotNull |
( |
|
) |
const [inline] |
|
template<class TObjectType> |
bool itk::SmartPointer< TObjectType >::IsNull |
( |
|
) |
const [inline] |
|
template<class TObjectType> |
template<typename R> |
bool itk::SmartPointer< TObjectType >::operator!= |
( |
R |
r |
) |
const [inline] |
|
|
Comparison of pointers. Less than or equal to comparison. Definition at line 116 of file itkSmartPointer.h. |
template<class TObjectType> |
template<typename R> |
bool itk::SmartPointer< TObjectType >::operator== |
( |
R |
r |
) |
const [inline] |
|
|
Comparison of pointers. Greater than or equal to comparison. Definition at line 120 of file itkSmartPointer.h. |
The documentation for this class was generated from the following file:
Generated at Sun Apr 1 03:13:28 2007 for ITK by
1.3.8 written by Dimitri van Heesch,
© 1997-2000