SASC
DVBSoftCAM

SI::SDT Class Reference

#include <section.h>

Inheritance diagram for SI::SDT:

List of all members.

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 ()

Detailed Description

Definition at line 123 of file section.h.


Constructor & Destructor Documentation

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

Definition at line 125 of file section.h.

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

Definition at line 126 of file section.h.

{}

Member Function Documentation

int SI::SDT::getOriginalNetworkId ( ) const

Definition at line 128 of file section.c.

References HILO.

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

Definition at line 124 of file section.c.

References HILO.

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

Member Data Documentation

Definition at line 143 of file section.h.


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