TSDuck v3.44-4659
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::DSMCCTaggedProfile Class Reference

Representation of TaggedProfile structure (BIOP Profile Body, Lite Options Profile Body) More...

#include <tsDSMCCTaggedProfile.h>

Public Member Functions

 DSMCCTaggedProfile ()=default
 Default constructor.
 
void clear ()
 Reset the TaggedProfile to its default state.
 
void deserialize (PSIBuffer &buf)
 Deserialize the TaggedProfile structure.
 
bool fromXML (DuckContext &duck, const xml::Element *element)
 This method decodes an XML TaggedProfile.
 
void serialize (PSIBuffer &buf) const
 Serialize the TaggedProfile structure.
 
void toXML (DuckContext &duck, xml::Element *parent) const
 This method converts a TaggedProfile to XML.
 

Static Public Member Functions

static void Display (TablesDisplay &display, PSIBuffer &buf, const UString &margin)
 Display the TaggedProfile structure.
 

Public Attributes

std::list< DSMCCLiteComponentlite_components {}
 List of LiteComponent.
 
std::optional< ByteBlockprofile_data {}
 Optional profile data, for UnknownProfile.
 
uint8_t profile_data_byte_order = 0
 Fixed 0x00, big endian byte order.
 
uint32_t profile_id_tag = 0
 Profile identifier tag (eg. TAG_BIOP, TAG_LITE_OPTIONS).
 

Detailed Description

Representation of TaggedProfile structure (BIOP Profile Body, Lite Options Profile Body)

See also
ISO/IEC 13818-6
ETSI TR 101 202 V1.2.1 (2003-01), 4.7.3.2, 4.7.3.3

Member Function Documentation

◆ serialize()

void ts::DSMCCTaggedProfile::serialize ( PSIBuffer buf) const

Serialize the TaggedProfile structure.

Parameters
[in,out]bufSerialization buffer.

◆ deserialize()

void ts::DSMCCTaggedProfile::deserialize ( PSIBuffer buf)

Deserialize the TaggedProfile structure.

Parameters
[in,out]bufDeserialization buffer.

◆ Display()

static void ts::DSMCCTaggedProfile::Display ( TablesDisplay display,
PSIBuffer buf,
const UString margin 
)
static

Display the TaggedProfile structure.

Parameters
[in,out]displayDisplay engine.
[in,out]bufA PSIBuffer over the TaggedProfile.
[in]marginLeft margin content.

◆ toXML()

void ts::DSMCCTaggedProfile::toXML ( DuckContext duck,
xml::Element parent 
) const

This method converts a TaggedProfile to XML.

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

◆ fromXML()

bool ts::DSMCCTaggedProfile::fromXML ( DuckContext duck,
const xml::Element element 
)

This method decodes an XML TaggedProfile.

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

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