MythTV  master
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
ContentAdvisoryDescriptor Class Reference

#include <atscdescriptors.h>

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

Public Member Functions

 ContentAdvisoryDescriptor (const unsigned char *data, int len=300)
 
uint RatingRegionCount (void) const
 
uint RatingRegion (uint i) const
 
uint RatedDimensions (uint i) const
 
uint RatingDimension (uint i, uint j) const
 
uint RatingValue (uint i, uint j) const
 
uint RatingDescriptionLength (uint i) const
 
MultipleStringStructure RatingDescription (uint i) const
 
bool Parse (void)
 
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
 

Protected Member Functions

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

Static Protected Member Functions

static int Index (int i, int j)
 

Protected Attributes

IntToBuf m_ptrs
 
- Protected Attributes inherited from MPEGDescriptor
const unsigned char * m_data
 

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)
 

Detailed Description

Definition at line 132 of file atscdescriptors.h.

Constructor & Destructor Documentation

◆ ContentAdvisoryDescriptor()

ContentAdvisoryDescriptor::ContentAdvisoryDescriptor ( const unsigned char *  data,
int  len = 300 
)
inlineexplicit

Definition at line 135 of file atscdescriptors.h.

Member Function Documentation

◆ RatingRegionCount()

uint ContentAdvisoryDescriptor::RatingRegionCount ( void  ) const
inline

Definition at line 146 of file atscdescriptors.h.

Referenced by Parse().

◆ RatingRegion()

uint ContentAdvisoryDescriptor::RatingRegion ( uint  i) const
inline

Definition at line 149 of file atscdescriptors.h.

◆ RatedDimensions()

uint ContentAdvisoryDescriptor::RatedDimensions ( uint  i) const
inline

Definition at line 152 of file atscdescriptors.h.

Referenced by Parse(), RatingDescription(), and RatingDescriptionLength().

◆ RatingDimension()

uint ContentAdvisoryDescriptor::RatingDimension ( uint  i,
uint  j 
) const
inline

Definition at line 156 of file atscdescriptors.h.

◆ RatingValue()

uint ContentAdvisoryDescriptor::RatingValue ( uint  i,
uint  j 
) const
inline

Definition at line 160 of file atscdescriptors.h.

◆ RatingDescriptionLength()

uint ContentAdvisoryDescriptor::RatingDescriptionLength ( uint  i) const
inline

Definition at line 164 of file atscdescriptors.h.

Referenced by Parse().

◆ RatingDescription()

MultipleStringStructure ContentAdvisoryDescriptor::RatingDescription ( uint  i) const
inline

Definition at line 167 of file atscdescriptors.h.

◆ Parse()

bool ContentAdvisoryDescriptor::Parse ( void  )

Definition at line 209 of file atscdescriptors.cpp.

Referenced by ContentAdvisoryDescriptor().

◆ toString()

QString ContentAdvisoryDescriptor::toString ( ) const
overridevirtual

Reimplemented from MPEGDescriptor.

Definition at line 228 of file atscdescriptors.cpp.

◆ Index()

static int ContentAdvisoryDescriptor::Index ( int  i,
int  j 
)
inlinestaticprotected

Definition at line 177 of file atscdescriptors.h.

Referenced by Offset(), and Parse().

◆ Offset()

const unsigned char* ContentAdvisoryDescriptor::Offset ( int  i,
int  j 
) const
inlineprotected

Member Data Documentation

◆ m_ptrs

IntToBuf ContentAdvisoryDescriptor::m_ptrs
protected

Definition at line 183 of file atscdescriptors.h.

Referenced by Offset(), and Parse().


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