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 <libmythtv/mpeg/atscdescriptors.h>

Inheritance diagram for ExtendedChannelNameDescriptor:
[legend]
Collaboration diagram for ExtendedChannelNameDescriptor:
[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 std::vector< uint8_t > &data)
 
 MPEGDescriptor (const unsigned char *data, int len, uint tag)
 
 MPEGDescriptor (const std::vector< uint8_t > &data, 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
 
uint DescriptorLength (void) const
 
uint DescriptorTagExtension (void) const
 
QString DescriptorTagString (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 const unsigned char * FindExtension (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 * m_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 
)
inlineexplicit

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 334 of file atscdescriptors.cpp.

Referenced by LongChannelNameString().

◆ 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 344 of file atscdescriptors.cpp.

Referenced by VirtualChannelTable::GetExtendedChannelName(), and toString().

◆ toString()

QString ExtendedChannelNameDescriptor::toString ( ) const
overridevirtual

Reimplemented from MPEGDescriptor.

Definition at line 355 of file atscdescriptors.cpp.


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