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

#include <dvbdescriptors.h>

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

Public Member Functions

 ShortEventDescriptor (const unsigned char *data, int len=300)
 
int LanguageKey (void) const
 
QString LanguageString (void) const
 
int CanonicalLanguageKey (void) const
 
QString CanonicalLanguageString (void) const
 
uint EventNameLength (void) const
 
QString EventName (void) const
 
QString EventShortName (void) const
 
uint TextLength (void) const
 
QString Text (void) const
 
QString EventName (const unsigned char *encoding_override, uint encoding_length) const
 
QString Text (const unsigned char *encoding_override, uint encoding_length) 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
 
QString DescriptorTagString (void) const
 
uint DescriptorLength (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 1669 of file dvbdescriptors.h.

Constructor & Destructor Documentation

◆ ShortEventDescriptor()

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

Definition at line 1672 of file dvbdescriptors.h.

Member Function Documentation

◆ LanguageKey()

int ShortEventDescriptor::LanguageKey ( void  ) const
inline

Definition at line 1679 of file dvbdescriptors.h.

Referenced by CanonicalLanguageKey(), and LanguageString().

◆ LanguageString()

QString ShortEventDescriptor::LanguageString ( void  ) const
inline

Definition at line 1681 of file dvbdescriptors.h.

Referenced by toString().

◆ CanonicalLanguageKey()

int ShortEventDescriptor::CanonicalLanguageKey ( void  ) const
inline

Definition at line 1683 of file dvbdescriptors.h.

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

◆ CanonicalLanguageString()

QString ShortEventDescriptor::CanonicalLanguageString ( void  ) const
inline

Definition at line 1685 of file dvbdescriptors.h.

◆ EventNameLength()

uint ShortEventDescriptor::EventNameLength ( void  ) const
inline

Definition at line 1688 of file dvbdescriptors.h.

◆ EventName() [1/2]

QString ShortEventDescriptor::EventName ( void  ) const
inline

Definition at line 1690 of file dvbdescriptors.h.

Referenced by parse_dvb_event_descriptors(), and toString().

◆ EventShortName()

QString ShortEventDescriptor::EventShortName ( void  ) const
inline

Definition at line 1692 of file dvbdescriptors.h.

◆ TextLength()

uint ShortEventDescriptor::TextLength ( void  ) const
inline

Definition at line 1695 of file dvbdescriptors.h.

Referenced by Text().

◆ Text() [1/2]

QString ShortEventDescriptor::Text ( void  ) const
inline

Definition at line 1697 of file dvbdescriptors.h.

Referenced by parse_dvb_event_descriptors(), and toString().

◆ EventName() [2/2]

QString ShortEventDescriptor::EventName ( const unsigned char *  encoding_override,
uint  encoding_length 
) const
inline

Definition at line 1701 of file dvbdescriptors.h.

◆ Text() [2/2]

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

Definition at line 1708 of file dvbdescriptors.h.

◆ toString()

QString ShortEventDescriptor::toString ( void  ) const
inlineoverridevirtual

Reimplemented from MPEGDescriptor.

Definition at line 1716 of file dvbdescriptors.h.


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