TSDuck  v3.35-3218
MPEG Transport Stream Toolkit
ts::PluginOptions Class Reference

Command-line options for one plugin. More...

Collaboration diagram for ts::PluginOptions:

Public Member Functions

 PluginOptions (const UString &name=UString(), const UStringVector &args=UStringVector())
 Default constructor. More...
 
void clear ()
 Clear the content of the options.
 
void set (const UString &name, const UStringVector &args=UStringVector())
 Set values. More...
 
UString toString (PluginType type) const
 Format the options as a string. More...
 

Public Attributes

UStringVector args
 Plugin options.
 
UString name
 Plugin name.
 

Detailed Description

Command-line options for one plugin.

Constructor & Destructor Documentation

◆ PluginOptions()

ts::PluginOptions::PluginOptions ( const UString name = UString(),
const UStringVector args = UStringVector() 
)

Default constructor.

Parameters
[in]namePlugin name.
[in]argsPlugin arguments.

Member Function Documentation

◆ set()

void ts::PluginOptions::set ( const UString name,
const UStringVector args = UStringVector() 
)

Set values.

Parameters
[in]namePlugin name.
[in]argsPlugin arguments.

◆ toString()

UString ts::PluginOptions::toString ( PluginType  type) const

Format the options as a string.

Parameters
[in]typePlugin type.
Returns
The command line equivalent.

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