PUMA Library Reference Manual
Loading...
Searching...
No Matches
Puma::ListElement Class Referenceabstract

#include <Puma/ListElement.h>

+ Inheritance diagram for Puma::ListElement:

Description

Double-linked list element type to be used as elements for class List.

To be derived for concrete list elements.

Public Member Functions

 ListElement ()
 Constructor.
 
virtual ~ListElement ()
 Destructor.
 
Listbelonging_to () const
 Get the list this element belongs to.
 
virtual ListElementduplicate ()=0
 Duplicate this list element.
 

Friends

class List
 

Constructor & Destructor Documentation

◆ ListElement()

Puma::ListElement::ListElement ( )
inline

Constructor.

◆ ~ListElement()

virtual Puma::ListElement::~ListElement ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ belonging_to()

List * Puma::ListElement::belonging_to ( ) const
inline

Get the list this element belongs to.

Returns
A pointer to the list, or NULL if not belonging to any list.

◆ duplicate()

Friends And Related Symbol Documentation

◆ List

friend class List
friend