vdr 2.7.7
SI::SDT Class Reference

#include <section.h>

Classes

class  Service

Public Member Functions

 SDT (const unsigned char *data, bool doCopy=true)
 SDT ()
int getTransportStreamId () const
int getOriginalNetworkId () 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

StructureLoop< ServiceserviceLoop

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 sdts

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 123 of file section.h.

Constructor & Destructor Documentation

◆ SDT() [1/2]

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

Definition at line 125 of file section.h.

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

◆ SDT() [2/2]

SI::SDT::SDT ( )
inline

Definition at line 126 of file section.h.

Member Function Documentation

◆ getOriginalNetworkId()

int SI::SDT::getOriginalNetworkId ( ) const

Definition at line 128 of file section.c.

References HILO, and s.

Referenced by cSdtFilter::Process().

◆ getTransportStreamId()

int SI::SDT::getTransportStreamId ( ) const

Definition at line 124 of file section.c.

References HILO, and s.

Referenced by cSdtFilter::Process().

◆ Parse()

void SI::SDT::Parse ( )
overrideprotectedvirtual

Implements SI::Parsable.

Definition at line 118 of file section.c.

References SI::Object::data, SI::Section::getLength(), s, and serviceLoop.

Member Data Documentation

◆ s

const sdt* SI::SDT::s
private

Definition at line 147 of file section.h.

Referenced by getOriginalNetworkId(), getTransportStreamId(), and Parse().

◆ serviceLoop

StructureLoop<Service> SI::SDT::serviceLoop

Definition at line 143 of file section.h.

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


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