LinkedObject Class Reference
Base virtual class to allow objects to be linked together. More...
#include <LinkedObject.h>
Inheritance diagram for LinkedObject:
Public Member Functions | |
virtual | ~LinkedObject () |
virtual LinkedObject * | next () const |
bool | insertAfter (LinkedObject *object) |
bool | operator== (const LinkedObject &other) const |
bool | operator!= (const LinkedObject &other) const |
Friends | |
class | LinkedObjectList |
Detailed Description
Base virtual class to allow objects to be linked together.
This can be more efficient than defining a separate list, as each object requires only an additional pointer field for 'next'.
Constructor & Destructor Documentation
◆ ~LinkedObject()
|
inlinevirtual |
Member Function Documentation
◆ insertAfter()
|
inline |
◆ next()
|
inlinevirtual |
◆ operator!=()
|
inline |
◆ operator==()
|
inline |
Friends And Related Function Documentation
◆ LinkedObjectList
|
friend |
The documentation for this class was generated from the following file: