Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: e32std.h
Link against: euser.lib

Class TDblQueBase

TDblQueBase

Support

Supported from 5.0

Description

A base class that provides implementation for the doubly linked list header. It also encapsulates the offset value of a link object.

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

Defined in TDblQueBase:
IsEmpty(), Reset(), SetOffset()


List handling


IsEmpty()

TBool IsEmpty() const;

Description

Tests whether the doubly linked list is empty, i.e. has no list elements.

Return value

TBool

True, if the doubly linked list is empty; false, otherwise.


Reset()

void Reset();

Description

Empties the doubly linked list.

After a call to this function, there are no elements queued from the header; the elements are orphaned. Special care must be taken when list elements are CBase derived objects, i.e. are allocated on the heap.

[Top]


Changing the offset of the link object


SetOffset()

void SetOffset(TInt anOffset);

Description

Sets the offset of the link object from the start of a doubly linked list element.

Parameters

TInt anOffset

The offset of the link object from the start of a doubly linked list element. The value must be divisible by four, otherwise the constructor raises a USER 78 panic..

See also: