Original Symbian headers
Selected EUSER, Window Server, networking, graphics and device declarations
Loading...
Searching...
No Matches
TDblQueIterBase Class Reference

A base class that provides implementation for the doubly linked list iterator. More...

#include <e32std.h>

Inheritance diagram for TDblQueIterBase:
TDblQueIter< CSession2 > TDblQueIter< T >

Public Member Functions

IMPORT_C void SetToFirst ()
 Sets the iterator to point to the first element in the doubly linked list.
 
IMPORT_C void SetToLast ()
 Sets the iterator to point to the last element in the doubly linked list.
 

Protected Member Functions

IMPORT_C TDblQueIterBase (TDblQueBase &aQue)
 Constructs the iterator for the specified doubly linked list.
 
IMPORT_C TAny * DoPostInc ()
 Gets the current item and then moves to the next item.
 
IMPORT_C TAny * DoPostDec ()
 Gets the current item and then moves to the previous item.
 
IMPORT_C TAny * DoCurrent ()
 Gets the current item in the queue.
 
IMPORT_C void DoSet (TAny *aLink)
 Sets the iterator to point to a specific element in the list.
 

Protected Attributes

TInt iOffset
 The offset of a component link object within elements that form the list.
 
TDblQueLinkBase * iHead
 Pointer to the anchor for the list.
 
TDblQueLinkBase * iNext
 Pointer to the current element.
 

Detailed Description

A base class that provides implementation for the doubly linked list iterator.

It also encapsulates a pointer to the current link list element.

The class is abstract and is not intended to be instantiated.

API status
Published to all clients. Released API.

Definition at line 644 of file e32std.h.

Constructor & Destructor Documentation

◆ TDblQueIterBase()

IMPORT_C TDblQueIterBase::TDblQueIterBase ( TDblQueBase &  aQue)
protected

Constructs the iterator for the specified doubly linked list.

Parameters
aQueA reference to a doubly linked list header.

(generated from Symbian Developer Library)

Member Function Documentation

◆ DoCurrent()

IMPORT_C TAny * TDblQueIterBase::DoCurrent ( )
protected

Gets the current item in the queue.

The function is an implementation for TDblQueIter::operator T*().

TDblQueIter::operator T*

(generated from Symbian Developer Library)

◆ DoPostDec()

IMPORT_C TAny * TDblQueIterBase::DoPostDec ( )
protected

Gets the current item and then moves to the previous item.

The function is an implementation for TDblQueIter::operator--().

TDblQueIter::operator--

(generated from Symbian Developer Library)

◆ DoPostInc()

IMPORT_C TAny * TDblQueIterBase::DoPostInc ( )
protected

Gets the current item and then moves to the next item.

The function is an implementation for TDblQueIter::operator++().

TDblQueIter::operator++

(generated from Symbian Developer Library)

◆ DoSet()

IMPORT_C void TDblQueIterBase::DoSet ( TAny *  aLink)
protected

Sets the iterator to point to a specific element in the list.

The function is an implementation for TDblQueIter::Set().

TDblQueIter::Set

Parameters
aLinkA pointer to the current list element.

(generated from Symbian Developer Library)

◆ SetToFirst()

IMPORT_C void TDblQueIterBase::SetToFirst ( )

Sets the iterator to point to the first element in the doubly linked list.

The function can be called to re-set the pointer at any time during the iterator's existence.

The function can be called even if the list has no elements.

(generated from Symbian Developer Library)

◆ SetToLast()

IMPORT_C void TDblQueIterBase::SetToLast ( )

Sets the iterator to point to the last element in the doubly linked list.

The function can be called to re-set the pointer at any time during the iterator's existence.

The function can be called even if the list has no elements.

(generated from Symbian Developer Library)

Member Data Documentation

◆ iHead

TDblQueLinkBase* TDblQueIterBase::iHead
protected

Pointer to the anchor for the list.

Definition at line 664 of file e32std.h.

◆ iNext

TDblQueLinkBase* TDblQueIterBase::iNext
protected

Pointer to the current element.

Definition at line 669 of file e32std.h.

◆ iOffset

TInt TDblQueIterBase::iOffset
protected

The offset of a component link object within elements that form the list.

Definition at line 659 of file e32std.h.


The documentation for this class was generated from the following files: