MythTV  master
Public Member Functions | Static Private Member Functions | Static Private Attributes | List of all members
RegistrationDescriptor Class Reference

#include <mpegdescriptors.h>

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

Public Member Functions

 RegistrationDescriptor (const unsigned char *data, int len=300)
 
uint FormatIdentifier (void) const
 
QString FormatIdentifierString (void) const
 
QString toString () 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 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
 

Static Private Member Functions

static void InitializeDescriptionMap (void)
 
static QString GetDescription (const QString &fmt)
 

Static Private Attributes

static QMutex description_map_lock
 
static bool description_map_initialized = false
 
static QMap< QString, QString > description_map
 

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 321 of file mpegdescriptors.h.

Constructor & Destructor Documentation

◆ RegistrationDescriptor()

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

Definition at line 324 of file mpegdescriptors.h.

Member Function Documentation

◆ FormatIdentifier()

uint RegistrationDescriptor::FormatIdentifier ( void  ) const
inline

Definition at line 333 of file mpegdescriptors.h.

◆ FormatIdentifierString()

QString RegistrationDescriptor::FormatIdentifierString ( void  ) const
inline

◆ toString()

QString RegistrationDescriptor::toString ( void  ) const
overridevirtual

Reimplemented from MPEGDescriptor.

Definition at line 638 of file mpegdescriptors.cpp.

◆ InitializeDescriptionMap()

void RegistrationDescriptor::InitializeDescriptionMap ( void  )
staticprivate

Definition at line 567 of file mpegdescriptors.cpp.

Referenced by GetDescription().

◆ GetDescription()

QString RegistrationDescriptor::GetDescription ( const QString &  fmt)
staticprivate

Definition at line 623 of file mpegdescriptors.cpp.

Referenced by toString().

Member Data Documentation

◆ description_map_lock

QMutex RegistrationDescriptor::description_map_lock
staticprivate

Definition at line 347 of file mpegdescriptors.h.

Referenced by GetDescription(), and InitializeDescriptionMap().

◆ description_map_initialized

bool RegistrationDescriptor::description_map_initialized = false
staticprivate

Definition at line 348 of file mpegdescriptors.h.

Referenced by InitializeDescriptionMap().

◆ description_map

QMap< QString, QString > RegistrationDescriptor::description_map
staticprivate

Definition at line 349 of file mpegdescriptors.h.

Referenced by GetDescription(), and InitializeDescriptionMap().


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