vdr 2.7.3
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::cListObject ( const cListObject & ListObject)
inlineprivate

Definition at line 534 of file tools.h.

◆ cListObject() [2/2]

cListObject::cListObject ( void )

Definition at line 2058 of file tools.c.

◆ ~cListObject()

cListObject::~cListObject ( )
virtual

Definition at line 2063 of file tools.c.

Member Function Documentation

◆ Append()

void cListObject::Append ( cListObject * Object)

Definition at line 2067 of file tools.c.

References 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.

Referenced by CompareListObjects().

◆ Index()

◆ Insert()

void cListObject::Insert ( cListObject * Object)

Definition at line 2073 of file tools.c.

References next.

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

◆ Next()

◆ operator=()

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

Definition at line 535 of file tools.h.

◆ Prev()

◆ Unlink()

void cListObject::Unlink ( void )

Definition at line 2079 of file tools.c.

References next, and prev.

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

Friends And Related Symbol Documentation

◆ cListGarbageCollector

friend class cListGarbageCollector
friend

Definition at line 531 of file tools.h.

Member Data Documentation

◆ next

cListObject * cListObject::next
private

Definition at line 533 of file tools.h.

Referenced by Insert(), cListGarbageCollector::Put(), cFilter::SetStatus(), and Unlink().

◆ prev

cListObject* cListObject::prev
private

Definition at line 533 of file tools.h.

Referenced by Append(), Index(), and Unlink().


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