TSDuck v3.38-3707
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::TSDumpArgs Class Reference

Command line arguments for transport stream packets dump. More...

#include <tsTSDumpArgs.h>

Public Member Functions

 TSDumpArgs ()=default
 Default constructor.
 
void defineArgs (Args &args)
 Add command line option definitions in an Args.
 
bool loadArgs (DuckContext &duck, Args &args)
 Load arguments from command line.
 

Public Attributes

uint32_t dump_flags = 0
 Dump options for Hexa and Packet::dump.
 
bool log = false
 Option --log.
 
size_t log_size = 0
 Size to display with --log.
 
PIDSet pids {}
 PID values to dump.
 

Detailed Description

Command line arguments for transport stream packets dump.

Member Function Documentation

◆ defineArgs()

void ts::TSDumpArgs::defineArgs ( Args args)

Add command line option definitions in an Args.

Parameters
[in,out]argsCommand line arguments to update.

◆ loadArgs()

bool ts::TSDumpArgs::loadArgs ( DuckContext duck,
Args args 
)

Load arguments from command line.

Args error indicator is set in case of incorrect arguments.

Parameters
[in,out]duckTSDuck execution context.
[in,out]argsCommand line arguments.
Returns
True on success, false on error in argument line.

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