TSDuck v3.40-4033
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::ParentalRatingDescriptor::Entry Struct Reference

Item entry. More...

#include <tsParentalRatingDescriptor.h>

Collaboration diagram for ts::ParentalRatingDescriptor::Entry:

Public Member Functions

 Entry (const UChar *code=nullptr, uint8_t rate=0)
 Constructor.
 
 Entry (const UString &code, uint8_t rate)
 Constructor.
 

Public Attributes

UString country_code {}
 ISO-3166 country code, 3 characters.
 
uint8_t rating = 0
 Parental rating.
 

Detailed Description

Item entry.

Constructor & Destructor Documentation

◆ Entry() [1/2]

ts::ParentalRatingDescriptor::Entry::Entry ( const UChar code = nullptr,
uint8_t  rate = 0 
)

Constructor.

Parameters
[in]codeISO-3166 country code, 3 characters, as a C-string. Can be null.
[in]rateParental rating.

◆ Entry() [2/2]

ts::ParentalRatingDescriptor::Entry::Entry ( const UString code,
uint8_t  rate 
)

Constructor.

Parameters
[in]codeISO-3166 country code, 3 characters.
[in]rateParental rating.

The documentation for this struct was generated from the following file: