SASC-NG
DVBSoftCAM

SI::NIT Class Reference

#include <section.h>

Inheritance diagram for SI::NIT:

List of all members.

Classes

class  TransportStream

Public Member Functions

 NIT (const unsigned char *data, bool doCopy=true)
 NIT ()
int getNetworkId () const

Public Attributes

DescriptorLoop commonDescriptors
StructureLoop< TransportStream > transportStreamLoop

Protected Member Functions

virtual void Parse ()

Detailed Description

Definition at line 91 of file section.h.


Constructor & Destructor Documentation

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

Definition at line 93 of file section.h.

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

Definition at line 94 of file section.h.

{}

Member Function Documentation

int SI::NIT::getNetworkId ( ) const

Definition at line 89 of file section.c.

References HILO.

Referenced by SI::BAT::getBouquetId().

                            {
   return HILO(s->network_id);
}
void SI::NIT::Parse ( ) [protected, virtual]

Implements SI::Parsable.

Definition at line 93 of file section.c.

References SI::Object::data, HILO, and SI::CharArray::setPointerAndOffset().

                {
   int offset=0;
   data.setPointerAndOffset<const nit>(s, offset);
   commonDescriptors.setDataAndOffset(data+offset, HILO(s->network_descriptor_length), offset);
   const nit_mid *mid;
   data.setPointerAndOffset<const nit_mid>(mid, offset);
   transportStreamLoop.setData(data+offset, HILO(mid->transport_stream_loop_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