|
SASC-NG
DVBSoftCAM
|
#include <section.h>
Inheritance diagram for SI::SDT:Classes | |
| class | Service |
Public Member Functions | |
| SDT (const unsigned char *data, bool doCopy=true) | |
| SDT () | |
| int | getTransportStreamId () const |
| int | getOriginalNetworkId () const |
Public Attributes | |
| StructureLoop< Service > | serviceLoop |
Protected Member Functions | |
| virtual void | Parse () |
| SI::SDT::SDT | ( | const unsigned char * | data, |
| bool | doCopy = true |
||
| ) | [inline] |
Definition at line 125 of file section.h.
: NumberedSection(data, doCopy) {}
| int SI::SDT::getOriginalNetworkId | ( | ) | const |
| int SI::SDT::getTransportStreamId | ( | ) | const |
| void SI::SDT::Parse | ( | ) | [protected, virtual] |
Implements SI::Parsable.
Definition at line 118 of file section.c.
References SI::Object::data, SI::Section::getLength(), and SI::CharArray::setPointerAndOffset().
{
int offset=0;
data.setPointerAndOffset<const sdt>(s, offset);
serviceLoop.setData(data+offset, getLength()-offset-4); //4 is for CRC
}