|
SASC-NG
DVBSoftCAM
|
#include <section.h>
Inheritance diagram for SI::NIT::TransportStream:Public Member Functions | |
| int | getTransportStreamId () const |
| int | getOriginalNetworkId () const |
| virtual int | getLength () |
Public Attributes | |
| DescriptorLoop | transportStreamDescriptors |
Protected Member Functions | |
| virtual void | Parse () |
| virtual int SI::NIT::TransportStream::getLength | ( | ) | [inline, virtual] |
Implements SI::Object.
Definition at line 99 of file section.h.
References SI::VariableLengthPart::getLength(), and transportStreamDescriptors.
{ return sizeof(ni_ts)+transportStreamDescriptors.getLength(); }
| int SI::NIT::TransportStream::getOriginalNetworkId | ( | ) | const |
| int SI::NIT::TransportStream::getTransportStreamId | ( | ) | const |
| void SI::NIT::TransportStream::Parse | ( | ) | [protected, virtual] |
Implements SI::Parsable.
Definition at line 110 of file section.c.
References SI::Object::data, HILO, and SI::CharArray::setPointerAndOffset().
{
int offset=0;
data.setPointerAndOffset<const ni_ts>(s, offset);
transportStreamDescriptors.setData(data+offset, HILO(s->transport_descriptors_length));
}
Definition at line 100 of file section.h.
Referenced by getLength().