SASC-NG
DVBSoftCAM

SI::PAT::Association Class Reference

#include <section.h>

Inheritance diagram for SI::PAT::Association:

List of all members.

Public Member Functions

int getServiceId () const
int getPid () const
bool isNITPid () const
virtual int getLength ()

Protected Member Functions

virtual void Parse ()

Detailed Description

Definition at line 27 of file section.h.


Member Function Documentation

virtual int SI::PAT::Association::getLength ( ) [inline, virtual]

Implements SI::Object.

Definition at line 32 of file section.h.

{ return sizeof(pat_prog); }
int SI::PAT::Association::getPid ( ) const

Definition at line 34 of file section.c.

References HILO.

Referenced by cTpsAuHook::Process().

                                 {
   return HILO(s->network_pid);
}
int SI::PAT::Association::getServiceId ( ) const

Definition at line 30 of file section.c.

References HILO.

Referenced by isNITPid(), and cTpsAuHook::Process().

                                       {
   return HILO(s->program_number);
}
bool SI::PAT::Association::isNITPid ( ) const [inline]

Definition at line 31 of file section.h.

References getServiceId().

Referenced by cTpsAuHook::Process().

{ return getServiceId()==0; }
void SI::PAT::Association::Parse ( ) [protected, virtual]

Implements SI::Parsable.

Definition at line 38 of file section.c.

References SI::Object::data, and SI::CharArray::getData().

                           {
   s=data.getData<pat_prog>();
}

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