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

#include <dvbdescriptors.h>

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

Public Member Functions

 TeletextDescriptor (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 TeletextType (uint i) const
 
uint TeletextMagazineNum (uint i) const
 
uint TeletextPageNum (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 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 2299 of file dvbdescriptors.h.

Constructor & Destructor Documentation

◆ TeletextDescriptor()

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

Definition at line 2302 of file dvbdescriptors.h.

Member Function Documentation

◆ StreamCount()

uint TeletextDescriptor::StreamCount ( void  ) const
inline

Definition at line 2308 of file dvbdescriptors.h.

Referenced by AvFormatDecoder::ScanTeletextCaptions(), and toString().

◆ LanguageKey()

int TeletextDescriptor::LanguageKey ( uint  i) const
inline

Definition at line 2313 of file dvbdescriptors.h.

Referenced by CanonicalLanguageKey(), and LanguageString().

◆ LanguageString()

QString TeletextDescriptor::LanguageString ( uint  i) const
inline

Definition at line 2315 of file dvbdescriptors.h.

Referenced by toString().

◆ CanonicalLanguageKey()

int TeletextDescriptor::CanonicalLanguageKey ( uint  i) const
inline

◆ CanonicalLanguageString()

QString TeletextDescriptor::CanonicalLanguageString ( uint  i) const
inline

Definition at line 2319 of file dvbdescriptors.h.

◆ TeletextType()

uint TeletextDescriptor::TeletextType ( uint  i) const
inline

Definition at line 2322 of file dvbdescriptors.h.

Referenced by AvFormatDecoder::ScanTeletextCaptions(), and toString().

◆ TeletextMagazineNum()

uint TeletextDescriptor::TeletextMagazineNum ( uint  i) const
inline

Definition at line 2325 of file dvbdescriptors.h.

Referenced by AvFormatDecoder::ScanTeletextCaptions(), and toString().

◆ TeletextPageNum()

uint TeletextDescriptor::TeletextPageNum ( uint  i) const
inline

Definition at line 2328 of file dvbdescriptors.h.

Referenced by AvFormatDecoder::ScanTeletextCaptions(), and toString().

◆ toString()

QString TeletextDescriptor::toString ( void  ) const
overridevirtual

Reimplemented from MPEGDescriptor.

Definition at line 535 of file dvbdescriptors.cpp.


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