|
SASC
DVBSoftCAM
|
#include <descriptor.h>
Inheritance diagram for SI::ParentalRatingDescriptor::Rating:Public Member Functions | |
| int | getRating () const |
| virtual int | getLength () |
Public Attributes | |
| char | languageCode [4] |
Protected Member Functions | |
| virtual void | Parse () |
Definition at line 110 of file descriptor.h.
| virtual int SI::ParentalRatingDescriptor::Rating::getLength | ( | ) | [inline, virtual] |
| 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;
}
Definition at line 112 of file descriptor.h.