TSDuck v3.40-4033
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::ISDBTargetRegionDescriptor::PrefectureMap Class Reference

Prefecture map. More...

#include <tsISDBTargetRegionDescriptor.h>

Public Member Functions

 PrefectureMap ()=default
 Default constructor.
 
 PrefectureMap (PSIBuffer &buf)
 Read-in constructor.
 
ts::UString toString () const
 toString
 

Public Attributes

std::array< bool, MAX_PREFECTURESprefectures {}
 Map of prefectures.
 

Static Public Attributes

static constexpr size_t MAX_PREFECTURES = 56
 Maximum number of prefectures in a map.
 

Detailed Description

Prefecture map.

Constructor & Destructor Documentation

◆ PrefectureMap()

ts::ISDBTargetRegionDescriptor::PrefectureMap::PrefectureMap ( PSIBuffer buf)
inline

Read-in constructor.

Parameters
[in,out]bufDeserialization buffer. Read the descriptor payload from buf. The end of read is the end of the binary payload. If any kind of error is reported in the buffer or if the payload is not completely read, the deserialization is considered as invalid.

Member Function Documentation

◆ toString()

ts::UString ts::ISDBTargetRegionDescriptor::PrefectureMap::toString ( ) const

toString

Returns
a string depiction of the prefectures included in the target region in a bitmap form where each represented by a 1 or 0 character.

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