ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkSTLContainerAdaptor.h>
Public Types | |
typedef TContainer | AdapteeType |
typedef AdapteeType::Element | ElementType |
typedef AdapteeType::STLContainerType | TargetType |
Public Member Functions | |
TargetType & | GetSTLContainerRef () |
STLContainerAdaptor (AdapteeType &adaptee) | |
STLContainerAdaptor (AdapteeType *adaptee) | |
~STLContainerAdaptor () |
Private Member Functions | |
const STLContainerAdaptor & | operator= (const STLContainerAdaptor &r) |
STLContainerAdaptor (const STLContainerAdaptor &r) |
Private Attributes | |
AdapteeType & | m_AdapteeRef |
An adapter object that casts a itk::XxxContainer into std::xxx and enables access to the underlying data structure.
When the STLContainerAdaptor is destroyed, it automatically calls XxxContainer::Modified().
Here's a usage example of STLContainerAdaptor:
Definition at line 43 of file itkSTLContainerAdaptor.h.
typedef TContainer itk::STLContainerAdaptor< TContainer >::AdapteeType |
Definition at line 47 of file itkSTLContainerAdaptor.h.
typedef AdapteeType::Element itk::STLContainerAdaptor< TContainer >::ElementType |
Definition at line 49 of file itkSTLContainerAdaptor.h.
typedef AdapteeType::STLContainerType itk::STLContainerAdaptor< TContainer >::TargetType |
Definition at line 50 of file itkSTLContainerAdaptor.h.
|
private |
hide the copy constructor to allow only direct construction of the adapter
|
inline |
Definition at line 63 of file itkSTLContainerAdaptor.h.
|
inline |
Definition at line 65 of file itkSTLContainerAdaptor.h.
|
inline |
Definition at line 67 of file itkSTLContainerAdaptor.h.
References itk::STLContainerAdaptor< TContainer >::m_AdapteeRef.
|
inline |
Definition at line 72 of file itkSTLContainerAdaptor.h.
References itk::STLContainerAdaptor< TContainer >::m_AdapteeRef.
|
private |
|
private |
Definition at line 53 of file itkSTLContainerAdaptor.h.
Referenced by itk::STLContainerAdaptor< TContainer >::GetSTLContainerRef(), and itk::STLContainerAdaptor< TContainer >::~STLContainerAdaptor().