vdr 2.6.1
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
 
 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)
 
 cListObject (const cListObject &ListObject)
 
cListObjectoperator= (const cListObject &ListObject)
 

Private Attributes

cListObjectprev
 
cListObjectnext
 

Friends

class cListGarbageCollector
 

Detailed Description

Definition at line 540 of file include/vdr/tools.h.

Constructor & Destructor Documentation

◆ cListObject() [1/4]

cListObject::cListObject ( const cListObject ListObject)
inlineprivate

Definition at line 544 of file include/vdr/tools.h.

◆ cListObject() [2/4]

cListObject::cListObject ( void  )

Definition at line 2074 of file tools.c.

◆ ~cListObject() [1/2]

cListObject::~cListObject ( )
virtual

Definition at line 2079 of file tools.c.

◆ cListObject() [3/4]

cListObject::cListObject ( const cListObject ListObject)
inlineprivate

Definition at line 544 of file tools.h.

◆ cListObject() [4/4]

cListObject::cListObject ( void  )

◆ ~cListObject() [2/2]

virtual cListObject::~cListObject ( )
virtual

Member Function Documentation

◆ Append() [1/2]

void cListObject::Append ( cListObject Object)

Definition at line 2083 of file tools.c.

References prev.

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

◆ Append() [2/2]

void cListObject::Append ( cListObject Object)

◆ Compare() [1/2]

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

Definition at line 549 of file include/vdr/tools.h.

Referenced by CompareListObjects().

◆ Compare() [2/2]

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

Definition at line 549 of file tools.h.

◆ Index() [1/2]

int cListObject::Index ( void  ) const

◆ Index() [2/2]

int cListObject::Index ( void  ) const

◆ Insert() [1/2]

void cListObject::Insert ( cListObject Object)

Definition at line 2089 of file tools.c.

References next.

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

◆ Insert() [2/2]

void cListObject::Insert ( cListObject Object)

◆ Next() [1/2]

cListObject * cListObject::Next ( void  ) const
inline

◆ Next() [2/2]

cListObject * cListObject::Next ( void  ) const
inline

Definition at line 557 of file tools.h.

◆ operator=() [1/2]

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

Definition at line 545 of file include/vdr/tools.h.

◆ operator=() [2/2]

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

Definition at line 545 of file tools.h.

◆ Prev() [1/2]

cListObject * cListObject::Prev ( void  ) const
inline

◆ Prev() [2/2]

cListObject * cListObject::Prev ( void  ) const
inline

Definition at line 556 of file tools.h.

◆ Unlink() [1/2]

void cListObject::Unlink ( void  )

Definition at line 2095 of file tools.c.

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

◆ Unlink() [2/2]

void cListObject::Unlink ( void  )

Friends And Related Function Documentation

◆ cListGarbageCollector

Definition at line 541 of file include/vdr/tools.h.

Member Data Documentation

◆ next

cListObject * cListObject::next
private

Definition at line 543 of file include/vdr/tools.h.

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

◆ prev

cListObject * cListObject::prev
private

Definition at line 543 of file include/vdr/tools.h.

Referenced by Append(), and Index().


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