SASC
DVBSoftCAM

SI::PAT Class Reference

#include <section.h>

Inheritance diagram for SI::PAT:

List of all members.

Classes

class  Association

Public Member Functions

 PAT (const unsigned char *data, bool doCopy=true)
 PAT ()
int getTransportStreamId () const

Public Attributes

StructureLoop< Association > associationLoop

Protected Member Functions

virtual void Parse ()

Detailed Description

Definition at line 23 of file section.h.


Constructor & Destructor Documentation

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

Definition at line 25 of file section.h.

: NumberedSection(data, doCopy) {}
SI::PAT::PAT ( ) [inline]

Definition at line 26 of file section.h.

{}

Member Function Documentation

int SI::PAT::getTransportStreamId ( ) const

Definition at line 26 of file section.c.

References HILO.

                                    {
   return HILO(s->transport_stream_id);
}
void SI::PAT::Parse ( ) [protected, virtual]

Implements SI::Parsable.

Definition at line 20 of file section.c.

References associationLoop, SI::Object::data, SI::Section::getLength(), SI::VariableLengthPart::setData(), and SI::CharArray::setPointerAndOffset().

                {
   int offset=0;
   data.setPointerAndOffset<const pat>(s, offset);
   associationLoop.setData(data+offset, getLength()-offset-4);
}

Member Data Documentation


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