Location:
e32std.h
Link against: euser.lib
TSglQueBase
Supported from 5.0
A base class that provides implementation for the singly 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 TSglQueBase
:
IsEmpty()
, Reset()
, SetOffset()
TBool IsEmpty() const;
Tests whether the singly linked list is empty, i.e. has no list elements.
|
void Reset();
Empties the singly 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.
void SetOffset(TInt anOffset);
Sets the offset of the link object from the start of a singly linked list element.
|