vdr 2.7.7
cListObject Class Reference

#include <tools.h>

Public Member Functions

 cListObject (void)
virtual ~cListObject ()
virtual int Compare (const cListObject &ListObject) const
void Append (cListObject *Object)
void Insert (cListObject *Object)
void Unlink (void)
int Index (void) const
cListObjectPrev (void) const
cListObjectNext (void) const

Private Member Functions

 cListObject (const cListObject &ListObject)
cListObjectoperator= (const cListObject &ListObject)

Private Attributes

cListObjectprev
cListObjectnext

Friends

class cListGarbageCollector

Detailed Description

Definition at line 530 of file tools.h.

Constructor & Destructor Documentation

◆ cListObject() [1/2]

◆ cListObject() [2/2]

cListObject::cListObject ( void )

Definition at line 2067 of file tools.c.

References next, and prev.

◆ ~cListObject()

cListObject::~cListObject ( )
virtual

Definition at line 2072 of file tools.c.

Member Function Documentation

◆ Append()

void cListObject::Append ( cListObject * Object)

Definition at line 2076 of file tools.c.

References cListObject(), next, and prev.

Referenced by cListBase::Add(), cListBase::Ins(), and cListBase::Move().

◆ Compare()

virtual int cListObject::Compare ( const cListObject & ListObject) const
inlinevirtual

Must return 0 if this object is equal to ListObject, a positive value if it is "greater", and a negative value if it is "smaller".

Reimplemented in cChannelSorter, cEvent, cMenuChannelItem, cMenuScheduleItem, cMenuTimerItem, cNestedItem, cPictureEntry, cRecording, cScanData, cSetupLine, and cTimer.

Definition at line 539 of file tools.h.

References cListObject().

Referenced by CompareListObjects().

◆ Index()

◆ Insert()

void cListObject::Insert ( cListObject * Object)

Definition at line 2082 of file tools.c.

References cListObject(), next, and prev.

Referenced by cListBase::Add(), and cListBase::Ins().

◆ Next()

◆ operator=()

cListObject & cListObject::operator= ( const cListObject & ListObject)
inlineprivate

Definition at line 535 of file tools.h.

References cListObject().

◆ Prev()

◆ Unlink()

void cListObject::Unlink ( void )

Definition at line 2088 of file tools.c.

References next, and prev.

Referenced by cListBase::Del(), cListBase::Move(), and cListBase::Sort().

◆ cListGarbageCollector

friend class cListGarbageCollector
friend

Definition at line 531 of file tools.h.

References cListGarbageCollector.

Referenced by cListGarbageCollector.

Member Data Documentation

◆ next

cListObject * cListObject::next
private

◆ prev

cListObject* cListObject::prev
private

Definition at line 533 of file tools.h.

Referenced by Append(), cListObject(), Index(), Insert(), Prev(), and Unlink().


The documentation for this class was generated from the following files: