SASC-NG
DVBSoftCAM

SI::AIT Class Reference

#include <section.h>

Inheritance diagram for SI::AIT:

List of all members.

Classes

class  Application

Public Member Functions

 AIT (const unsigned char *data, bool doCopy=true)
 AIT ()
int getApplicationType () const
int getAITVersion () const

Public Attributes

MHP_DescriptorLoop commonDescriptors
StructureLoop< Application > applicationLoop

Protected Member Functions

virtual void Parse ()

Protected Attributes

const ait * first

Detailed Description

Definition at line 239 of file section.h.


Constructor & Destructor Documentation

SI::AIT::AIT ( const unsigned char *  data,
bool  doCopy = true 
) [inline]

Definition at line 241 of file section.h.

: NumberedSection(data, doCopy) {}
SI::AIT::AIT ( ) [inline]

Definition at line 242 of file section.h.

{}

Member Function Documentation

int SI::AIT::getAITVersion ( ) const

Definition at line 313 of file section.c.

                             {
   return first->version_number;
}
int SI::AIT::getApplicationType ( ) const

Definition at line 309 of file section.c.

References HILO.

                                  {
   return HILO(first->application_type);
}
void SI::AIT::Parse ( ) [protected, virtual]

Implements SI::Parsable.

Definition at line 317 of file section.c.

References SI::Object::data, HILO, and SI::CharArray::setPointerAndOffset().

                {
   int offset=0;
   data.setPointerAndOffset<const ait>(first, offset);
   commonDescriptors.setDataAndOffset(data+offset, HILO(first->common_descriptors_length), offset);
   const ait_mid *mid;
   data.setPointerAndOffset<const ait_mid>(mid, offset);
   applicationLoop.setData(data+offset, HILO(mid->application_loop_length));
}

Member Data Documentation

const ait* SI::AIT::first [protected]

Definition at line 259 of file section.h.


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