vdr 2.7.6
SI::CRCSection Class Reference

#include <si.h>

Public Member Functions

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

Additional Inherited Members

Static Public Member Functions inherited from SI::Section
static int getLength (const unsigned char *d)
static TableId getTableId (const unsigned char *d)
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 261 of file si.h.

Constructor & Destructor Documentation

◆ CRCSection() [1/2]

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

Definition at line 264 of file si.h.

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

Referenced by SI::NumberedSection::NumberedSection(), and SI::TOT::TOT().

◆ CRCSection() [2/2]

SI::CRCSection::CRCSection ( )
inline

Definition at line 265 of file si.h.

Member Function Documentation

◆ CheckCRCAndParse()

◆ isCRCValid()

bool SI::CRCSection::isCRCValid ( )

Definition at line 61 of file si.c.

References SI::Object::data, SI::Section::getLength(), and SI::CRC32::isValid().

Referenced by CheckCRCAndParse().


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