A single BIOP Binding inside a Directory / ServiceGateway body.
More...
#include <tsDSMCCBIOPMessage.h>
|
|
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 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.
- See also
- ISO/IEC 13818-6 section 8.6.3
◆ deserialize()
| bool ts::BIOPBinding::deserialize |
( |
PSIBuffer & |
buf | ) |
|
Deserialize one Binding from a buffer.
- Parameters
-
| [in,out] | buf | Deserialization buffer. |
- Returns
- True on success.
◆ targetLocation()
| 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.
- Returns
- The target location, or std::nullopt if absent.
◆ pathString()
| UString ts::BIOPBinding::pathString |
( |
| ) |
const |
Get the binding's path joined from its NameComponent ids.
- Returns
- Joined path (components separated by '/').
◆ toXML()
This method converts a BIOPBinding to XML.
- Parameters
-
| [in,out] | duck | TSDuck execution context. |
| [in,out] | parent | The parent node for the XML element. |
◆ fromXML()
This method decodes an XML BIOPBinding.
- Parameters
-
| [in,out] | duck | TSDuck execution context. |
| [in] | element | The XML element containing the binding. |
- Returns
- True on success, false on error.
The documentation for this struct was generated from the following file: