SASC-NG
DVBSoftCAM

SI::ParentalRatingDescriptor::Rating Class Reference

#include <descriptor.h>

Inheritance diagram for SI::ParentalRatingDescriptor::Rating:

List of all members.

Public Member Functions

int getRating () const
virtual int getLength ()

Public Attributes

char languageCode [4]

Protected Member Functions

virtual void Parse ()

Detailed Description

Definition at line 110 of file descriptor.h.


Member Function Documentation

virtual int SI::ParentalRatingDescriptor::Rating::getLength ( ) [inline, virtual]

Implements SI::Object.

Definition at line 114 of file descriptor.h.

:
      virtual void Parse();
int SI::ParentalRatingDescriptor::Rating::getRating ( ) const

Definition at line 309 of file descriptor.c.

                                                    {
   return s->rating;
}
void SI::ParentalRatingDescriptor::Rating::Parse ( ) [protected, virtual]

Implements SI::Parsable.

Definition at line 313 of file descriptor.c.

References SI::Object::data, SI::CharArray::getData(), SI::descr_extended_event::lang_code1, SI::descr_extended_event::lang_code2, SI::descr_extended_event::lang_code3, and SI::ExtendedEventDescriptor::languageCode.

                                           {
   s=data.getData<const parental_rating>();
   languageCode[0]=s->lang_code1;
   languageCode[1]=s->lang_code2;
   languageCode[2]=s->lang_code3;
   languageCode[3]=0;
}

Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines