18 #ifndef __itkVectorContainer_h
19 #define __itkVectorContainer_h
48 typename TElementIdentifier,
53 private std::vector< TElement >
85 template<
typename TInputIterator >
116 using STLContainerType::begin;
117 using STLContainerType::end;
118 using STLContainerType::rbegin;
119 using STLContainerType::rend;
121 using STLContainerType::size;
122 using STLContainerType::max_size;
123 using STLContainerType::resize;
124 using STLContainerType::capacity;
125 using STLContainerType::empty;
126 using STLContainerType::reserve;
128 using STLContainerType::operator[];
129 using STLContainerType::at;
130 using STLContainerType::front;
131 using STLContainerType::back;
133 using STLContainerType::assign;
134 using STLContainerType::push_back;
135 using STLContainerType::pop_back;
136 using STLContainerType::insert;
137 using STLContainerType::erase;
138 using STLContainerType::swap;
139 using STLContainerType::clear;
141 using STLContainerType::get_allocator;
143 using typename STLContainerType::reference;
144 using typename STLContainerType::const_reference;
145 using typename STLContainerType::iterator;
146 using typename STLContainerType::const_iterator;
149 using typename STLContainerType::difference_type;
150 using typename STLContainerType::value_type;
151 using typename STLContainerType::allocator_type;
152 using typename STLContainerType::pointer;
153 using typename STLContainerType::const_pointer;
154 using typename STLContainerType::reverse_iterator;
155 using typename STLContainerType::const_reverse_iterator;
158 friend class Iterator;
159 friend class ConstIterator;
352 void Initialize(
void);
357 #define ITK_TEMPLATE_VectorContainer(_, EXPORT, TypeX, TypeY) \
360 _( 2 ( class EXPORT VectorContainer< ITK_TEMPLATE_2 TypeX > ) ) \
361 namespace Templates \
363 typedef VectorContainer< ITK_TEMPLATE_2 TypeX > \
364 VectorContainer##TypeY; \
368 #if ITK_TEMPLATE_EXPLICIT
369 #include "Templates/itkVectorContainer+-.h"
373 #include "itkVectorContainer.hxx"