This document describes how to create an iterator for a doubly linked list.
To create an iterator for a doubly linked list of CMyClass elements, defined as:
first construct a header:
and then construct the iterator. The iterator requires the header at construction time but the list can be empty:
The TDblQueIter class takes a class template parameter that defines the type of object which is to form an element of the list.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License v1.0.