TSDuck v3.46-4930
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::AbstractTable::EntryWithDescriptors Class Reference

#include <tsAbstractTable.h>

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

Public Member Functions

 EntryWithDescriptors (const AbstractTable *table)
 EntryWithDescriptors (const AbstractTable *table, const EntryWithDescriptors &other)
 EntryWithDescriptors (const AbstractTable *table, EntryWithDescriptors &&other)
EntryWithDescriptors & operator= (const EntryWithDescriptors &other)
EntryWithDescriptors & operator= (EntryWithDescriptors &&other) noexcept

Public Attributes

DescriptorList descs
size_t order_hint

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 AttachedEntryList and AttachedEntryMap.

Constructor & Destructor Documentation

◆ EntryWithDescriptors() [1/3]

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/3]

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.

◆ EntryWithDescriptors() [3/3]

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

Basic move-like constructor.

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

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 move.
Returns
A reference to this object.

Member Data Documentation

◆ descs

DescriptorList ts::AbstractTable::EntryWithDescriptors::descs

List of descriptors for this entry, publicly accessible.

◆ order_hint

size_t ts::AbstractTable::AttachedEntry::order_hint
inherited

Preferred insertion index when serializing the table or NPOS if unspecified. This is an informational hint which can be used or ignored.


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