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

#include <dvbdescriptors.h>

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

Public Member Functions

 ExtendedEventDescriptor (const unsigned char *data, int len=300)
 
uint DescriptorNumber (void) const
 
uint LastNumber (void) const
 
int LanguageKey (void) const
 
QString LanguageString (void) const
 
int CanonicalLanguageKey (void) const
 
QString CanonicalLanguageString (void) const
 
uint LengthOfItems (void) const
 
QMap< QString, QString > Items (void) const
 
uint TextLength (void) const
 
QString Text (void) const
 
QString Text (const unsigned char *encoding_override, uint encoding_length) const
 
- 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
 
QString DescriptorTagString (void) const
 
uint DescriptorLength (void) const
 
virtual QString toString (void) const
 
virtual QString toStringXML (uint indent_level) const
 Returns XML representation of string the TS Reader XML format. More...
 
QString hexdump (void) 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 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 * _data
 

Detailed Description

Definition at line 1054 of file dvbdescriptors.h.

Constructor & Destructor Documentation

◆ ExtendedEventDescriptor()

ExtendedEventDescriptor::ExtendedEventDescriptor ( const unsigned char *  data,
int  len = 300 
)
inline

Definition at line 1057 of file dvbdescriptors.h.

Member Function Documentation

◆ DescriptorNumber()

uint ExtendedEventDescriptor::DescriptorNumber ( void  ) const
inline

Definition at line 1064 of file dvbdescriptors.h.

◆ LastNumber()

uint ExtendedEventDescriptor::LastNumber ( void  ) const
inline

Definition at line 1066 of file dvbdescriptors.h.

◆ LanguageKey()

int ExtendedEventDescriptor::LanguageKey ( void  ) const
inline

◆ LanguageString()

QString ExtendedEventDescriptor::LanguageString ( void  ) const
inline

Definition at line 1070 of file dvbdescriptors.h.

◆ CanonicalLanguageKey()

int ExtendedEventDescriptor::CanonicalLanguageKey ( void  ) const
inline

Definition at line 1072 of file dvbdescriptors.h.

Referenced by CanonicalLanguageString(), and MPEGDescriptor::FindBestMatches().

◆ CanonicalLanguageString()

QString ExtendedEventDescriptor::CanonicalLanguageString ( void  ) const
inline

Definition at line 1074 of file dvbdescriptors.h.

◆ LengthOfItems()

uint ExtendedEventDescriptor::LengthOfItems ( void  ) const
inline

Definition at line 1077 of file dvbdescriptors.h.

Referenced by Items(), Text(), and TextLength().

◆ Items()

QMap< QString, QString > ExtendedEventDescriptor::Items ( void  ) const

Definition at line 693 of file dvbdescriptors.cpp.

Referenced by parse_dvb_event_descriptors().

◆ TextLength()

uint ExtendedEventDescriptor::TextLength ( void  ) const
inline

Definition at line 1087 of file dvbdescriptors.h.

Referenced by Text().

◆ Text() [1/2]

QString ExtendedEventDescriptor::Text ( void  ) const
inline

Definition at line 1089 of file dvbdescriptors.h.

Referenced by parse_dvb_event_descriptors().

◆ Text() [2/2]

QString ExtendedEventDescriptor::Text ( const unsigned char *  encoding_override,
uint  encoding_length 
) const
inline

Definition at line 1093 of file dvbdescriptors.h.


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