33 #ifndef _CEGUIIteratorBase_h_
34 #define _CEGUIIteratorBase_h_
36 #include "CEGUIBase.h"
50 #if defined(_MSC_VER) && (_MSC_VER <= 1200) && !defined(_STLPORT_VERSION)
51 typedef typename T::referent_type mapped_type;
53 typedef typename T::mapped_type mapped_type;
66 ConstBaseIterator(
typename T::const_iterator start_iter,
typename T::const_iterator end_iter) :
67 d_currIter(start_iter),
68 d_startIter(start_iter),
88 d_currIter(org.d_currIter),
89 d_startIter(org.d_startIter),
90 d_endIter(org.d_endIter)
101 d_currIter = rhs.d_currIter;
102 d_startIter = rhs.d_startIter;
103 d_endIter = rhs.d_endIter;
115 return d_currIter->first;
125 return d_currIter->second;
135 return d_currIter == d_endIter;
145 return d_currIter == d_startIter;
158 if (d_currIter != d_endIter)
190 if (d_currIter != d_startIter)
219 return d_currIter == rhs.d_currIter;
239 return d_currIter->second;
249 d_currIter = d_startIter;
259 d_currIter = d_endIter;
272 typename T::const_iterator d_currIter;
273 typename T::const_iterator d_startIter;
274 typename T::const_iterator d_endIter;
280 #endif // end of guard _CEGUIIteratorBase_h_