![]() |
TSDuck v3.42-4331
MPEG Transport Stream Toolkit
|
Base inner class for table entries with one descriptor list. More...
#include <tsAbstractTable.h>
Public Member Functions | |
EntryWithDescriptors (const AbstractTable *table) | |
Basic constructor. | |
EntryWithDescriptors (const AbstractTable *table, const EntryWithDescriptors &other) | |
Basic copy-like constructor. | |
EntryWithDescriptors (const AbstractTable *table, EntryWithDescriptors &&other) | |
Basic move-like constructor. | |
EntryWithDescriptors & | operator= (const EntryWithDescriptors &other) |
Assignment operator. | |
EntryWithDescriptors & | operator= (EntryWithDescriptors &&other) noexcept |
Move assignment operator. | |
Public Attributes | |
DescriptorList | descs |
List of descriptors for this entry, publicly accessible. | |
size_t | order_hint |
Preferred insertion index when serializing the table or NPOS if unspecified. | |
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.
|
explicit |
Basic constructor.
[in] | table | Parent table. A descriptor list is always attached to a table. |
ts::AbstractTable::EntryWithDescriptors::EntryWithDescriptors | ( | const AbstractTable * | table, |
const EntryWithDescriptors & | other | ||
) |
Basic copy-like constructor.
[in] | table | Parent table. A descriptor list is always attached to a table. |
[in] | other | Another instance to copy. |
ts::AbstractTable::EntryWithDescriptors::EntryWithDescriptors | ( | const AbstractTable * | table, |
EntryWithDescriptors && | other | ||
) |
Basic move-like constructor.
[in] | table | Parent table. A descriptor list is always attached to a table. |
[in,out] | other | Another instance to move. |
EntryWithDescriptors & ts::AbstractTable::EntryWithDescriptors::operator= | ( | const EntryWithDescriptors & | other | ) |
Assignment operator.
The parent table remains unchanged.
[in] | other | Another instance to copy. |
|
noexcept |
Move assignment operator.
The parent table remains unchanged.
[in,out] | other | Another instance to move. |
|
inherited |
Preferred insertion index when serializing the table or NPOS if unspecified.
This is an informational hint which can be used or ignored.