![]() |
TSDuck v3.46-4965
MPEG Transport Stream Toolkit
|
#include <tsDSMCCBIOPMessage.h>

Public Member Functions | |
| bool | deserialize (PSIBuffer &buf) |
| bool | fromXML (DuckContext &duck, const xml::Element *element) |
| UString | pathString () const |
| std::optional< std::pair< uint16_t, ByteBlock > > | targetLocation () const |
| void | toXML (DuckContext &duck, xml::Element *parent) const |
Public Attributes | |
| uint8_t | binding_type = 0 |
| 0x01 = nobject, 0x02 = ncontext. | |
| DSMCCIOR | ior {} |
| Object reference to the target. | |
| std::vector< BIOPNameComponent > | name {} |
| Path components (almost always a single entry). | |
| ByteBlock | object_info {} |
| Kind-specific info (e.g. content_size for files). | |
Static Public Attributes | |
| static constexpr uint8_t | BINDING_TYPE_NCONTEXT = 0x02 |
| ncontext (directory). | |
| static constexpr uint8_t | BINDING_TYPE_NOBJECT = 0x01 |
| nobject (leaf: file / stream). | |
A single BIOP Binding inside a Directory / ServiceGateway body.
| bool ts::BIOPBinding::deserialize | ( | PSIBuffer & | buf | ) |
Deserialize one Binding from a buffer.
| [in,out] | buf | Deserialization buffer. |
| std::optional< std::pair< uint16_t, ByteBlock > > ts::BIOPBinding::targetLocation | ( | ) | const |
Get the (module_id, object_key) the binding's IOR points to, if it carries a BIOP Profile Body containing a BIOP::ObjectLocation.
| UString ts::BIOPBinding::pathString | ( | ) | const |
Get the binding's path joined from its NameComponent ids.
| void ts::BIOPBinding::toXML | ( | DuckContext & | duck, |
| xml::Element * | parent ) const |
This method converts a BIOPBinding to XML.
| [in,out] | duck | TSDuck execution context. |
| [in,out] | parent | The parent node for the XML element. |
| bool ts::BIOPBinding::fromXML | ( | DuckContext & | duck, |
| const xml::Element * | element ) |
This method decodes an XML BIOPBinding.
| [in,out] | duck | TSDuck execution context. |
| [in] | element | The XML element containing the binding. |