Untemplated base class for HeterogeneousList.
More...
#include <HeterogeneousList.hpp>
List of all members.
Static Protected Member Functions |
static Link * | predecessor (Link *link) |
| Get link preceding a specified link.
|
static Link * | successor (Link *link) |
| Get link following a specified link.
|
Friends |
class | HeterogeneousList |
Detailed Description
Untemplated base class for HeterogeneousList.
Constructor & Destructor Documentation
CXXR::HeterogeneousListBase::~HeterogeneousListBase |
( |
| ) |
|
|
inline |
Destructor.
This deletes all objects remaining on the list.
Member Function Documentation
bool CXXR::HeterogeneousListBase::empty |
( |
| ) |
const |
|
inline |
Is the list empty?
- Returns:
- true iff the list is empty.
void CXXR::HeterogeneousListBase::freeLinks |
( |
| ) |
|
Convert all objects on the list to free Links.
This leaves the List empty.
static Link* CXXR::HeterogeneousListBase::predecessor |
( |
Link * |
link | ) |
|
|
inlinestaticprotected |
Get link preceding a specified link.
- Parameters:
-
link | Pointer to the link whose predecessor is desired. |
- Returns:
- Pointer to the predecessor of link.
static Link* CXXR::HeterogeneousListBase::successor |
( |
Link * |
link | ) |
|
|
inlinestaticprotected |
Get link following a specified link.
- Parameters:
-
link | Pointer to the link whose successor is desired. |
- Returns:
- Pointer to the successor of link.
The documentation for this class was generated from the following file: