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

#include <dvbdescriptors.h>

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

Public Types

enum  { kCodingTypeNotDefined = 0x0, kCodingTypeSatellite = 0x1, kCodingTypeCable = 0x2, kCodingTypeTerrestrial = 0x3 }
 

Public Member Functions

 FrequencyListDescriptor (const unsigned char *data, int len=300)
 
uint CodingType (void) const
 
uint FrequencyCount () const
 
unsigned long long Frequency (uint i) const
 
unsigned long long FrequencyHz (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 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 1103 of file dvbdescriptors.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kCodingTypeNotDefined 
kCodingTypeSatellite 
kCodingTypeCable 
kCodingTypeTerrestrial 

Definition at line 1114 of file dvbdescriptors.h.

Constructor & Destructor Documentation

◆ FrequencyListDescriptor()

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

Definition at line 1106 of file dvbdescriptors.h.

Member Function Documentation

◆ CodingType()

uint FrequencyListDescriptor::CodingType ( void  ) const
inline

Definition at line 1121 of file dvbdescriptors.h.

Referenced by Frequency(), and FrequencyHz().

◆ FrequencyCount()

uint FrequencyListDescriptor::FrequencyCount ( ) const
inline

Definition at line 1126 of file dvbdescriptors.h.

Referenced by toString().

◆ Frequency()

unsigned long long FrequencyListDescriptor::Frequency ( uint  i) const
inline

Definition at line 1127 of file dvbdescriptors.h.

Referenced by FrequencyHz().

◆ FrequencyHz()

unsigned long long FrequencyListDescriptor::FrequencyHz ( uint  i) const
inline

Definition at line 1138 of file dvbdescriptors.h.

Referenced by toString().

◆ toString()

QString FrequencyListDescriptor::toString ( void  ) const
overridevirtual

Reimplemented from MPEGDescriptor.

Definition at line 490 of file dvbdescriptors.cpp.


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