vdr 2.7.6
SI::PAT Class Reference

#include <section.h>

Classes

class  Association
 

Public Member Functions

 PAT (const unsigned char *data, bool doCopy=true)
 
 PAT ()
 
int getTransportStreamId () const
 
- Public Member Functions inherited from SI::NumberedSection
 NumberedSection (const unsigned char *data, bool doCopy=true)
 
 NumberedSection ()
 
int getTableIdExtension () const
 
bool getCurrentNextIndicator () const
 
int getVersionNumber () const
 
int getSectionNumber () const
 
int getLastSectionNumber () const
 
bool moreThanOneSection () const
 
- Public Member Functions inherited from SI::CRCSection
 CRCSection (const unsigned char *data, bool doCopy=true)
 
 CRCSection ()
 
bool isCRCValid ()
 
bool CheckCRCAndParse ()
 
- Public Member Functions inherited from SI::Section
 Section (const unsigned char *data, bool doCopy=true)
 
 Section ()
 
TableId getTableId () const
 
virtual int getLength () override
 
- Public Member Functions inherited from SI::Object
 Object ()
 
 Object (CharArray &d)
 
void setData (const unsigned char *data, int size, bool doCopy=true)
 
CharArray getData ()
 
bool isValid ()
 
- Public Member Functions inherited from SI::Parsable
void CheckParse ()
 

Public Attributes

StructureLoop< AssociationassociationLoop
 

Protected Member Functions

virtual void Parse () override
 
- Protected Member Functions inherited from SI::Object
void setData (CharArray &d)
 
bool checkSize (int offset)
 
- Protected Member Functions inherited from SI::Parsable
 Parsable ()
 
virtual ~Parsable ()
 

Private Attributes

const pats
 

Additional Inherited Members

- Static Public Member Functions inherited from SI::NumberedSection
static int getTableIdExtension (const unsigned char *d)
 
- Static Public Member Functions inherited from SI::Section
static int getLength (const unsigned char *d)
 
static TableId getTableId (const unsigned char *d)
 
- Protected Attributes inherited from SI::Object
CharArray data
 

Detailed Description

Definition at line 23 of file section.h.

Constructor & Destructor Documentation

◆ PAT() [1/2]

SI::PAT::PAT ( const unsigned char * data,
bool doCopy = true )
inline

Definition at line 25 of file section.h.

References SI::Object::data, and SI::NumberedSection::NumberedSection().

◆ PAT() [2/2]

SI::PAT::PAT ( )
inline

Definition at line 26 of file section.h.

Member Function Documentation

◆ getTransportStreamId()

int SI::PAT::getTransportStreamId ( ) const

Definition at line 26 of file section.c.

References HILO, and s.

Referenced by cPatPmtParser::ParsePat().

◆ Parse()

void SI::PAT::Parse ( )
overrideprotectedvirtual

Implements SI::Parsable.

Definition at line 20 of file section.c.

References associationLoop, SI::Object::data, SI::Section::getLength(), and s.

Member Data Documentation

◆ associationLoop

StructureLoop<Association> SI::PAT::associationLoop

Definition at line 39 of file section.h.

Referenced by Parse(), cPatPmtParser::ParsePat(), and cPatFilter::Process().

◆ s

const pat* SI::PAT::s
private

Definition at line 43 of file section.h.

Referenced by getTransportStreamId(), Parse(), and SI::RST::Parse().


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