vdr  2.4.1
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
SI::Object Class Referenceabstract

#include <si.h>

Public Member Functions

 Object ()
 
 Object (CharArray &d)
 
void setData (const unsigned char *data, int size, bool doCopy=true)
 
CharArray getData ()
 
bool isValid ()
 
virtual int getLength ()=0
 
- Public Member Functions inherited from SI::Parsable
void CheckParse ()
 

Protected Member Functions

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

Protected Attributes

CharArray data
 

Friends

template<class T >
class StructureLoop
 

Detailed Description

Definition at line 240 of file si.h.

Constructor & Destructor Documentation

◆ Object() [1/2]

SI::Object::Object ( )

Definition at line 33 of file si.c.

◆ Object() [2/2]

SI::Object::Object ( CharArray d)

Definition at line 36 of file si.c.

References SI::CharArray::checkSize().

Member Function Documentation

◆ checkSize()

bool SI::Object::checkSize ( int  offset)
protected

◆ getData()

CharArray SI::Object::getData ( )
inline

Definition at line 246 of file si.h.

Referenced by SI::DescriptorLoop::getNext().

◆ getLength()

virtual int SI::Object::getLength ( )
pure virtual

◆ isValid()

bool SI::Object::isValid ( )
inline

Definition at line 248 of file si.h.

◆ setData() [1/2]

void SI::Object::setData ( CharArray d)
protected

Definition at line 43 of file si.c.

◆ setData() [2/2]

void SI::Object::setData ( const unsigned char *  data,
int  size,
bool  doCopy = true 
)

Friends And Related Function Documentation

◆ StructureLoop

template<class T >
friend class StructureLoop
friend

Definition at line 253 of file si.h.

Member Data Documentation

◆ data

CharArray SI::Object::data
protected

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