vdr 2.7.7
cChannelSorter Class Reference

Public Member Functions

 cChannelSorter (cChannel *Channel)
virtual int Compare (const cListObject &ListObject) const override
Public Member Functions inherited from cListObject
 cListObject (void)
virtual ~cListObject ()
void Append (cListObject *Object)
void Insert (cListObject *Object)
void Unlink (void)
int Index (void) const
cListObjectPrev (void) const
cListObjectNext (void) const

Public Attributes

cChannelchannel
tChannelID channelID

Detailed Description

Definition at line 829 of file channels.c.

Constructor & Destructor Documentation

◆ cChannelSorter()

cChannelSorter::cChannelSorter ( cChannel * Channel)
inline

Definition at line 833 of file channels.c.

References channel, and channelID.

Referenced by Compare().

Member Function Documentation

◆ Compare()

virtual int cChannelSorter::Compare ( const cListObject & ListObject) const
inlineoverridevirtual

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 from cListObject.

Definition at line 837 of file channels.c.

References cChannelSorter(), channelID, and cListObject::cListObject().

Member Data Documentation

◆ channel

cChannel* cChannelSorter::channel

Definition at line 831 of file channels.c.

Referenced by cChannelSorter().

◆ channelID

tChannelID cChannelSorter::channelID

Definition at line 832 of file channels.c.

Referenced by cChannelSorter(), Compare(), and cChannels::DeleteDuplicateChannels().


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