vdr  2.2.0
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 ()
 
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 848 of file channels.c.

Constructor & Destructor Documentation

cChannelSorter::cChannelSorter ( cChannel Channel)
inline

Definition at line 852 of file channels.c.

References cChannel::GetChannelID().

Member Function Documentation

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 856 of file channels.c.

References channelID.

Member Data Documentation

cChannel* cChannelSorter::channel

Definition at line 850 of file channels.c.

Referenced by cChannels::DeleteDuplicateChannels().

tChannelID cChannelSorter::channelID

Definition at line 851 of file channels.c.

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


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