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

#include <dvbdescriptors.h>

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

Public Member Functions

 ServiceDescriptor (const unsigned char *data, int len=300)
 
uint ServiceType (void) const
 
uint ServiceProviderNameLength (void) const
 
QString ServiceProviderName (void) const
 
QString ServiceProviderShortName (void) const
 
uint ServiceNameLength (void) const
 
QString ServiceName (void) const
 
QString ServiceShortName (void) const
 
bool IsDTV (void) const
 
bool IsDigitalAudio (void) const
 
bool IsHDTV (void) const
 
bool IsTeletext (void) 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 1550 of file dvbdescriptors.h.

Constructor & Destructor Documentation

◆ ServiceDescriptor()

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

Definition at line 1553 of file dvbdescriptors.h.

Member Function Documentation

◆ ServiceType()

uint ServiceDescriptor::ServiceType ( void  ) const
inline

Definition at line 1560 of file dvbdescriptors.h.

Referenced by IsDigitalAudio(), IsDTV(), IsHDTV(), IsTeletext(), and toString().

◆ ServiceProviderNameLength()

uint ServiceDescriptor::ServiceProviderNameLength ( void  ) const
inline

◆ ServiceProviderName()

QString ServiceDescriptor::ServiceProviderName ( void  ) const
inline

Definition at line 1564 of file dvbdescriptors.h.

◆ ServiceProviderShortName()

QString ServiceDescriptor::ServiceProviderShortName ( void  ) const
inline

Definition at line 1566 of file dvbdescriptors.h.

◆ ServiceNameLength()

uint ServiceDescriptor::ServiceNameLength ( void  ) const
inline

Definition at line 1571 of file dvbdescriptors.h.

Referenced by ServiceName(), and ServiceShortName().

◆ ServiceName()

QString ServiceDescriptor::ServiceName ( void  ) const
inline

Definition at line 1574 of file dvbdescriptors.h.

Referenced by toString(), and update_info().

◆ ServiceShortName()

QString ServiceDescriptor::ServiceShortName ( void  ) const
inline

Definition at line 1579 of file dvbdescriptors.h.

Referenced by update_info().

◆ IsDTV()

bool ServiceDescriptor::IsDTV ( void  ) const
inline

Definition at line 1584 of file dvbdescriptors.h.

Referenced by update_info().

◆ IsDigitalAudio()

bool ServiceDescriptor::IsDigitalAudio ( void  ) const
inline

Definition at line 1586 of file dvbdescriptors.h.

Referenced by update_info().

◆ IsHDTV()

bool ServiceDescriptor::IsHDTV ( void  ) const
inline

Definition at line 1588 of file dvbdescriptors.h.

◆ IsTeletext()

bool ServiceDescriptor::IsTeletext ( void  ) const
inline

Definition at line 1590 of file dvbdescriptors.h.

◆ toString()

QString ServiceDescriptor::toString ( void  ) const
inlineoverridevirtual

Reimplemented from MPEGDescriptor.

Definition at line 1593 of file dvbdescriptors.h.


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