Common base class for all doubly linked lists.
Common base class for all doubly linked lists. Class GListTemplate implements all methods for manipulating lists of of objects of type TYPE. You should not however create instances of this class. You should instead use class GList or GPList.
checked by TYPE::operator==(const TYPE&) is returned. Otherwise an
invalid position is returned.
is equal to
position of this list element and returns 1. If however the search
reaches the end of the list, function search returns 0 and leaves
pos unchanged.
GPosition firstpos() const
GPosition lastpos() const
operator GPosition() const
TYPE& operator[](GPosition pos)
const TYPE& operator[](GPosition pos) const
int isempty() const
int operator==(const GListTemplate<TYPE, TI> &l2) const
GPosition nth(unsigned int n) const
GPosition contains(const TYPE &elt) const
int search(const TYPE &elt, GPosition &pos) const
void empty()
Inserts an element after the last element of the list.
Alphabetic index HTML hierarchy of classes or Java