Expand description
additional format: reads .add.xml, of which only the E1/E2/E3
detector definitions are modelled. Namespaced for the same reason as
routes — see the crate docs.
additional format: reads .add.xml (SUMO “additional” files), of
which only the E1/E2/E3 detector definitions are modelled, and (under
write) writes it back out. Own namespace at sumo_types::additional —
see the crate docs for why, like routes and unlike net, it isn’t
flattened to the crate root.
Re-exports§
pub use domain::Additional;pub use reader::read_additional;pub use reader::read_additional_from;pub use writer::write_additional;pub use writer::write_additional_to;
Modules§
- domain
- Layer 2 for
additional: this crate’s own domain types for.add.xml. - reader
- Reading a
.add.xmlfile intoAdditional: deserializes the input into layer 1 (the privateschemamodule) and converts it to layer 2 (crate::additional::domain) in one step, mirroring the other formats’ readers. - schema_
mapper - Conversion from layer 1 (the private
schemamodule, generated by xsd-parser from the SUMO XSDs) to layer 2 (crate::additional::domain). - schema_
writer - Conversion from layer 2 (
crate::additional::domain) to layer 1 (the privateschemamodule) — the inverse ofschema_mapper, only compiled underwrite. - writer
- Writing an
Additionalto a.add.xmlfile: converts layer 2 into layer 1 (the privateschemamodule) viasuper::schema_writerand serializes it in one step, mirroringadditional’s ownreader.