ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkSTLContainerAdaptor.h>
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.
Public Types | |
using | AdapteeType = TContainer |
using | ElementType = typename AdapteeType::Element |
using | TargetType = typename AdapteeType::STLContainerType |
Public Member Functions | |
TargetType & | GetSTLContainerRef () |
STLContainerAdaptor (AdapteeType &adaptee) | |
STLContainerAdaptor (AdapteeType *adaptee) | |
~STLContainerAdaptor () | |
Private Member Functions | |
const STLContainerAdaptor & | operator= (const STLContainerAdaptor &r)=delete |
STLContainerAdaptor (const STLContainerAdaptor &r)=delete | |
Private Attributes | |
AdapteeType & | m_AdapteeRef |
using itk::STLContainerAdaptor< TContainer >::AdapteeType = TContainer |
Definition at line 47 of file itkSTLContainerAdaptor.h.
using itk::STLContainerAdaptor< TContainer >::ElementType = typename AdapteeType::Element |
Definition at line 49 of file itkSTLContainerAdaptor.h.
using itk::STLContainerAdaptor< TContainer >::TargetType = typename AdapteeType::STLContainerType |
Definition at line 50 of file itkSTLContainerAdaptor.h.
|
privatedelete |
hide the copy constructor to allow only direct construction of the adapter
|
inline |
Definition at line 64 of file itkSTLContainerAdaptor.h.
|
inline |
Definition at line 66 of file itkSTLContainerAdaptor.h.
|
inline |
Definition at line 68 of file itkSTLContainerAdaptor.h.
References itk::STLContainerAdaptor< TContainer >::m_AdapteeRef.
|
inline |
Definition at line 73 of file itkSTLContainerAdaptor.h.
References itk::STLContainerAdaptor< TContainer >::m_AdapteeRef.
|
privatedelete |
|
private |
Definition at line 54 of file itkSTLContainerAdaptor.h.
Referenced by itk::STLContainerAdaptor< TContainer >::GetSTLContainerRef(), and itk::STLContainerAdaptor< TContainer >::~STLContainerAdaptor().