vdr 2.6.8
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
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 543 of file tools.h.

Constructor & Destructor Documentation

◆ cListObject() [1/2]

cListObject::cListObject ( const cListObject & ListObject)
inlineprivate

Definition at line 547 of file tools.h.

◆ cListObject() [2/2]

cListObject::cListObject ( void )

Definition at line 2109 of file tools.c.

◆ ~cListObject()

cListObject::~cListObject ( )
virtual

Definition at line 2114 of file tools.c.

Member Function Documentation

◆ Append()

void cListObject::Append ( cListObject * Object)

Definition at line 2118 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, cNestedItem, cSetupLine, cScanData, cEvent, cMenuChannelItem, cMenuTimerItem, cMenuScheduleItem, cPictureEntry, cRecording, and cTimer.

Definition at line 552 of file tools.h.

Referenced by CompareListObjects().

◆ Index()

int cListObject::Index ( void ) const

◆ Insert()

void cListObject::Insert ( cListObject * Object)

Definition at line 2124 of file tools.c.

References next.

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

◆ Next()

cListObject * cListObject::Next ( void ) const
inline

◆ operator=()

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

Definition at line 548 of file tools.h.

◆ Prev()

cListObject * cListObject::Prev ( void ) const
inline

◆ Unlink()

void cListObject::Unlink ( void )

Definition at line 2130 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 544 of file tools.h.

Member Data Documentation

◆ next

cListObject * cListObject::next
private

Definition at line 546 of file tools.h.

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

◆ prev

cListObject* cListObject::prev
private

Definition at line 546 of file tools.h.

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


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