Expand description
DDS-XML 1.0 §7.3.4 Building Block “Domain Library”.
A <domain_library> carries 1+ <domain> entries; each carries
a numeric domain_id, plus 0+ <register_type> and 0+
<topic> entries. Topics carry a register_type_ref (a reference
to the <register_type> element within the same domain) and
optionally an inline <topic_qos> or a qos_profile_ref attribute.
Spec source: OMG DDS-XML 1.0 §7.3.4 (Domain Library Building Block).
§XML → Rust type mapping
<domain_library name=…> | DomainLibrary
<domain name=… domain_id=…> | DomainEntry
<register_type name=… type_ref=…>| RegisterType
<topic name=… register_type_ref=…> | TopicEntry
<topic_qos>… | TopicEntry.topic_qos (EntityQos)
qos_profile_ref="lib::profile" | TopicEntry.qos_profile_ref (String)
topic_filter (attr or child) | TopicEntry.topic_filterStructs§
- Domain
Entry - A single
<domain>definition (§7.3.4.4.2). - Domain
Library - Container for 1+ domain definitions (§7.3.4.4.1).
- Register
Type <register_type name="…" type_ref="…"/>(§7.3.4.4.4).- Topic
Entry <topic name="…" register_type_ref="…">(§7.3.4.4.3).
Functions§
- parse_
domain_ libraries - Parses all
<domain_library>entries from a<dds>root element.