vdr  2.2.0
Public Member Functions | Private Attributes | List of all members
cListObject Class Reference

#include <tools.h>

Collaboration diagram for cListObject:
[legend]

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 Attributes

cListObjectprev
 
cListObjectnext
 

Detailed Description

Definition at line 454 of file tools.h.

Constructor & Destructor Documentation

◆ cListObject()

cListObject::cListObject ( void  )

Definition at line 1959 of file tools.c.

References next, and prev.

◆ ~cListObject()

cListObject::~cListObject ( )
virtual

Definition at line 1964 of file tools.c.

Member Function Documentation

◆ Append()

void cListObject::Append ( cListObject Object)

Definition at line 1968 of file tools.c.

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

Definition at line 460 of file tools.h.

Referenced by CompareListObjects().

◆ Index()

int cListObject::Index ( void  ) const

◆ Insert()

void cListObject::Insert ( cListObject Object)

Definition at line 1974 of file tools.c.

References next, and prev.

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

◆ Next()

cListObject* cListObject::Next ( void  ) const
inline

◆ Prev()

cListObject* cListObject::Prev ( void  ) const
inline

◆ Unlink()

void cListObject::Unlink ( void  )

Definition at line 1980 of file tools.c.

References next, and prev.

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

Member Data Documentation

◆ next

cListObject * cListObject::next
private

Definition at line 456 of file tools.h.

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

◆ prev

cListObject* cListObject::prev
private

Definition at line 456 of file tools.h.

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


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