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

Provides the long channel name for the virtual channel containing this descriptor. More...

#include <atscdescriptors.h>

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

Public Member Functions

 ExtendedChannelNameDescriptor (const unsigned char *data, int len=300)
 
MultipleStringStructure LongChannelName (void) const
 Returns a MultipleStringStructure representing the long name of the associated channel. More...
 
QString LongChannelNameString (void) const
 Convenience function that returns a QString comprising a concatenation of all the segments in the LongChannelName() value. More...
 
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
 

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

Provides the long channel name for the virtual channel containing this descriptor.

See ATSC A/65B section 6.9.5. When used, this descriptor must be in the Virtual Channel Table.

Definition at line 340 of file atscdescriptors.h.

Constructor & Destructor Documentation

◆ ExtendedChannelNameDescriptor()

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

Definition at line 343 of file atscdescriptors.h.

Member Function Documentation

◆ LongChannelName()

MultipleStringStructure ExtendedChannelNameDescriptor::LongChannelName ( void  ) const

Returns a MultipleStringStructure representing the long name of the associated channel.

Definition at line 332 of file atscdescriptors.cpp.

◆ LongChannelNameString()

QString ExtendedChannelNameDescriptor::LongChannelNameString ( void  ) const

Convenience function that returns a QString comprising a concatenation of all the segments in the LongChannelName() value.

Definition at line 342 of file atscdescriptors.cpp.

Referenced by VirtualChannelTable::GetExtendedChannelName().

◆ toString()

QString ExtendedChannelNameDescriptor::toString ( void  ) const
overridevirtual

Reimplemented from MPEGDescriptor.

Definition at line 353 of file atscdescriptors.cpp.


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