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

#include <dvbdescriptors.h>

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

Public Member Functions

 SubtitlingDescriptor (const unsigned char *data, int len=300)
 
uint StreamCount (void) const
 
int LanguageKey (uint i) const
 
QString LanguageString (uint i) const
 
int CanonicalLanguageKey (uint i) const
 
QString CanonicalLanguageString (uint i) const
 
uint SubtitleType (uint i) const
 
uint CompositionPageID (uint i) const
 
uint AncillaryPageID (uint i) const
 
QString toString (void) const override
 
- Public Member Functions inherited from MPEGDescriptor
 operator const unsigned char * () const
 
 MPEGDescriptor (const unsigned char *data, int len=300)
 
 MPEGDescriptor (const std::vector< uint8_t > &data)
 
 MPEGDescriptor (const unsigned char *data, int len, uint tag)
 
 MPEGDescriptor (const std::vector< uint8_t > &data, 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 2268 of file dvbdescriptors.h.

Constructor & Destructor Documentation

◆ SubtitlingDescriptor()

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

Definition at line 2271 of file dvbdescriptors.h.

Member Function Documentation

◆ StreamCount()

uint SubtitlingDescriptor::StreamCount ( void  ) const
inline

Definition at line 2277 of file dvbdescriptors.h.

Referenced by toString().

◆ LanguageKey()

int SubtitlingDescriptor::LanguageKey ( uint  i) const
inline

Definition at line 2281 of file dvbdescriptors.h.

Referenced by CanonicalLanguageKey(), and LanguageString().

◆ LanguageString()

QString SubtitlingDescriptor::LanguageString ( uint  i) const
inline

Definition at line 2283 of file dvbdescriptors.h.

Referenced by toString().

◆ CanonicalLanguageKey()

int SubtitlingDescriptor::CanonicalLanguageKey ( uint  i) const
inline

Definition at line 2285 of file dvbdescriptors.h.

Referenced by CanonicalLanguageString().

◆ CanonicalLanguageString()

QString SubtitlingDescriptor::CanonicalLanguageString ( uint  i) const
inline

Definition at line 2287 of file dvbdescriptors.h.

◆ SubtitleType()

uint SubtitlingDescriptor::SubtitleType ( uint  i) const
inline

Definition at line 2291 of file dvbdescriptors.h.

Referenced by toString().

◆ CompositionPageID()

uint SubtitlingDescriptor::CompositionPageID ( uint  i) const
inline

Definition at line 2294 of file dvbdescriptors.h.

Referenced by toString().

◆ AncillaryPageID()

uint SubtitlingDescriptor::AncillaryPageID ( uint  i) const
inline

Definition at line 2297 of file dvbdescriptors.h.

Referenced by toString().

◆ toString()

QString SubtitlingDescriptor::toString ( void  ) const
overridevirtual

Reimplemented from MPEGDescriptor.

Definition at line 579 of file dvbdescriptors.cpp.


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