TSDuck v3.40-3963
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
tsSectionFormat.h File Reference

Definition of the storage formats for PSI/SI sections and tables. More...

Namespaces

namespace  ts
 TSDuck namespace, containing all TSDuck classes and functions.
 

Enumerations

enum class  ts::SectionFormat {
  ts::UNSPECIFIED ,
  ts::BINARY ,
  ts::XML ,
  ts::JSON
}
 Storage formats for PSI/SI sections and tables. More...
 

Functions

fs::path ts::BuildSectionFileName (const fs::path &file_name, SectionFormat type)
 Build a section file name, based on a file type.
 
SectionFormat ts::GetSectionFileFormat (const UString &file_name, SectionFormat type=SectionFormat::UNSPECIFIED)
 Get a section file type, based on a file name.
 

Variables

constexpr const UCharts::DEFAULT_BINARY_FILE_SUFFIX = u".bin"
 Default file name suffix for binary section files.
 
constexpr const UCharts::DEFAULT_JSON_FILE_SUFFIX = u".json"
 Default file name suffix for JSON section files.
 
constexpr const UCharts::DEFAULT_XML_FILE_SUFFIX = u".xml"
 Default file name suffix for XML section files.
 
const SectionFormatEnumWrapper ts::SectionFormatEnum
 Enumeration description of ts::SectionFormat.
 
const SpecifiedSectionFormatEnumWrapper ts::SpecifiedSectionFormatEnum
 Enumeration description of ts::SectionFormat, excluding ts::SectionFormat::UNSPECIFIED.
 

Detailed Description

Definition of the storage formats for PSI/SI sections and tables.