SASC-NG
DVBSoftCAM

tChannelID Struct Reference

#include <channels.h>

List of all members.

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
tChannelID & ClrRid (void)
tChannelID & ClrPolarization (void)
int Source (void)
int Nid (void)
int Tid (void)
int Sid (void)
int Rid (void)
cString ToString (void) const

Static Public Member Functions

static tChannelID FromString (const char *s)

Static Public Attributes

static const tChannelID InvalidID

Detailed Description

Definition at line 69 of file channels.h.


Constructor & Destructor Documentation

tChannelID::tChannelID ( void  ) [inline]

Definition at line 77 of file channels.h.

{ source = nid = tid = sid = rid = 0; }
tChannelID::tChannelID ( int  Source,
int  Nid,
int  Tid,
int  Sid,
int  Rid = 0 
) [inline]

Definition at line 78 of file channels.h.

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

{ source = Source; nid = Nid; tid = Tid; sid = Sid; rid = Rid; }

Member Function Documentation

tChannelID& tChannelID::ClrPolarization ( void  )
tChannelID& tChannelID::ClrRid ( void  ) [inline]

Definition at line 81 of file channels.h.

{ rid = 0; return *this; }
static tChannelID tChannelID::FromString ( const char *  s) [static]
int tChannelID::Nid ( void  ) [inline]

Definition at line 84 of file channels.h.

Referenced by tChannelID().

{ return nid; }
bool tChannelID::operator== ( const tChannelID &  arg) const [inline]

Definition at line 79 of file channels.h.

{ return source == arg.source && nid == arg.nid && tid == arg.tid && sid == arg.sid && rid == arg.rid; }
int tChannelID::Rid ( void  ) [inline]

Definition at line 87 of file channels.h.

Referenced by tChannelID().

{ return rid; }
int tChannelID::Sid ( void  ) [inline]

Definition at line 86 of file channels.h.

Referenced by tChannelID().

{ return sid; }
int tChannelID::Source ( void  ) [inline]

Definition at line 83 of file channels.h.

Referenced by tChannelID().

{ return source; }
int tChannelID::Tid ( void  ) [inline]

Definition at line 85 of file channels.h.

Referenced by tChannelID().

{ return tid; }
cString tChannelID::ToString ( void  ) const
bool tChannelID::Valid ( void  ) const [inline]

Definition at line 80 of file channels.h.

{ return (nid || tid) && sid; } // rid is optional and source may be 0//XXX source may not be 0???

Member Data Documentation

Definition at line 90 of file channels.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines