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() [1/2]

tChannelID::tChannelID ( void  )
inline

Definition at line 62 of file channels.h.

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

◆ tChannelID() [2/2]

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

◆ ClrPolarization()

tChannelID & tChannelID::ClrPolarization ( void  )

Definition at line 50 of file channels.c.

References tid.

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

◆ ClrRid()

tChannelID& tChannelID::ClrRid ( void  )
inline

◆ FromString()

tChannelID tChannelID::FromString ( const char *  s)
static

◆ Nid()

int tChannelID::Nid ( void  ) const
inline

◆ operator==()

bool tChannelID::operator== ( const tChannelID arg) const
inline

Definition at line 64 of file channels.h.

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

◆ Rid()

int tChannelID::Rid ( void  ) const
inline

◆ Sid()

int tChannelID::Sid ( void  ) const
inline

◆ Source()

int tChannelID::Source ( void  ) const
inline

◆ Tid()

int tChannelID::Tid ( void  ) const
inline

◆ ToString()

cString tChannelID::ToString ( void  ) const

◆ Valid()

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

◆ InvalidID

const tChannelID tChannelID::InvalidID
static

◆ nid

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().

◆ rid

int tChannelID::rid
private

◆ sid

int tChannelID::sid
private

◆ source

int tChannelID::source
private

◆ tid

int tChannelID::tid
private

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