|
SASC-NG
DVBSoftCAM
|
#include <descriptor.h>
Inheritance diagram for SI::ISO639LanguageDescriptor:Classes | |
| class | Language |
Public Attributes | |
| char | languageCode [4] |
| StructureLoop< Language > | languageLoop |
Protected Member Functions | |
| virtual void | Parse () |
Definition at line 447 of file descriptor.h.
| void SI::ISO639LanguageDescriptor::Parse | ( | ) | [protected, virtual] |
Implements SI::Parsable.
Definition at line 740 of file descriptor.c.
References SI::Object::data, SI::Descriptor::getLength(), SI::ISO639LanguageDescriptor::Language::languageCode, and SI::ExtendedEventDescriptor::languageCode.
{
languageLoop.setData(data+sizeof(descr_iso_639_language), getLength()-sizeof(descr_iso_639_language));
//all this is for backwards compatibility only
Loop::Iterator it;
Language first;
if (languageLoop.getNext(first, it)) {
languageCode[0]=first.languageCode[0];
languageCode[1]=first.languageCode[1];
languageCode[2]=first.languageCode[2];
languageCode[3]=0;
} else
languageCode[0]=0;
}
Definition at line 449 of file descriptor.h.
Definition at line 460 of file descriptor.h.