18 #ifndef __itkMapContainer_h
19 #define __itkMapContainer_h
44 template<
typename TElementIdentifier,
typename TElement >
47 private std::map< TElementIdentifier, TElement >
68 typedef std::map< ElementIdentifier, Element >
MapType;
80 template<
typename TInputIterator >
82 template<
typename TInputIterator >
103 using STLContainerType::begin;
104 using STLContainerType::end;
105 using STLContainerType::rbegin;
106 using STLContainerType::rend;
108 using STLContainerType::empty;
109 using STLContainerType::size;
110 using STLContainerType::max_size;
112 using STLContainerType::operator[];
114 using STLContainerType::insert;
115 using STLContainerType::erase;
116 using STLContainerType::swap;
117 using STLContainerType::clear;
119 using STLContainerType::key_comp;
120 using STLContainerType::value_comp;
122 using STLContainerType::find;
123 using STLContainerType::count;
124 using STLContainerType::lower_bound;
125 using STLContainerType::upper_bound;
126 using STLContainerType::equal_range;
128 using STLContainerType::get_allocator;
130 using typename STLContainerType::key_type;
131 using typename STLContainerType::mapped_type;
132 using typename STLContainerType::value_type;
133 using typename STLContainerType::key_compare;
134 using typename STLContainerType::value_compare;
135 using typename STLContainerType::allocator_type;
136 using typename STLContainerType::reference;
137 using typename STLContainerType::const_reference;
138 using typename STLContainerType::iterator;
139 using typename STLContainerType::const_iterator;
140 using typename STLContainerType::size_type;
141 using typename STLContainerType::difference_type;
142 using typename STLContainerType::pointer;
143 using typename STLContainerType::const_pointer;
144 using typename STLContainerType::reverse_iterator;
145 using typename STLContainerType::const_reverse_iterator;
337 #define ITK_TEMPLATE_MapContainer(_, EXPORT, TypeX, TypeY) \
340 _( 2 ( class EXPORT MapContainer< ITK_TEMPLATE_2 TypeX > ) ) \
341 namespace Templates \
343 typedef MapContainer< ITK_TEMPLATE_2 TypeX > \
344 MapContainer##TypeY; \
348 #if ITK_TEMPLATE_EXPLICIT
349 #include "Templates/itkMapContainer+-.h"
353 #include "itkMapContainer.hxx"