160 virtual A* operator->() = 0;
205 typedef T value_type;
206 typedef value_type& reference;
207 typedef const value_type& const_reference;
210 virtual bool empty()
const = 0;
213 virtual iterator begin() = 0;
214 virtual iterator end() = 0;
217 virtual const_iterator begin()
const = 0;
218 virtual const_iterator end()
const = 0;
bool operator!=(const Rational &a, const Rational &b)
Templated accessor interface for accessing individual data (for instance, of an enumerator).
const value_type & const_reference
virtual const_reference Current() const =0
Gets the current element in the collection (read only).
virtual reference Current()=0
Gets the current element in the collection (read and write).
Base enumerator interface for simple iteration over a generic collection.
virtual bool IsValid() const =0
Current position is inside the collection (not -1 or past the end)
void operator=(const IBaseEnumerator &)
IBaseEnumerator(const IBaseEnumerator &)
disable copy constructor and assignment operator
virtual void Reset()=0
Sets the enumerator to its initial position: -1, which is before the first element in the collection.
virtual bool MoveNext()=0
Advances the enumerator to the next element of the collection. returns true if the enumerator was suc...
Templated enumerator interface for simple iteration over a generic collection of T's.
List< T > & operator=(const List< T > &)
fglmVector operator*(const fglmVector &v, const number n)
int operator==(const List< T > &, const List< T > &)