QtlMovie 1.12 (A specialized FFmpeg front-end)
QtsExtTableId Class Reference

Extended table id (include table id extension). More...

Public Member Functions

 QtsExtTableId (QtsTableId tid=0xFF)
 Constructor from a short table id. More...
 
 QtsExtTableId (QtsTableId tid, QtsTableIdExt tidExt)
 Constructor from a long table id and tid-ext. More...
 
 QtsExtTableId (const QtsExtTableId &e)
 Copy constructor. More...
 
bool isLongSection () const
 Check if the extended table id references a section with a long header. More...
 
bool isShortSection () const
 Check if the extended table id references a section with a short header. More...
 
bool operator!= (const QtsExtTableId &e) const
 Comparison operator. More...
 
bool operator< (const QtsExtTableId &e) const
 Comparison operator. More...
 
bool operator<= (const QtsExtTableId &e) const
 Comparison operator. More...
 
const QtsExtTableIdoperator= (const QtsExtTableId &e)
 Assignment. More...
 
bool operator== (const QtsExtTableId &e) const
 Comparison operator. More...
 
bool operator> (const QtsExtTableId &e) const
 Comparison operator. More...
 
bool operator>= (const QtsExtTableId &e) const
 Comparison operator. More...
 
QtsTableId tid () const
 Get the Table Id part. More...
 
QtsTableIdExt tidExt () const
 Get the Table Id Extension part. More...
 

Private Attributes

quint32 _etid
 7-bit: unused, 1-bit: long table, 8-bit: tid, 16-bit: tid-ext More...
 

Detailed Description

Extended table id (include table id extension).

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

◆ QtsExtTableId() [1/3]

QtsExtTableId::QtsExtTableId ( QtsTableId  tid = 0xFF)
inline

Constructor from a short table id.

Parameters
[in]tidTable id.

◆ QtsExtTableId() [2/3]

QtsExtTableId::QtsExtTableId ( QtsTableId  tid,
QtsTableIdExt  tidExt 
)
inline

Constructor from a long table id and tid-ext.

Parameters
[in]tidTable id.
[in]tidExtTable id entension.

◆ QtsExtTableId() [3/3]

QtsExtTableId::QtsExtTableId ( const QtsExtTableId e)
inline

Copy constructor.

Parameters
[in]eOther instance to copy.

Member Function Documentation

◆ operator=()

const QtsExtTableId& QtsExtTableId::operator= ( const QtsExtTableId e)
inline

Assignment.

Parameters
[in]eOther instance to copy.
Returns
A reference to this object.

◆ isLongSection()

bool QtsExtTableId::isLongSection ( ) const
inline

Check if the extended table id references a section with a long header.

Returns
True if the extended table id references a section with a long header.

◆ isShortSection()

bool QtsExtTableId::isShortSection ( ) const
inline

Check if the extended table id references a section with a short header.

Returns
True if the extended table id references a section with a short header.

◆ tid()

QtsTableId QtsExtTableId::tid ( ) const
inline

Get the Table Id part.

Returns
The Table Id part.

◆ tidExt()

QtsTableIdExt QtsExtTableId::tidExt ( ) const
inline

Get the Table Id Extension part.

Returns
The Table Id Extension part.

◆ operator==()

bool QtsExtTableId::operator== ( const QtsExtTableId e) const
inline

Comparison operator.

Parameters
[in]eOther instance to compare.
Returns
True is this object is equal to e.

◆ operator!=()

bool QtsExtTableId::operator!= ( const QtsExtTableId e) const
inline

Comparison operator.

Parameters
[in]eOther instance to compare.
Returns
True is this object is different from e.

◆ operator<()

bool QtsExtTableId::operator< ( const QtsExtTableId e) const
inline

Comparison operator.

Parameters
[in]eOther instance to compare.
Returns
True is this object is logically less than e.

◆ operator<=()

bool QtsExtTableId::operator<= ( const QtsExtTableId e) const
inline

Comparison operator.

Parameters
[in]eOther instance to compare.
Returns
True is this object is logically less than or equal to e.

◆ operator>()

bool QtsExtTableId::operator> ( const QtsExtTableId e) const
inline

Comparison operator.

Parameters
[in]eOther instance to compare.
Returns
True is this object is logically greater than e.

◆ operator>=()

bool QtsExtTableId::operator>= ( const QtsExtTableId e) const
inline

Comparison operator.

Parameters
[in]eOther instance to compare.
Returns
True is this object is logically greater than or equal to e.

Member Data Documentation

◆ _etid

quint32 QtsExtTableId::_etid
private

7-bit: unused, 1-bit: long table, 8-bit: tid, 16-bit: tid-ext


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