TSDuck v3.40-4120
MPEG Transport Stream Toolkit
|
Extended MPEG table id. More...
#include <tsXTID.h>
Public Member Functions | |
XTID (TID tid, uint16_t tid_ext) | |
Constructor from a long table id and tid-ext. | |
XTID (TID tid=0xFF) | |
Constructor from a short table id. | |
bool | isLongSection () const |
Check if the table is a long one. | |
bool | isShortSection () const |
Check if the table is a short one. | |
TID | tid () const |
Get the table id. | |
uint16_t | tidExt () const |
Get the table id extension. | |
UString | toString () const |
Convert to a string object. | |
Extended MPEG table id.
For convenience, it is sometimes useful to identify tables using an "extended TID", a combination of TID and TIDext. On one PID, two tables with the same TID but with different TIDext are considered as distinct tables. By convention, the TIDext is always zero with short sections.
|
inlineexplicit |
Constructor from a short table id.
Short tables have no TIDext.
[in] | tid | Table id. |
|
inline |
Constructor from a long table id and tid-ext.
[in] | tid | Table id. |
[in] | tid_ext | Table id extension. |
|
inline |
Check if the table is a long one.
|
inline |
Check if the table is a short one.
|
inline |
Get the table id.
|
inline |
Get the table id extension.
UString ts::XTID::toString | ( | ) | const |
Convert to a string object.
Note: The XTID class does not implement StringifyInterface because we don't want to make it virtual and keep the instance size small, without vtable pointer.