19 #ifndef GENERAL_ITERATOR_HH_ 20 #define GENERAL_ITERATOR_HH_ 31 template<
class Object>
37 Iter(
const Object&
object);
62 template<
class ObjectIn,
class ObjectOut>
84 template<
class Object>
92 template<
class ObjectIn,
class ObjectOut>
102 template<
class Object>
107 template<
class Object>
113 template<
class Object>
116 return !( *
this == other);
119 template<
class Object>
125 template<
class Object>
131 template<
class Object>
138 template<
class ObjectIn,
class ObjectOut>
140 :
Iter<ObjectIn>(object)
143 template<
class ObjectIn,
class ObjectOut>
150 template<
class ObjectIn,
class ObjectOut>
157 #endif // GENERAL_ITERATOR_HH_ const Object * operator->() const
-> dereference operator
Iter< Object > make_iter(Object obj)
Iter & operator++()
prefix increment
const ObjectOut * operator->() const
-> dereference operator
bool operator==(const Iter &other)
equal operator
Iter(const Object &object)
bool operator!=(const Iter &other)
non-equal operator
const Object & operator*() const
IterConvert(const ObjectIn &object)
General iterator template. Provides iterator over objects of type Object in some container.
const ObjectOut & operator*() const
General iterator template. Provides iterator over objects of type ObjectIn in some container...