Main Page
Groups
Namespace List
Class Hierarchy
Alphabetical List
Compound List
File
List
Namespace Members
Compound Members
File Members
Concepts
itk::STLContainerAdaptor< TContainer > Class Template Reference
#include <itkSTLContainerAdaptor.h>
Collaboration diagram for itk::STLContainerAdaptor< TContainer >:
[legend]List of all members.
Detailed Description
template<typename TContainer>
class itk::STLContainerAdaptor< TContainer >
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 itk::STLContainerAdaptor<itk::VectorContainer<unsigned long, ElementType>> vecAdaptor(aContainer); std::vector<ElementType> & vec = vecAdaptor.GetSTLContainerRef(); // do things with vec ... // upon return from function, vecAdaptor is destroyed and aContainer is Modified()
Definition at line 36 of file itkSTLContainerAdaptor.h.
Member Typedef Documentation
Constructor & Destructor Documentation
Member Function Documentation
The documentation for this class was generated from the following file:
Generated at Sun Apr 1 03:13:36 2007 for ITK by
1.3.8 written by Dimitri van Heesch,
© 1997-2000