TSDuck v3.40-3963
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::ISO639LanguageDescriptor::Entry Struct Reference

Language entry. More...

#include <tsISO639LanguageDescriptor.h>

Collaboration diagram for ts::ISO639LanguageDescriptor::Entry:

Public Member Functions

 Entry (const UChar *code=nullptr, uint8_t type=0)
 Default constructor.
 
 Entry (const UString &code, uint8_t type)
 Constructor.
 
UString audioTypeName (NamesFlags flags=NamesFlags::NAME) const
 Get a string representing the audio type.
 

Public Attributes

uint8_t audio_type = 0
 Audio type.
 
UString language_code {}
 ISO-639 language code, 3 characters.
 

Detailed Description

Language entry.

Constructor & Destructor Documentation

◆ Entry() [1/2]

ts::ISO639LanguageDescriptor::Entry::Entry ( const UChar code = nullptr,
uint8_t  type = 0 
)

Default constructor.

Parameters
[in]codeISO-639 language code, 3 characters, as a C-string. Can be null.
[in]typeAudio type.

◆ Entry() [2/2]

ts::ISO639LanguageDescriptor::Entry::Entry ( const UString code,
uint8_t  type 
)

Constructor.

Parameters
[in]codeISO-639 language code, 3 characters, as a C++ string.
[in]typeAudio type.

Member Function Documentation

◆ audioTypeName()

UString ts::ISO639LanguageDescriptor::Entry::audioTypeName ( NamesFlags  flags = NamesFlags::NAME) const

Get a string representing the audio type.

Parameters
[in]flagsPresentation flags.
Returns
A string representing the audio type.

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