Skip to main content

Module resolver

Module resolver 

Source
Expand description

Cross-library reference resolver for DDS-XML 1.0 §7.3.4-7.3.6.

Several building blocks (domain, domain participant, application, QoS profiles) allow qualified references of the form library::name. This module provides the generic path splitting + lookup logic so that the individual decoders consistently fulfill the same format contract.

The DDS-XML 1.0 spec example in Annex C consistently uses the 2-segment format (my_lib::MyDomain), and the OMG schema definition in §7.3 allows this form as an XSD token attribute. Single-segment refs (MyDomain) are not explicitly forbidden in the spec — we allow them as a convenience form if the supplied default library argument is Some(_).

Structs§

LibraryRef
Resolved 2-segment library reference tuple (library, name).

Functions§

parse_library_ref
Splits a reference string into (library, name).