![]() |
TSDuck v3.44-4659
MPEG Transport Stream Toolkit
|
One component of a BIOP Name (typically a path element). More...
#include <tsDSMCCBIOPMessage.h>

Public Member Functions | |
| bool | fromXML (DuckContext &duck, const xml::Element *element) |
| This method decodes an XML BIOPNameComponent. | |
| UString | idString () const |
| Return the id as a UString, stripping any trailing NUL. | |
| std::string | kindTag () const |
| Return the kind as a std::string, stripping any trailing NUL. | |
| void | toXML (DuckContext &duck, xml::Element *parent) const |
| This method converts a BIOPNameComponent to XML. | |
Public Attributes | |
| ByteBlock | id {} |
| Raw id bytes (usually a NUL-terminated ASCII/UTF-8 string). | |
| ByteBlock | kind {} |
| Raw kind bytes (usually "fil\0", "dir\0", "srg\0" ...). | |
One component of a BIOP Name (typically a path element).
| UString ts::BIOPNameComponent::idString | ( | ) | const |
| std::string ts::BIOPNameComponent::kindTag | ( | ) | const |
Return the kind as a std::string, stripping any trailing NUL.
| void ts::BIOPNameComponent::toXML | ( | DuckContext & | duck, |
| xml::Element * | parent | ||
| ) | const |
This method converts a BIOPNameComponent to XML.
| [in,out] | duck | TSDuck execution context. |
| [in,out] | parent | The parent node for the XML element. |
| bool ts::BIOPNameComponent::fromXML | ( | DuckContext & | duck, |
| const xml::Element * | element | ||
| ) |
This method decodes an XML BIOPNameComponent.
| [in,out] | duck | TSDuck execution context. |
| [in] | element | The XML element containing the name component. |