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

#include <atscdescriptors.h>

Public Member Functions

 MultipleStringStructure (const unsigned char *data)
 
uint StringCount (void) const
 
int LanguageKey (uint i) const
 
QString LanguageString (uint i) const
 
int CanonicalLanguageKey (uint i) const
 
QString CanonicalLanguageString (uint i) const
 
uint SegmentCount (uint i) const
 
uint CompressionType (uint i, uint j) const
 
QString CompressionTypeString (uint i, uint j) const
 
int Mode (int i, int j) const
 
int Bytes (int i, int j) const
 
uint GetIndexOfBestMatch (QMap< uint, uint > &langPrefs) const
 
QString GetBestMatch (QMap< uint, uint > &langPrefs) const
 
QString GetSegment (uint i, uint j) const
 
QString GetFullString (uint i) const
 
void Parse (void) const
 
QString toString () const
 

Private Member Functions

const unsigned char * Offset (int i, int j) const
 

Static Private Member Functions

static QString Uncompressed (const unsigned char *buf, int len, int mode)
 
static uint Index (int i, int j)
 

Private Attributes

const unsigned char * _data
 
IntToBuf _ptrs
 

Detailed Description

Definition at line 18 of file atscdescriptors.h.

Constructor & Destructor Documentation

◆ MultipleStringStructure()

MultipleStringStructure::MultipleStringStructure ( const unsigned char *  data)
inlineexplicit

Definition at line 21 of file atscdescriptors.h.

Member Function Documentation

◆ StringCount()

uint MultipleStringStructure::StringCount ( void  ) const
inline

◆ LanguageKey()

int MultipleStringStructure::LanguageKey ( uint  i) const
inline

Definition at line 29 of file atscdescriptors.h.

◆ LanguageString()

QString MultipleStringStructure::LanguageString ( uint  i) const
inline

Definition at line 31 of file atscdescriptors.h.

◆ CanonicalLanguageKey()

int MultipleStringStructure::CanonicalLanguageKey ( uint  i) const
inline

Definition at line 33 of file atscdescriptors.h.

◆ CanonicalLanguageString()

QString MultipleStringStructure::CanonicalLanguageString ( uint  i) const
inline

Definition at line 35 of file atscdescriptors.h.

◆ SegmentCount()

uint MultipleStringStructure::SegmentCount ( uint  i) const
inline

Definition at line 40 of file atscdescriptors.h.

◆ CompressionType()

uint MultipleStringStructure::CompressionType ( uint  i,
uint  j 
) const
inline

Definition at line 44 of file atscdescriptors.h.

◆ CompressionTypeString()

QString MultipleStringStructure::CompressionTypeString ( uint  i,
uint  j 
) const

Definition at line 15 of file atscdescriptors.cpp.

◆ Mode()

int MultipleStringStructure::Mode ( int  i,
int  j 
) const
inline

Definition at line 47 of file atscdescriptors.h.

◆ Bytes()

int MultipleStringStructure::Bytes ( int  i,
int  j 
) const
inline

Definition at line 49 of file atscdescriptors.h.

◆ GetIndexOfBestMatch()

uint MultipleStringStructure::GetIndexOfBestMatch ( QMap< uint, uint > &  langPrefs) const

Definition at line 69 of file atscdescriptors.cpp.

◆ GetBestMatch()

QString MultipleStringStructure::GetBestMatch ( QMap< uint, uint > &  langPrefs) const

Definition at line 95 of file atscdescriptors.cpp.

Referenced by EITHelper::AddEIT(), and EITHelper::AddETT().

◆ GetSegment()

QString MultipleStringStructure::GetSegment ( uint  i,
uint  j 
) const

Definition at line 102 of file atscdescriptors.cpp.

◆ GetFullString()

QString MultipleStringStructure::GetFullString ( uint  i) const

◆ Parse()

void MultipleStringStructure::Parse ( void  ) const

Definition at line 165 of file atscdescriptors.cpp.

◆ toString()

QString MultipleStringStructure::toString ( void  ) const

Definition at line 29 of file atscdescriptors.cpp.

◆ Uncompressed()

QString MultipleStringStructure::Uncompressed ( const unsigned char *  buf,
int  len,
int  mode 
)
staticprivate

Definition at line 129 of file atscdescriptors.cpp.

◆ Index()

static uint MultipleStringStructure::Index ( int  i,
int  j 
)
inlinestaticprivate

Definition at line 67 of file atscdescriptors.h.

◆ Offset()

const unsigned char* MultipleStringStructure::Offset ( int  i,
int  j 
) const
inlineprivate

Definition at line 68 of file atscdescriptors.h.

Member Data Documentation

◆ _data

const unsigned char* MultipleStringStructure::_data
private

◆ _ptrs

IntToBuf MultipleStringStructure::_ptrs
mutableprivate

Definition at line 73 of file atscdescriptors.h.


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