vdr  2.4.0
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 493 of file tools.h.

Constructor & Destructor Documentation

cListObject::cListObject ( const cListObject ListObject)
inlineprivate

Definition at line 497 of file tools.h.

cListObject::cListObject ( void  )

Definition at line 2042 of file tools.c.

cListObject::~cListObject ( )
virtual

Definition at line 2047 of file tools.c.

Member Function Documentation

void cListObject::Append ( cListObject Object)

Definition at line 2051 of file tools.c.

References prev.

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

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

Definition at line 502 of file tools.h.

Referenced by CompareListObjects().

int cListObject::Index ( void  ) const
void cListObject::Insert ( cListObject Object)

Definition at line 2057 of file tools.c.

References next.

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

cListObject* cListObject::Next ( void  ) const
inline
cListObject& cListObject::operator= ( const cListObject ListObject)
inlineprivate

Definition at line 498 of file tools.h.

cListObject* cListObject::Prev ( void  ) const
inline
void cListObject::Unlink ( void  )

Definition at line 2063 of file tools.c.

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

Friends And Related Function Documentation

friend class cListGarbageCollector
friend

Definition at line 494 of file tools.h.

Member Data Documentation

cListObject * cListObject::next
private

Definition at line 496 of file tools.h.

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

cListObject* cListObject::prev
private

Definition at line 496 of file tools.h.

Referenced by Append(), and Index().


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