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

Freesat Region descriptor. More...

#include <dvbdescriptors.h>

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

Public Member Functions

 FreesatRegionDescriptor (const unsigned char *data, int len=300)
 
uint RegionCount (void) const
 
int RegionID (uint i) const
 
const QString Language (uint i) const
 
const QString RegionName (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
 
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 (QString name) const
 

Private Attributes

desc_list_t entries
 

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

Freesat Region descriptor.

BAT descriptor ID 0xd4 (Private Extension)

Region table

https://blog.nexusuk.org/2014/07/decoding-freesat-part-2.html

Definition at line 2196 of file dvbdescriptors.h.

Constructor & Destructor Documentation

◆ FreesatRegionDescriptor()

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

Definition at line 2199 of file dvbdescriptors.h.

Member Function Documentation

◆ RegionCount()

uint FreesatRegionDescriptor::RegionCount ( void  ) const
inline

Definition at line 2226 of file dvbdescriptors.h.

Referenced by toString().

◆ RegionID()

int FreesatRegionDescriptor::RegionID ( uint  i) const
inline

Definition at line 2229 of file dvbdescriptors.h.

Referenced by toString().

◆ Language()

const QString FreesatRegionDescriptor::Language ( uint  i) const
inline

Definition at line 2232 of file dvbdescriptors.h.

Referenced by toString().

◆ RegionName()

const QString FreesatRegionDescriptor::RegionName ( uint  i) const
inline

Definition at line 2235 of file dvbdescriptors.h.

Referenced by toString().

◆ toString()

QString FreesatRegionDescriptor::toString ( void  ) const
overridevirtual

Reimplemented from MPEGDescriptor.

Definition at line 648 of file dvbdescriptors.cpp.

Member Data Documentation

◆ entries

desc_list_t FreesatRegionDescriptor::entries
private

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