|
Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
27 template <
class I,
class T>
33 inline bool operator()()
const {
return !((I *)
this)->ended(); }
34 inline bool operator!()
const {
return ((I *)
this)->ended(); }
36 inline T
operator*()
const {
return ((I *)
this)->item(); }
37 inline T
operator->()
const {
return ((I *)
this)->item(); }
39 inline I&
operator++() { ((I *)
this)->next();
return *(I *)
this; }
42 inline bool operator==(
const I& i)
const {
return ((I *)
this)->equals(i); }
43 inline bool operator!=(
const I& i)
const {
return !((I *)
this)->equals(i); }
48 template <
class I,
class T>
54 inline bool operator()()
const {
return !((I *)
this)->ended(); }
55 inline bool operator!()
const {
return ((I *)
this)->ended(); }
57 inline const T&
operator*()
const {
return ((I *)
this)->item(); }
58 inline const T&
operator->()
const {
return ((I *)
this)->item(); }
60 inline I&
operator++() { ((I *)
this)->next();
return *(I *)
this; }
63 inline bool operator==(
const I& i)
const {
return ((I *)
this)->equals(i); }
64 inline bool operator!=(
const I& i)
const {
return !((I *)
this)->equals(i); }
68 template <
class I,
class T>
71 inline bool operator()()
const {
return !((I *)
this)->ended(); }
72 inline bool operator!()
const {
return ((I *)
this)->ended(); }
74 inline I&
operator++() { ((I *)
this)->next();
return *(I *)
this; }
77 inline bool operator==(
const I& i)
const {
return ((I *)
this)->equals(i); }
78 inline bool operator!=(
const I& i)
const {
return !((I *)
this)->equals(i); }
82 template <
class I,
class T>
85 inline const T&
operator*()
const {
return ((I *)
this)->item(); }
86 inline T
operator->()
const {
return ((I *)
this)->item(); }
89 template <
class I,
class T>
92 inline T&
operator*() {
return ((I *)
this)->item(); }
T return_t
Definition: iter.h:31
bool operator!=(const I &i) const
Definition: iter.h:64
const T & operator*() const
Definition: iter.h:85
bool operator!() const
Definition: iter.h:55
T operator->() const
Definition: iter.h:86
T operator->()
Definition: iter.h:93
void operator++(int)
Definition: iter.h:75
const T & operator->() const
Definition: iter.h:58
bool operator()() const
Definition: iter.h:54
bool operator==(const I &i) const
Definition: iter.h:42
bool operator!=(const I &i) const
Definition: iter.h:78
I & operator++()
Definition: iter.h:74
T operator->() const
Definition: iter.h:37
const typedef T & return_t
Definition: iter.h:52
I & operator++()
Definition: iter.h:39
void operator++(int)
Definition: iter.h:61
const T & operator*() const
Definition: iter.h:57
void operator++(int)
Definition: iter.h:40
I & operator++()
Definition: iter.h:60
T & operator*()
Definition: iter.h:92
bool operator!=(const I &i) const
Definition: iter.h:43
bool operator!() const
Definition: iter.h:34
T operator*() const
Definition: iter.h:36
bool operator==(const I &i) const
Definition: iter.h:63
bool operator!() const
Definition: iter.h:72
bool operator==(const I &i) const
Definition: iter.h:77
bool operator()() const
Definition: iter.h:71
bool operator()() const
Definition: iter.h:33