vdr  1.7.31
Public Member Functions | Private Attributes | 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 Attributes

cListObjectprev
cListObjectnext

Detailed Description

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

Constructor & Destructor Documentation

cListObject::cListObject ( void  )

Definition at line 1855 of file tools.c.

References next, and prev.

cListObject::~cListObject ( )
virtual

Definition at line 1860 of file tools.c.

cListObject::cListObject ( void  )
virtual cListObject::~cListObject ( )
virtual

Member Function Documentation

void cListObject::Append ( cListObject Object)

Definition at line 1864 of file tools.c.

References next, and prev.

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

void cListObject::Append ( cListObject Object)
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, cTimerEntry, cMenuTimerItem, cChannelSorter, cMenuChannelItem, cSetupLine, cSetupLine, cNestedItem, cNestedItem, cRecording, cRecording, cEvent, cEvent, cTimer, cTimer, cScanData, and cPictureEntry.

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

Referenced by CompareListObjects().

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

Definition at line 442 of file tools.h.

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

Definition at line 1870 of file tools.c.

References next, and prev.

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

cListObject* cListObject::Next ( void  ) const
inline

Definition at line 450 of file tools.h.

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

Definition at line 449 of file tools.h.

void cListObject::Unlink ( void  )
void cListObject::Unlink ( void  )

Definition at line 1876 of file tools.c.

References next, and prev.

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

Member Data Documentation

cListObject * cListObject::next
private

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

Referenced by Append(), cListObject(), Insert(), cFilter::SetStatus(), and Unlink().

cListObject * cListObject::prev
private

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

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


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