SASC
DVBSoftCAM

SI::NIT::TransportStream Class Reference

#include <section.h>

Inheritance diagram for SI::NIT::TransportStream:

List of all members.

Public Member Functions

int getTransportStreamId () const
int getOriginalNetworkId () const
virtual int getLength ()

Public Attributes

DescriptorLoop transportStreamDescriptors

Protected Member Functions

virtual void Parse ()

Detailed Description

Definition at line 95 of file section.h.


Member Function Documentation

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

Definition at line 106 of file section.c.

References HILO.

                                                   {
   return HILO(s->original_network_id);
}
int SI::NIT::TransportStream::getTransportStreamId ( ) const

Definition at line 102 of file section.c.

References HILO.

                                                   {
   return HILO(s->transport_stream_id);
}
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));
}

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