TSDuck v3.40-3963
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::DeliverySystemSet Class Reference

A set of delivery system values (ts::DeliverySystem). More...

#include <tsDeliverySystem.h>

Inheritance diagram for ts::DeliverySystemSet:
Collaboration diagram for ts::DeliverySystemSet:

Public Types

using SuperClass = std::set< DeliverySystem >
 Explicit reference to superclass.
 

Public Member Functions

bool contains (DeliverySystem ds) const
 Check if a delivery system is present in the set.
 
void insertAll (TunerType type)
 Insert all delivery systems which are supported by a given tuner type.
 
DeliverySystem preferred () const
 Get the "preferred" delivery system in the set.
 
Standards standards () const
 Get the list of standards for the set of delivery systems.
 
DeliverySystemList toList () const
 Return the content of the set in decreasing order of preference.
 
virtual UString toString () const override
 Convert to a string object.
 

Detailed Description

A set of delivery system values (ts::DeliverySystem).

Typically used to indicate the list of standards which are supported by a tuner.

Member Function Documentation

◆ contains()

bool ts::DeliverySystemSet::contains ( DeliverySystem  ds) const
inline

Check if a delivery system is present in the set.

Parameters
[in]dsThe delivery system to check.
Returns
True if the specified delivery system is present.

◆ insertAll()

void ts::DeliverySystemSet::insertAll ( TunerType  type)

Insert all delivery systems which are supported by a given tuner type.

Parameters
[in]typeTuner type

◆ preferred()

DeliverySystem ts::DeliverySystemSet::preferred ( ) const

Get the "preferred" delivery system in the set.

This can be used as default delivery system for a tuner.

Returns
The "preferred" delivery system in the set.

◆ toList()

DeliverySystemList ts::DeliverySystemSet::toList ( ) const

Return the content of the set in decreasing order of preference.

Returns
A list of all delivery systems in the set, in decreasing order of preference.

◆ standards()

Standards ts::DeliverySystemSet::standards ( ) const

Get the list of standards for the set of delivery systems.

Returns
Corresponding standards.

◆ toString()

virtual UString ts::DeliverySystemSet::toString ( ) const
overridevirtual

Convert to a string object.

Returns
This object, converted as a string.

Implements ts::StringifyInterface.


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