TSDuck v3.46-4964
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::BIOPServiceContext Struct Reference

#include <tsDSMCCBIOPMessage.h>

Collaboration diagram for ts::BIOPServiceContext:

Public Member Functions

bool deserialize (PSIBuffer &buf)
bool fromXML (DuckContext &duck, const xml::Element *element)
void toXML (DuckContext &duck, xml::Element *parent) const

Public Attributes

ByteBlock context_data {}
 Context data.
uint32_t context_id = 0
 Context identifier.

Detailed Description

One entry of a BIOP ServiceContextList.

Member Function Documentation

◆ deserialize()

bool ts::BIOPServiceContext::deserialize ( PSIBuffer & buf)

Deserialize one ServiceContext from a buffer.

Parameters
[in,out]bufDeserialization buffer.
Returns
True on success.

◆ toXML()

void ts::BIOPServiceContext::toXML ( DuckContext & duck,
xml::Element * parent ) const

This method converts a BIOPServiceContext to XML.

Parameters
[in,out]duckTSDuck execution context.
[in,out]parentThe parent node for the XML element.

◆ fromXML()

bool ts::BIOPServiceContext::fromXML ( DuckContext & duck,
const xml::Element * element )

This method decodes an XML BIOPServiceContext.

Parameters
[in,out]duckTSDuck execution context.
[in]elementThe XML element containing the service context.
Returns
True on success, false on error.

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