SASC-NG
DVBSoftCAM

SI::NumberedSection Class Reference

#include <si.h>

Inheritance diagram for SI::NumberedSection:

List of all members.

Public Member Functions

 NumberedSection (const unsigned char *data, bool doCopy=true)
 NumberedSection ()
int getTableIdExtension () const
bool getCurrentNextIndicator () const
int getVersionNumber () const
int getSectionNumber () const
int getLastSectionNumber () const
bool moreThanOneSection () const

Static Public Member Functions

static int getTableIdExtension (const unsigned char *d)

Detailed Description

Definition at line 229 of file si.h.


Constructor & Destructor Documentation

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

Definition at line 231 of file si.h.

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

Definition at line 232 of file si.h.

{}

Member Function Documentation

bool SI::NumberedSection::getCurrentNextIndicator ( ) const

Definition at line 76 of file si.c.

References SI::Object::data, and SI::CharArray::getData().

                                                    {
   return data.getData<ExtendedSectionHeader>()->current_next_indicator;
}
int SI::NumberedSection::getLastSectionNumber ( ) const

Definition at line 88 of file si.c.

References SI::Object::data, and SI::CharArray::getData().

Referenced by moreThanOneSection().

                                                {
   return data.getData<ExtendedSectionHeader>()->last_section_number;
}
int SI::NumberedSection::getSectionNumber ( ) const

Definition at line 84 of file si.c.

References SI::Object::data, and SI::CharArray::getData().

                                            {
   return data.getData<ExtendedSectionHeader>()->section_number;
}
int SI::NumberedSection::getTableIdExtension ( ) const

Definition at line 68 of file si.c.

References SI::Object::data, and SI::CharArray::getData().

                                               {
   return getTableIdExtension(data.getData());
}
int SI::NumberedSection::getTableIdExtension ( const unsigned char *  d) [static]

Definition at line 72 of file si.c.

References HILO.

                                                               {
   return HILO(((const ExtendedSectionHeader *)d)->table_id_extension);
}
int SI::NumberedSection::getVersionNumber ( ) const

Definition at line 80 of file si.c.

References SI::Object::data, and SI::CharArray::getData().

                                            {
   return data.getData<ExtendedSectionHeader>()->version_number;
}
bool SI::NumberedSection::moreThanOneSection ( ) const [inline]

Definition at line 238 of file si.h.

References getLastSectionNumber().

{ return getLastSectionNumber()>0; }

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