TSDuck  v3.39-3902
MPEG Transport Stream Toolkit
tsSectionFormat.h File Reference

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

Namespaces

 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. More...
 
SectionFormat ts::GetSectionFileFormat (const UString &file_name, SectionFormat type=SectionFormat::UNSPECIFIED)
 Get a section file type, based on a file name. More...
 

Variables

constexpr const UChar * ts::DEFAULT_BINARY_FILE_SUFFIX = u".bin"
 Default file name suffix for binary section files.
 
constexpr const UChar * ts::DEFAULT_JSON_FILE_SUFFIX = u".json"
 Default file name suffix for JSON section files.
 
constexpr const UChar * ts::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. More...
 

Detailed Description

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