Changeset View
Changeset View
Standalone View
Standalone View
ksirk/GameLogic/KMessageParts.h
Show First 20 Lines • Show All 53 Lines • ▼ Show 20 Line(s) | 45 | public: | |||
---|---|---|---|---|---|
54 | public: | 54 | public: | ||
55 | iterator& operator++(int) | 55 | iterator& operator++(int) | ||
56 | { | 56 | { | ||
57 | m_pixmaps_it++; | 57 | m_pixmaps_it++; | ||
58 | m_strings_it++; | 58 | m_strings_it++; | ||
59 | m_order_it++; | 59 | m_order_it++; | ||
60 | return *this; | 60 | return *this; | ||
61 | } | 61 | } | ||
62 | bool operator==(const iterator& it) | 62 | bool operator==(const iterator& it) const | ||
63 | { | 63 | { | ||
64 | return ( (m_pixmaps_it == it.m_pixmaps_it) | 64 | return ( (m_pixmaps_it == it.m_pixmaps_it) | ||
65 | && (m_strings_it == it.m_strings_it) | 65 | && (m_strings_it == it.m_strings_it) | ||
66 | && (m_order_it == it.m_order_it) ); | 66 | && (m_order_it == it.m_order_it) ); | ||
67 | } | 67 | } | ||
68 | bool operator!=(const iterator& it) | 68 | bool operator!=(const iterator& it) const | ||
69 | { | 69 | { | ||
70 | return !((*this)==it); | 70 | return !((*this)==it); | ||
71 | } | 71 | } | ||
72 | iterator& operator=(const iterator& it) | 72 | iterator& operator=(const iterator& it) | ||
73 | { | 73 | { | ||
74 | m_pixmaps_it = it.m_pixmaps_it; | 74 | m_pixmaps_it = it.m_pixmaps_it; | ||
75 | m_strings_it = it.m_strings_it; | 75 | m_strings_it = it.m_strings_it; | ||
76 | m_order_it = it.m_order_it; | 76 | m_order_it = it.m_order_it; | ||
▲ Show 20 Lines • Show All 71 Lines • Show Last 20 Lines |