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 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
 

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 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 134 of file atscdescriptors.h.

Constructor & Destructor Documentation

◆ ContentAdvisoryDescriptor()

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

Definition at line 137 of file atscdescriptors.h.

Member Function Documentation

◆ RatingRegionCount()

uint ContentAdvisoryDescriptor::RatingRegionCount ( void  ) const
inline

Definition at line 148 of file atscdescriptors.h.

◆ RatingRegion()

uint ContentAdvisoryDescriptor::RatingRegion ( uint  i) const
inline

Definition at line 151 of file atscdescriptors.h.

◆ RatedDimensions()

uint ContentAdvisoryDescriptor::RatedDimensions ( uint  i) const
inline

Definition at line 154 of file atscdescriptors.h.

◆ RatingDimension()

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

Definition at line 158 of file atscdescriptors.h.

◆ RatingValue()

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

Definition at line 162 of file atscdescriptors.h.

◆ RatingDescriptionLength()

uint ContentAdvisoryDescriptor::RatingDescriptionLength ( uint  i) const
inline

Definition at line 166 of file atscdescriptors.h.

◆ RatingDescription()

MultipleStringStructure ContentAdvisoryDescriptor::RatingDescription ( uint  i) const
inline

Definition at line 169 of file atscdescriptors.h.

◆ Parse()

bool ContentAdvisoryDescriptor::Parse ( void  )

Definition at line 213 of file atscdescriptors.cpp.

◆ toString()

QString ContentAdvisoryDescriptor::toString ( void  ) const
overridevirtual

Reimplemented from MPEGDescriptor.

Definition at line 232 of file atscdescriptors.cpp.

◆ Index()

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

Definition at line 179 of file atscdescriptors.h.

◆ Offset()

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

Definition at line 180 of file atscdescriptors.h.

Member Data Documentation

◆ m_ptrs

IntToBuf ContentAdvisoryDescriptor::m_ptrs
protected

Definition at line 185 of file atscdescriptors.h.


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