ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkSTLConstContainerAdaptor.h>
An adapter object that casts a [const itk::XxxContainer] into [const std::xxx] and enables access to the underlying data structure.
An adapter object that casts a [const itk::XxxContainer] into [const std::xxx] and enables access to the underlying data structure.
The class is provided for interface consistency with STLContainerAdaptor plus the [const] modifier. Since everything is const, there is no need to call AdapteeType::Modified() in the destructor.
Here's a usage example of STLContainerAdaptor
Definition at line 46 of file itkSTLConstContainerAdaptor.h.
Public Types | |
using | AdapteeType = const TContainer |
using | ElementType = const typename AdapteeType::Element |
using | TargetType = const typename AdapteeType::STLContainerType |
Public Member Functions | |
TargetType & | GetSTLConstContainerRef () |
STLConstContainerAdaptor (AdapteeType &adaptee) | |
STLConstContainerAdaptor (AdapteeType *adaptee) | |
Private Member Functions | |
const STLConstContainerAdaptor & | operator= (const STLConstContainerAdaptor &r)=delete |
STLConstContainerAdaptor (const STLConstContainerAdaptor &r)=delete | |
Private Attributes | |
AdapteeType & | m_AdapteeRef |
using itk::STLConstContainerAdaptor< TContainer >::AdapteeType = const TContainer |
Definition at line 50 of file itkSTLConstContainerAdaptor.h.
using itk::STLConstContainerAdaptor< TContainer >::ElementType = const typename AdapteeType::Element |
Definition at line 52 of file itkSTLConstContainerAdaptor.h.
using itk::STLConstContainerAdaptor< TContainer >::TargetType = const typename AdapteeType::STLContainerType |
Definition at line 53 of file itkSTLConstContainerAdaptor.h.
|
privatedelete |
hide the copy constructor to allow only direct construction of the adapter
|
inline |
Definition at line 68 of file itkSTLConstContainerAdaptor.h.
|
inline |
Definition at line 70 of file itkSTLConstContainerAdaptor.h.
|
inline |
Definition at line 72 of file itkSTLConstContainerAdaptor.h.
References itk::STLConstContainerAdaptor< TContainer >::m_AdapteeRef.
|
privatedelete |
|
private |
Definition at line 57 of file itkSTLConstContainerAdaptor.h.
Referenced by itk::STLConstContainerAdaptor< TContainer >::GetSTLConstContainerRef().