vdr 2.7.7
SI::Section Class Reference

#include <si.h>

Public Member Functions

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

Static Public Member Functions

static int getLength (const unsigned char *d)
static TableId getTableId (const unsigned char *d)

Additional Inherited Members

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 ()
virtual void Parse ()=0
Protected Attributes inherited from SI::Object
CharArray data

Detailed Description

Definition at line 249 of file si.h.

Constructor & Destructor Documentation

◆ Section() [1/2]

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

Definition at line 41 of file si.c.

References SI::Object::data, getLength(), and SI::Object::setData().

Referenced by SI::CRCSection::CRCSection(), SI::RST::RST(), and SI::TDT::TDT().

◆ Section() [2/2]

SI::Section::Section ( )
inline

Definition at line 253 of file si.h.

Member Function Documentation

◆ getLength() [1/2]

int SI::Section::getLength ( )
overridevirtual

◆ getLength() [2/2]

int SI::Section::getLength ( const unsigned char * d)
static

Definition at line 57 of file si.c.

References HILO.

◆ getTableId() [1/2]

TableId SI::Section::getTableId ( ) const

Definition at line 45 of file si.c.

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

Referenced by getTableId(), SI::EIT::isActualTS(), and SI::EIT::isPresentFollowing().

◆ getTableId() [2/2]

TableId SI::Section::getTableId ( const unsigned char * d)
static

Definition at line 53 of file si.c.


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