Home | History | Annotate | Download | only in wtf

Lines Matching full:base

113         typedef DequeIteratorBase<T> Base;
118 DequeIteratorBase(const Base&);
119 Base& operator=(const Base&);
122 void assign(const Base& other) { *this = other; }
130 bool isEqual(const Base&) const;
136 void checkValidity(const Base&) const;
152 typedef DequeIteratorBase<T> Base;
156 DequeIterator(Deque<T>* deque, size_t index) : Base(deque, index) { }
158 DequeIterator(const Iterator& other) : Base(other) { }
159 DequeIterator& operator=(const Iterator& other) { Base::assign(other); return *this; }
161 T& operator*() const { return *Base::after(); }
162 T* operator->() const { return Base::after(); }
164 bool operator==(const Iterator& other) const { return Base::isEqual(other); }
165 bool operator!=(const Iterator& other) const { return !Base::isEqual(other); }
167 Iterator& operator++() { Base::increment(); return *this; }
169 Iterator& operator--() { Base::decrement(); return *this; }
176 typedef DequeIteratorBase<T> Base;
181 DequeConstIterator(const Deque<T>* deque, size_t index) : Base(deque, index) { }
183 DequeConstIterator(const Iterator& other) : Base(other) { }
184 DequeConstIterator(const NonConstIterator& other) : Base(other) { }
185 DequeConstIterator& operator=(const Iterator& other) { Base::assign(other); return *this; }
186 DequeConstIterator& operator=(const NonConstIterator& other) { Base::assign(other); return *this; }
188 const T& operator*() const { return *Base::after(); }
189 const T* operator->() const { return Base::after(); }
191 bool operator==(const Iterator& other) const { return Base::isEqual(other); }
192 bool operator!=(const Iterator& other) const { return !Base::isEqual(other); }
194 Iterator& operator++() { Base::increment(); return *this; }
196 Iterator& operator--() { Base::decrement(); return *this; }
203 typedef DequeIteratorBase<T> Base;
207 DequeReverseIterator(const Deque<T>* deque, size_t index) : Base(deque, index) { }
209 DequeReverseIterator(const Iterator& other) : Base(other) { }
210 DequeReverseIterator& operator=(const Iterator& other) { Base::assign(other); return *this; }
212 T& operator*() const { return *Base::before(); }
213 T* operator->() const { return Base::before(); }
215 bool operator==(const Iterator& other) const { return Base::isEqual(other); }
216 bool operator!=(const Iterator& other) const { return !Base::isEqual(other); }
218 Iterator& operator++() { Base::decrement(); return *this; }
220 Iterator& operator--() { Base::increment(); return *this; }
227 typedef DequeIteratorBase<T> Base;
232 DequeConstReverseIterator(const Deque<T>* deque, size_t index) : Base(deque, index) { }
234 DequeConstReverseIterator(const Iterator& other) : Base(other) { }
235 DequeConstReverseIterator(const NonConstIterator& other) : Base(other) { }
236 DequeConstReverseIterator& operator=(const Iterator& other) { Base::assign(other); return *this; }
237 DequeConstReverseIterator& operator=(const NonConstIterator& other) { Base::assign(other); return *this; }
239 const T& operator*() const { return *Base::before(); }
240 const T* operator->() const { return Base::before(); }
242 bool operator==(const Iterator& other) const { return Base::isEqual(other); }
243 bool operator!=(const Iterator& other) const { return !Base::isEqual(other); }
245 Iterator& operator++() { Base::decrement(); return *this; }
247 Iterator& operator--() { Base::increment(); return *this; }
521 void DequeIteratorBase<T>::checkValidity(const Base& other) const
583 inline DequeIteratorBase<T>::DequeIteratorBase(const Base& other)
592 inline DequeIteratorBase<T>& DequeIteratorBase<T>::operator=(const Base& other)
615 inline bool DequeIteratorBase<T>::isEqual(const Base& other) const