TSDuck v3.46-4965
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches

#include <tsXTID.h>

Public Member Functions

 XTID (TID tid, uint16_t tid_ext)
 XTID (TID tid=0xFF)
bool isLongSection () const
bool isShortSection () const
TID tid () const
uint16_t tidExt () const
UString toString () const

Detailed Description

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.

Constructor & Destructor Documentation

◆ XTID() [1/2]

ts::XTID::XTID ( TID tid = 0xFF)
inlineexplicit

Constructor from a short table id. Short tables have no TIDext.

Parameters
[in]tidTable id.

◆ XTID() [2/2]

ts::XTID::XTID ( TID tid,
uint16_t tid_ext )
inline

Constructor from a long table id and tid-ext.

Parameters
[in]tidTable id.
[in]tid_extTable id extension.

Member Function Documentation

◆ isLongSection()

bool ts::XTID::isLongSection ( ) const
inline

Check if the table is a long one.

Returns
True if the table is a long one.

◆ isShortSection()

bool ts::XTID::isShortSection ( ) const
inline

Check if the table is a short one.

Returns
True if the table is a short one.

◆ tid()

TID ts::XTID::tid ( ) const
inline

Get the table id.

Returns
The table id.

◆ tidExt()

uint16_t ts::XTID::tidExt ( ) const
inline

Get the table id extension.

Returns
The table id extension.

◆ toString()

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.

Returns
This object, converted as a string.

The documentation for this class was generated from the following file: