vdr  2.2.0
Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Attributes | List of all members
tChannelID Struct Reference

#include <channels.h>

Public Member Functions

 tChannelID (void)
 
 tChannelID (int Source, int Nid, int Tid, int Sid, int Rid=0)
 
bool operator== (const tChannelID &arg) const
 
bool Valid (void) const
 
tChannelIDClrRid (void)
 
tChannelIDClrPolarization (void)
 
int Source (void) const
 
int Nid (void) const
 
int Tid (void) const
 
int Sid (void) const
 
int Rid (void) const
 
cString ToString (void) const
 

Static Public Member Functions

static tChannelID FromString (const char *s)
 

Static Public Attributes

static const tChannelID InvalidID
 

Private Attributes

int source
 
int nid
 
int tid
 
int sid
 
int rid
 

Detailed Description

Definition at line 54 of file channels.h.

Constructor & Destructor Documentation

tChannelID::tChannelID ( void  )
inline

Definition at line 62 of file channels.h.

Referenced by FromString(), and cChannel::GetChannelID().

tChannelID::tChannelID ( int  Source,
int  Nid,
int  Tid,
int  Sid,
int  Rid = 0 
)
inline

Definition at line 63 of file channels.h.

References Nid(), Rid(), Sid(), Source(), and Tid().

Member Function Documentation

tChannelID & tChannelID::ClrPolarization ( void  )

Definition at line 50 of file channels.c.

References tid.

Referenced by ClrRid(), and cChannels::GetByChannelID().

tChannelID& tChannelID::ClrRid ( void  )
inline
tChannelID tChannelID::FromString ( const char *  s)
static
int tChannelID::Nid ( void  ) const
inline
bool tChannelID::operator== ( const tChannelID arg) const
inline

Definition at line 64 of file channels.h.

References nid, rid, sid, source, and tid.

int tChannelID::Rid ( void  ) const
inline
int tChannelID::Sid ( void  ) const
inline
int tChannelID::Source ( void  ) const
inline
int tChannelID::Tid ( void  ) const
inline
cString tChannelID::ToString ( void  ) const
bool tChannelID::Valid ( void  ) const
inline

Definition at line 65 of file channels.h.

References sid.

Referenced by cChannel::Parse(), and cSchedule::Read().

Member Data Documentation

const tChannelID tChannelID::InvalidID
static
int tChannelID::nid
private

actually the "original" network id

Definition at line 57 of file channels.h.

Referenced by FromString(), cChannels::GetByTransponderID(), Nid(), cChannel::Nid(), operator==(), cChannel::Parse(), cChannel::SetId(), and ToString().

int tChannelID::rid
private
int tChannelID::sid
private
int tChannelID::source
private
int tChannelID::tid
private

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