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 * m_data
 
IntToBuf m_ptrs
 

Detailed Description

Definition at line 16 of file atscdescriptors.h.

Constructor & Destructor Documentation

◆ MultipleStringStructure()

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

Definition at line 19 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 27 of file atscdescriptors.h.

Referenced by CanonicalLanguageKey(), LanguageString(), and toString().

◆ LanguageString()

QString MultipleStringStructure::LanguageString ( uint  i) const
inline

Definition at line 29 of file atscdescriptors.h.

Referenced by toString().

◆ CanonicalLanguageKey()

int MultipleStringStructure::CanonicalLanguageKey ( uint  i) const
inline

Definition at line 31 of file atscdescriptors.h.

Referenced by CanonicalLanguageString(), and GetIndexOfBestMatch().

◆ CanonicalLanguageString()

QString MultipleStringStructure::CanonicalLanguageString ( uint  i) const
inline

Definition at line 33 of file atscdescriptors.h.

◆ SegmentCount()

uint MultipleStringStructure::SegmentCount ( uint  i) const
inline

Definition at line 38 of file atscdescriptors.h.

Referenced by GetFullString(), Parse(), and toString().

◆ CompressionType()

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

Definition at line 42 of file atscdescriptors.h.

Referenced by CompressionTypeString(), GetSegment(), and toString().

◆ CompressionTypeString()

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

Definition at line 11 of file atscdescriptors.cpp.

◆ Mode()

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

Definition at line 45 of file atscdescriptors.h.

Referenced by GetSegment().

◆ Bytes()

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

Definition at line 47 of file atscdescriptors.h.

Referenced by GetSegment(), Parse(), and toString().

◆ GetIndexOfBestMatch()

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

Definition at line 64 of file atscdescriptors.cpp.

Referenced by GetBestMatch().

◆ GetBestMatch()

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

Definition at line 90 of file atscdescriptors.cpp.

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

◆ GetSegment()

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

Definition at line 97 of file atscdescriptors.cpp.

Referenced by GetFullString(), and toString().

◆ GetFullString()

QString MultipleStringStructure::GetFullString ( uint  i) const

◆ Parse()

void MultipleStringStructure::Parse ( void  ) const

Definition at line 159 of file atscdescriptors.cpp.

Referenced by MultipleStringStructure().

◆ toString()

QString MultipleStringStructure::toString ( ) const

Definition at line 25 of file atscdescriptors.cpp.

◆ Uncompressed()

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

Definition at line 124 of file atscdescriptors.cpp.

Referenced by GetSegment().

◆ Index()

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

Definition at line 65 of file atscdescriptors.h.

Referenced by Offset(), and Parse().

◆ Offset()

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

Member Data Documentation

◆ m_data

const unsigned char* MultipleStringStructure::m_data
private

Definition at line 70 of file atscdescriptors.h.

Referenced by Parse(), and StringCount().

◆ m_ptrs

IntToBuf MultipleStringStructure::m_ptrs
mutableprivate

Definition at line 71 of file atscdescriptors.h.

Referenced by Offset(), and Parse().


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