vdr 2.7.5
SI::NIT Class Reference

#include <section.h>

Classes

class  TransportStream

Public Member Functions

 NIT (const unsigned char *data, bool doCopy=true)
 NIT ()
int getNetworkId () const
Public Member Functions inherited from SI::NumberedSection
 NumberedSection (const unsigned char *data, bool doCopy=true)
 NumberedSection ()
int getTableIdExtension () const
bool getCurrentNextIndicator () const
int getVersionNumber () const
int getSectionNumber () const
int getLastSectionNumber () const
bool moreThanOneSection () const
Public Member Functions inherited from SI::CRCSection
 CRCSection (const unsigned char *data, bool doCopy=true)
 CRCSection ()
bool isCRCValid ()
bool CheckCRCAndParse ()
Public Member Functions inherited from SI::Section
 Section (const unsigned char *data, bool doCopy=true)
 Section ()
TableId getTableId () const
virtual int getLength () override
Public Member Functions inherited from SI::Object
 Object ()
 Object (CharArray &d)
void setData (const unsigned char *data, int size, bool doCopy=true)
CharArray getData ()
bool isValid ()
Public Member Functions inherited from SI::Parsable
void CheckParse ()

Public Attributes

DescriptorLoop commonDescriptors
StructureLoop< TransportStreamtransportStreamLoop

Protected Member Functions

virtual void Parse () override
Protected Member Functions inherited from SI::Object
void setData (CharArray &d)
bool checkSize (int offset)
Protected Member Functions inherited from SI::Parsable
 Parsable ()
virtual ~Parsable ()

Private Attributes

const nits

Additional Inherited Members

Static Public Member Functions inherited from SI::NumberedSection
static int getTableIdExtension (const unsigned char *d)
Static Public Member Functions inherited from SI::Section
static int getLength (const unsigned char *d)
static TableId getTableId (const unsigned char *d)
Protected Attributes inherited from SI::Object
CharArray data

Detailed Description

Definition at line 91 of file section.h.

Constructor & Destructor Documentation

◆ NIT() [1/2]

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

Definition at line 93 of file section.h.

References SI::Object::data, and SI::NumberedSection::NumberedSection().

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

◆ NIT() [2/2]

SI::NIT::NIT ( )
inline

Definition at line 94 of file section.h.

Member Function Documentation

◆ getNetworkId()

int SI::NIT::getNetworkId ( ) const

Definition at line 89 of file section.c.

References HILO, and s.

Referenced by SI::BAT::getBouquetId(), and cNitFilter::Process().

◆ Parse()

void SI::NIT::Parse ( )
overrideprotectedvirtual

Implements SI::Parsable.

Definition at line 93 of file section.c.

References commonDescriptors, SI::Object::data, HILO, s, and transportStreamLoop.

Member Data Documentation

◆ commonDescriptors

DescriptorLoop SI::NIT::commonDescriptors

Definition at line 106 of file section.h.

Referenced by Parse(), and cNitFilter::Process().

◆ s

const nit* SI::NIT::s
private

Definition at line 112 of file section.h.

Referenced by getNetworkId(), and Parse().

◆ transportStreamLoop

StructureLoop<TransportStream> SI::NIT::transportStreamLoop

Definition at line 107 of file section.h.

Referenced by Parse(), and cNitFilter::Process().


The documentation for this class was generated from the following files: