TSDuck v3.46-4965
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::mcast::TransportProtocol Class Reference

#include <tsmcastTransportProtocol.h>

Collaboration diagram for ts::mcast::TransportProtocol:

Public Member Functions

 TransportProtocol ()=default
void clear ()
bool parseXML (const xml::Element *element, bool strict, const UString &child_name=u"TransportProtocol")

Public Attributes

FileTransport protocol = FT_UNKNOWN
 interpretation of attribute protocolIdentifier.
UString protocol_identifier {}
 attribute protocolIdentifier.
UString protocol_version {}
 attribute protocolVersion.
uint32_t version = 0
 interpretation of attribute protocolVersion.

Detailed Description

Representation of a TransportProtocol XML structure (Multicast ABR and DVB-NIP). This substructure is used in several XML tables.

See also
ETSI TS 103 769, section 10.2.2.1

Constructor & Destructor Documentation

◆ TransportProtocol()

ts::mcast::TransportProtocol::TransportProtocol ( )
default

Default constructor.

Member Function Documentation

◆ clear()

void ts::mcast::TransportProtocol::clear ( )

Clear the content of this object.

◆ parseXML()

bool ts::mcast::TransportProtocol::parseXML ( const xml::Element * element,
bool strict,
const UString & child_name = u"TransportProtocol" )

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.
[in]child_nameName of the child element in element. If empty, directly use element.
Returns
True on success, false on error.

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