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

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

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

Public Types

typedef std::set< DeliverySystemSuperClass
 Explicit reference to superclass.
 

Public Member Functions

bool contains (DeliverySystem ds) const
 Check if a delivery system is present in the set. More...
 
DeliverySystem preferred () const
 Get the "preferred" delivery system in the set. More...
 
Standards standards () const
 Get the list of standards for the set of delivery systems. More...
 
DeliverySystemList toList () const
 Return the content of the set in decreasing order of preference. More...
 
virtual UString toString () const override
 Convert to a string object. More...
 

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.

◆ 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: