vdr 2.7.5
SI::VariableLengthPart Class Reference

#include <si.h>

Public Member Functions

void setData (CharArray d, int l)
void setDataAndOffset (CharArray d, int l, int &offset)
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 ()

Private Attributes

int length

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 287 of file si.h.

Member Function Documentation

◆ getLength()

◆ setData()

void SI::VariableLengthPart::setData ( CharArray d,
int l )
inline

Definition at line 290 of file si.h.

References SI::Object::checkSize(), length, and SI::Object::setData().

◆ setDataAndOffset()

void SI::VariableLengthPart::setDataAndOffset ( CharArray d,
int l,
int & offset )
inline

Definition at line 292 of file si.h.

References SI::Object::checkSize(), length, and SI::Object::setData().

Member Data Documentation

◆ length

int SI::VariableLengthPart::length
private

Definition at line 295 of file si.h.

Referenced by getLength(), setData(), and setDataAndOffset().


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