TSDuck v3.46-4930
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::mcast::NetworkInformationFile::BroadcastNetwork Class Reference

#include <tsmcastNetworkInformationFile.h>

Collaboration diagram for ts::mcast::NetworkInformationFile::BroadcastNetwork:

Public Member Functions

 BroadcastNetwork ()=default
 Constructor.
bool parseXML (const xml::Element *element, bool strict)

Public Attributes

UString network_name {}
 Element <NetworkName>.
UString network_type {}
 Element <NetworkType>.
uint16_t nip_network_id = 0
 Element <NIPNetworkID>.
UString provider_name {}
 Element <NIPNetworkProviderName>.
std::optional< SatellitePosition > satellite_position {}
 Elements <SatellitePosition>.
std::list< NIPStream > streams {}
 Elements <NIPStream>.

Detailed Description

Definition of a <ActualBroadcastNetwork> or <OtherBroadcastNetwork>.

Member Function Documentation

◆ parseXML()

bool ts::mcast::NetworkInformationFile::BroadcastNetwork::parseXML ( const xml::Element * element,
bool strict )

Reinitialize the structure from a XML element.

Parameters
[in]elementRoot XML element to analyze.
[in]strictStrict XML parsing, do not tolerate missing mandatory elements or attributes.
Returns
True on success, false on error.

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