SASC-NG
DVBSoftCAM

SI::ISO639LanguageDescriptor Class Reference

#include <descriptor.h>

Inheritance diagram for SI::ISO639LanguageDescriptor:

List of all members.

Classes

class  Language

Public Attributes

char languageCode [4]
StructureLoop< Language > languageLoop

Protected Member Functions

virtual void Parse ()

Detailed Description

Definition at line 447 of file descriptor.h.


Member Function Documentation

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;
}

Member Data Documentation

Definition at line 449 of file descriptor.h.


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