MythTV  master
Public Member Functions | List of all members
ISO639LanguageDescriptor Class Reference

#include <mpegdescriptors.h>

Inheritance diagram for ISO639LanguageDescriptor:
Inheritance graph
[legend]
Collaboration diagram for ISO639LanguageDescriptor:
Collaboration graph
[legend]

Public Member Functions

 ISO639LanguageDescriptor (const unsigned char *data, int len=300)
 
const unsigned char * CodeRaw () const
 
uint AudioType () const
 
int LanguageKey (void) const
 
QString LanguageString (void) const
 
int CanonicalLanguageKey (void) const
 
QString CanonicalLanguageString (void) const
 
QString toString () const override
 
- Public Member Functions inherited from MPEGDescriptor
 operator const unsigned char * () const
 
 MPEGDescriptor (const unsigned char *data, int len=300)
 
 MPEGDescriptor (const unsigned char *data, int len, uint tag)
 
 MPEGDescriptor (const unsigned char *data, int len, uint tag, uint req_desc_len)
 
virtual ~MPEGDescriptor ()=default
 
bool IsValid (void) const
 
uint size (void) const
 
uint DescriptorTag (void) const
 
uint DescriptorLength (void) const
 
uint DescriptorTagExtension (void) const
 
QString DescriptorTagString (void) const
 
virtual QString toStringPD (uint priv_dsid) const
 
virtual QString toStringXML (uint indent_level) const
 Returns XML representation of string the TS Reader XML format. More...
 
QString hexdump (void) const
 
QString descrDump (const QString &name) const
 

Additional Inherited Members

- Static Public Member Functions inherited from MPEGDescriptor
static desc_list_t Parse (const unsigned char *data, uint len)
 
static desc_list_t ParseAndExclude (const unsigned char *data, uint len, int excluded_descid)
 
static desc_list_t ParseOnlyInclude (const unsigned char *data, uint len, int excluded_descid)
 
static const unsigned char * Find (const desc_list_t &parsed, uint desc_tag)
 
static const unsigned char * FindExtension (const desc_list_t &parsed, uint desc_tag)
 
static desc_list_t FindAll (const desc_list_t &parsed, uint desc_tag)
 
static const unsigned char * FindBestMatch (const desc_list_t &parsed, uint desc_tag, QMap< uint, uint > &langPref)
 
static desc_list_t FindBestMatches (const desc_list_t &parsed, uint desc_tag, QMap< uint, uint > &langPref)
 
- Protected Attributes inherited from MPEGDescriptor
const unsigned char * m_data
 

Detailed Description

Definition at line 395 of file mpegdescriptors.h.

Constructor & Destructor Documentation

◆ ISO639LanguageDescriptor()

ISO639LanguageDescriptor::ISO639LanguageDescriptor ( const unsigned char *  data,
int  len = 300 
)
inlineexplicit

Definition at line 398 of file mpegdescriptors.h.

Member Function Documentation

◆ CodeRaw()

const unsigned char* ISO639LanguageDescriptor::CodeRaw ( ) const
inline

Definition at line 401 of file mpegdescriptors.h.

◆ AudioType()

uint ISO639LanguageDescriptor::AudioType ( ) const
inline

Definition at line 402 of file mpegdescriptors.h.

Referenced by ProgramMapTable::GetAudioType().

◆ LanguageKey()

int ISO639LanguageDescriptor::LanguageKey ( void  ) const
inline

Definition at line 404 of file mpegdescriptors.h.

◆ LanguageString()

QString ISO639LanguageDescriptor::LanguageString ( void  ) const
inline

Definition at line 406 of file mpegdescriptors.h.

Referenced by ProgramMapTable::GetAudioType(), and toString().

◆ CanonicalLanguageKey()

int ISO639LanguageDescriptor::CanonicalLanguageKey ( void  ) const
inline

Definition at line 408 of file mpegdescriptors.h.

Referenced by toString().

◆ CanonicalLanguageString()

QString ISO639LanguageDescriptor::CanonicalLanguageString ( void  ) const
inline

Definition at line 410 of file mpegdescriptors.h.

Referenced by ProgramMapTable::GetLanguage(), and toString().

◆ toString()

QString ISO639LanguageDescriptor::toString ( void  ) const
overridevirtual

Reimplemented from MPEGDescriptor.

Definition at line 799 of file mpegdescriptors.cpp.


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