vdr 2.6.1
Public Member Functions | Public Attributes | List of all members
cChannelSorter Class Reference

Public Member Functions

 cChannelSorter (cChannel *Channel)
 
virtual int Compare (const cListObject &ListObject) const
 
- Public Member Functions inherited from cListObject
 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
 

Public Attributes

cChannelchannel
 
tChannelID channelID
 

Detailed Description

Definition at line 828 of file channels.c.

Constructor & Destructor Documentation

◆ cChannelSorter()

cChannelSorter::cChannelSorter ( cChannel Channel)
inline

Definition at line 832 of file channels.c.

References channel, channelID, and cChannel::GetChannelID().

Member Function Documentation

◆ Compare()

virtual int cChannelSorter::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 from cListObject.

Definition at line 836 of file channels.c.

References channelID.

Member Data Documentation

◆ channel

cChannel* cChannelSorter::channel

Definition at line 830 of file channels.c.

Referenced by cChannelSorter().

◆ channelID

tChannelID cChannelSorter::channelID

Definition at line 831 of file channels.c.

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


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