TSDuck Version 3.32-2769 (TSDuck - The MPEG Transport Stream Toolkit)
ts::AbstractTable::EntryWithDescriptors Class Reference

Base inner class for table entries with one descriptor list. More...

Inheritance diagram for ts::AbstractTable::EntryWithDescriptors:
Collaboration diagram for ts::AbstractTable::EntryWithDescriptors:

Public Member Functions

 EntryWithDescriptors (const AbstractTable *table)
 Basic constructor. More...
 
 EntryWithDescriptors (const AbstractTable *table, const EntryWithDescriptors &other)
 Basic copy-like constructor. More...
 
EntryWithDescriptorsoperator= (const EntryWithDescriptors &other)
 Assignment operator. More...
 
EntryWithDescriptorsoperator= (EntryWithDescriptors &&other) noexcept
 Move assignment operator. More...
 

Public Attributes

DescriptorList descs
 List of descriptors for this entry, publicly accessible.
 

Detailed Description

Base inner class for table entries with one descriptor list.

Some tables, such as PMT, BAT or NIT, contain a list or map of "entries". Each entry contains a descriptor list. The difficulty here is that the class DescriptorList needs to be constructed with a reference to a parent table. The inner class EntryWithDescriptorList can be used as base class for such entries, combined with the template container classes EntryWithDescriptorsList and EntryWithDescriptorsMap.

Constructor & Destructor Documentation

◆ EntryWithDescriptors() [1/2]

ts::AbstractTable::EntryWithDescriptors::EntryWithDescriptors ( const AbstractTable table)
explicit

Basic constructor.

Parameters
[in]tableParent table. A descriptor list is always attached to a table.

◆ EntryWithDescriptors() [2/2]

ts::AbstractTable::EntryWithDescriptors::EntryWithDescriptors ( const AbstractTable table,
const EntryWithDescriptors other 
)

Basic copy-like constructor.

Parameters
[in]tableParent table. A descriptor list is always attached to a table.
[in]otherAnother instance to copy.

Member Function Documentation

◆ operator=() [1/2]

EntryWithDescriptors& ts::AbstractTable::EntryWithDescriptors::operator= ( const EntryWithDescriptors other)

Assignment operator.

The parent table remains unchanged.

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

◆ operator=() [2/2]

EntryWithDescriptors& ts::AbstractTable::EntryWithDescriptors::operator= ( EntryWithDescriptors &&  other)
noexcept

Move assignment operator.

The parent table remains unchanged.

Parameters
[in,out]otherAnother instance to copy.
Returns
A reference to this object.

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