equal
deleted
inserted
replaced
122 |
122 |
123 /// \brief Creates an iterator |
123 /// \brief Creates an iterator |
124 /// |
124 /// |
125 /// Creates an iterator for the map, which iterates on the |
125 /// Creates an iterator for the map, which iterates on the |
126 /// given graph item set and filters all items which mapped value |
126 /// given graph item set and filters all items which mapped value |
127 /// differ from \c _value. |
127 /// is not equal to the \c _value. |
128 FilterMapIt(const Graph& _graph, const Map& _map, const Value& _value) |
128 FilterMapIt(const Graph& _graph, const Map& _map, const Value& _value) |
129 : Parent(_graph), map(_map), value(_value) {} |
129 : Parent(_graph), map(_map), value(_value) {} |
130 |
130 |
131 /// \brief Increment operator |
131 /// \brief Increment operator |
132 /// |
132 /// |
133 /// Skips items which has not the given value. |
133 /// Skips items which has not mapped to the given value. |
134 FilterMapIt& operator++() { |
134 FilterMapIt& operator++() { |
135 Parent::operator++(); |
135 Parent::operator++(); |
136 while (*this != INVALID && map[*this] != value) Parent::operator++(); |
136 while (*this != INVALID && map[*this] != value) Parent::operator++(); |
137 } |
137 } |
138 |
138 |