|
SASC-NG
DVBSoftCAM
|
#include <section.h>
Inheritance diagram for SI::PAT: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 () |
| SI::PAT::PAT | ( | const unsigned char * | data, |
| bool | doCopy = true |
||
| ) | [inline] |
Definition at line 25 of file section.h.
: NumberedSection(data, doCopy) {}
| int SI::PAT::getTransportStreamId | ( | ) | const |
| 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);
}
Definition at line 39 of file section.h.
Referenced by Parse(), and cTpsAuHook::Process().