|
SASC
DVBSoftCAM
|
#include <si.h>
Inheritance diagram for SI::NumberedSection: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) |
| SI::NumberedSection::NumberedSection | ( | const unsigned char * | data, |
| bool | doCopy = true |
||
| ) | [inline] |
Definition at line 231 of file si.h.
: CRCSection(data, doCopy) {}
| 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] |
| 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; }