#include <channels.h>
List of all members.
Public Member Functions |
| | cChannels (void) |
| bool | Load (const char *FileName, bool AllowComments=false, bool MustExist=false) |
| void | HashChannel (cChannel *Channel) |
| void | UnhashChannel (cChannel *Channel) |
| int | GetNextGroup (int Idx) |
| int | GetPrevGroup (int Idx) |
| int | GetNextNormal (int Idx) |
| int | GetPrevNormal (int Idx) |
| void | ReNumber (void) |
| cChannel * | GetByNumber (int Number, int SkipGap=0) |
| cChannel * | GetByServiceID (int Source, int Transponder, unsigned short ServiceID) |
| cChannel * | GetByChannelID (tChannelID ChannelID, bool TryWithoutRid=false, bool TryWithoutPolarization=false) |
| int | BeingEdited (void) |
| void | IncBeingEdited (void) |
| void | DecBeingEdited (void) |
| bool | HasUniqueChannelID (cChannel *NewChannel, cChannel *OldChannel=NULL) |
| bool | SwitchTo (int Number) |
| int | MaxNumber (void) |
| void | SetModified (bool ByUser=false) |
| int | Modified (void) |
| cChannel * | NewChannel (const cChannel *Transponder, const char *Name, const char *ShortName, const char *Provider, int Nid, int Tid, int Sid, int Rid=0) |
Detailed Description
Definition at line 222 of file channels.h.
Constructor & Destructor Documentation
| cChannels::cChannels |
( |
void |
| ) |
|
Member Function Documentation
| int cChannels::BeingEdited |
( |
void |
| ) |
[inline] |
| void cChannels::DecBeingEdited |
( |
void |
| ) |
[inline] |
| cChannel* cChannels::GetByChannelID |
( |
tChannelID |
ChannelID, |
|
|
bool |
TryWithoutRid = false, |
|
|
bool |
TryWithoutPolarization = false |
|
) |
| |
| cChannel * cChannels::GetByNumber |
( |
int |
Number, |
|
|
int |
SkipGap = 0 |
|
) |
| |
| cChannel* cChannels::GetByServiceID |
( |
int |
Source, |
|
|
int |
Transponder, |
|
|
unsigned short |
ServiceID |
|
) |
| |
| int cChannels::GetNextGroup |
( |
int |
Idx | ) |
|
| int cChannels::GetNextNormal |
( |
int |
Idx | ) |
|
| int cChannels::GetPrevGroup |
( |
int |
Idx | ) |
|
| int cChannels::GetPrevNormal |
( |
int |
Idx | ) |
|
| void cChannels::HashChannel |
( |
cChannel * |
Channel | ) |
|
| bool cChannels::HasUniqueChannelID |
( |
cChannel * |
NewChannel, |
|
|
cChannel * |
OldChannel = NULL |
|
) |
| |
| void cChannels::IncBeingEdited |
( |
void |
| ) |
[inline] |
| bool cChannels::Load |
( |
const char * |
FileName, |
|
|
bool |
AllowComments = false, |
|
|
bool |
MustExist = false |
|
) |
| |
| int cChannels::MaxNumber |
( |
void |
| ) |
[inline] |
| int cChannels::Modified |
( |
void |
| ) |
|
Returns 0 if no channels have been modified, 1 if an automatic modification has been made, and 2 if the user has made a modification. Calling this function resets the 'modified' flag to 0.
| cChannel* cChannels::NewChannel |
( |
const cChannel * |
Transponder, |
|
|
const char * |
Name, |
|
|
const char * |
ShortName, |
|
|
const char * |
Provider, |
|
|
int |
Nid, |
|
|
int |
Tid, |
|
|
int |
Sid, |
|
|
int |
Rid = 0 |
|
) |
| |
| void cChannels::ReNumber |
( |
void |
| ) |
|
| void cChannels::SetModified |
( |
bool |
ByUser = false | ) |
|
| bool cChannels::SwitchTo |
( |
int |
Number | ) |
|
| void cChannels::UnhashChannel |
( |
cChannel * |
Channel | ) |
|
The documentation for this class was generated from the following files: