#include <itkAutoPointerDataObjectDecorator.h>
Inheritance diagram for itk::AutoPointerDataObjectDecorator< T >:


AutoPointerDataObjectDecorator decorates a pointer to an object with a DataObject API. This allows a pointer to an object to be encapsulated in a DataObject and passed through the pipeline. This object differs from SimpleDataObjectDecorator in that the decorator takes control of deleting the pointer upon destruction.
The decorator provides two methods Set() and Get() to access the decorated object (referred internally as the component).
Note that when an instance of SimpleDataObjectDecorator is created, the component is initialized with its default constructor (i.e. a null pointer).
Definition at line 53 of file itkAutoPointerDataObjectDecorator.h.
Public Types | |
| typedef std::auto_ptr< T > | ComponentPointer |
| typedef T | ComponentType |
| typedef SmartPointer< const Self > | ConstPointer |
| typedef SmartPointer< Self > | Pointer |
| typedef AutoPointerDataObjectDecorator | Self |
| typedef DataObject | Superclass |
Public Member Functions | |
| virtual const T * | Get () const |
| Get the contained object *virtual T * | Get () |
| virtual const char * | GetNameOfClass () const |
| virtual void | Set (T *val) |
Static Public Member Functions | |
| static Pointer | New () |
Protected Member Functions | |
| AutoPointerDataObjectDecorator () | |
| virtual void | PrintSelf (std::ostream &os, Indent indent) const |
| ~AutoPointerDataObjectDecorator () | |
|
|||||
|
Definition at line 64 of file itkAutoPointerDataObjectDecorator.h. |
|
|||||
|
Typedef for the component type (object being decorated) Definition at line 63 of file itkAutoPointerDataObjectDecorator.h. |
|
|||||
|
Definition at line 60 of file itkAutoPointerDataObjectDecorator.h. |
|
|||||
|
Definition at line 59 of file itkAutoPointerDataObjectDecorator.h. |
|
|||||
|
Standard typedefs. Definition at line 57 of file itkAutoPointerDataObjectDecorator.h. |
|
|||||
|
Definition at line 58 of file itkAutoPointerDataObjectDecorator.h. |
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
Definition at line 77 of file itkAutoPointerDataObjectDecorator.h. |
|
|||||||||
|
Definition at line 76 of file itkAutoPointerDataObjectDecorator.h. |
|
|||||||||
|
Run-time type information (and related methods). |
|
|||||||||
|
Method for creation through the object factory. |
|
||||||||||||||||
|
|
|
||||||||||
|
Set the contained object |
1.4.2 written by Dimitri van Heesch,
© 1997-2000