Self managed double linked list object chain.
More...
#include <object.h>
Collaboration diagram for LinkedDouble:
Public Types
Requested in overloaded
insert() method to indicate how to insert data into list.
More...
Public Member Functions
Get first linked object in list.
More...
Gets the last object in the list.
More...
Virtual to get the insert point to use when adding new members.
More...
Get next object, for convenience.
More...
Get prev object in the list.
More...
Insert object into chain at given position, as indicated by
InsertMode; If no position is given, it defaults to
modeAtLast, inserting element at list's end.
More...
Protected Member Functions
Protected Attributes
Detailed Description
Member Enumeration Documentation
Requested in overloaded insert() method to indicate how to insert data into list.
Enumerator |
---|
modeAtFirst |
insert at first position in list pointed by current object
|
modeAtLast |
insert at last position in list pointed by current object
|
modeBefore |
insert in list before current object
|
modeAfter |
insert in list after current object
|
Definition at line 253 of file object.h.
Constructor & Destructor Documentation
LinkedDouble::LinkedDouble
(
)
inlineprotected |
virtual LinkedDouble::~LinkedDouble
(
)
protectedvirtual |
Member Function Documentation
virtual void LinkedDouble::detach
(
void
)
virtual |
Remove object from chain.
virtual void LinkedDouble::enterLock
(
void
)
protectedvirtual |
Get first linked object in list.
This may be dynamically recast, and may refer to a master static bookmark pointer in a derived class. Otherwise it follows list to front.
- Returns
- pointer to first object in list.
Virtual to get the insert point to use when adding new members.
This may be current, or always head or always tail. As a virtual, this allows derived class to establish "policy".
- Returns
- pointer to insertion point in list.
Gets the last object in the list.
This normally follows the links to the end. This is a virtual because derived class may include a static member bookmark for the current end.
- Returns
- pointer to last object in list.
Get next object, for convenience.
Derived class may use this with a dynamic cast.
- Returns
- next object in list.
Definition at line 294 of file object.h.
Get prev object in the list.
- Returns
- pointer to previous object.
Definition at line 302 of file object.h.
Insert object into chain at given position, as indicated by InsertMode; If no position is given, it defaults to modeAtLast, inserting element at list's end.
- Parameters
-
object being inserted.
position where object is inserted.
virtual void LinkedDouble::leaveLock
(
void
)
protectedvirtual |
Field Documentation
The documentation for this class was generated from the following file:
Generated on Dec 21, 2017 for
commoncpp2-1.8.1,
ccrtp-1.7.2,
libzrtpcpp-2.3.4,
ccscript3-1.1.7,
ccaudio2-1.0.0 and
bayonne2-2.3.2
(after installation in /usr/local/)
by
doxygen 1.8.6