vdr 2.7.6
SI::ParentalRatingDescriptor::Rating Class Reference

#include <descriptor.h>

Public Member Functions

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

char languageCode [4]

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 parental_ratings

Additional Inherited Members

Protected Attributes inherited from SI::Object
CharArray data

Detailed Description

Definition at line 109 of file descriptor.h.

Member Function Documentation

◆ getLength()

virtual int SI::ParentalRatingDescriptor::Rating::getLength ( )
inlineoverridevirtual

Implements SI::Object.

Definition at line 113 of file descriptor.h.

◆ getRating()

int SI::ParentalRatingDescriptor::Rating::getRating ( ) const

Definition at line 314 of file descriptor.c.

References s.

Referenced by cEIT::cEIT().

◆ Parse()

void SI::ParentalRatingDescriptor::Rating::Parse ( )
overrideprotectedvirtual

Implements SI::Parsable.

Definition at line 318 of file descriptor.c.

References SI::Object::data, languageCode, and s.

Member Data Documentation

◆ languageCode

char SI::ParentalRatingDescriptor::Rating::languageCode[4]

Definition at line 111 of file descriptor.h.

Referenced by cEIT::cEIT(), and Parse().

◆ s

const parental_rating* SI::ParentalRatingDescriptor::Rating::s
private

Definition at line 117 of file descriptor.h.

Referenced by getRating(), and Parse().


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