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

A class to register additional names files to merge with the TSDuck names file. More...

#include <tsNamesFile.h>

Public Member Functions

 RegisterExtensionFile (const UString &file_name)
 Register an additional names file.
 

Detailed Description

A class to register additional names files to merge with the TSDuck names file.

The registration is performed using constructors. Thus, it is possible to perform a registration in the declaration of a static object.

Constructor & Destructor Documentation

◆ RegisterExtensionFile()

ts::NamesFile::RegisterExtensionFile::RegisterExtensionFile ( const UString file_name)

Register an additional names file.

This file will be merged with the main names files.

Parameters
[in]file_nameName of the names file. This should be a simple file name, without directory. This file will be searched in the same directory as the executable, then in all directories from $TSPLUGINS_PATH, then from $LD_LIBRARY_PATH (Linux only), then from $PATH.
See also
TS_REGISTER_NAMES_FILE

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