Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

STLContainerAdaptor Class Reference

#include <itkSTLContainerAdaptor.h>


Detailed Description

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()


The documentation for this class was generated from the following file:
Generated at Fri May 21 01:16:35 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000