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

Command line arguments for section file processing. More...

#include <tsSectionFileArgs.h>

Collaboration diagram for ts::SectionFileArgs:

Public Member Functions

 SectionFileArgs ()=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.
 
bool processSectionFile (SectionFile &file, Report &report) const
 Process the content of a section file according to the selected options.
 

Public Attributes

Time eit_base_time {}
 Last midnight reference for EIT normalization.
 
bool eit_normalize = false
 EIT normalization (ETSI TS 101 211).
 
EITOptions eit_options {EITOptions::GEN_ALL}
 EIT normalization options.
 
bool pack_and_flush = false
 Pack and flush incomplete tables before exiting.
 

Detailed Description

Command line arguments for section file processing.

Member Function Documentation

◆ defineArgs()

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

Add command line option definitions in an Args.

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

◆ loadArgs()

bool ts::SectionFileArgs::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.

◆ processSectionFile()

bool ts::SectionFileArgs::processSectionFile ( SectionFile file,
Report report 
) const

Process the content of a section file according to the selected options.

Parameters
[in,out]fileSection file to manipulate.
[in,out]reportWhere to report errors.
Returns
True on success, false on failure.

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