Skip to main content

Module convert

Module convert 

Source

Functions§

dataset_from_json
dataset_to_json
dataset_to_xml
The whole dataset as RDF/XML: every CGMES element under the CGMES prefixes, then every NC element and every object of a class no table knows (CimDataset::foreign) as it was read (crate::convert_nc), under prefixes that do not clash with CGMES’s (NC’s cim: is another namespace).
dataset_to_xml_for_profile
Export the dataset’s content for one profile, CGMES (EQ, SSH, …) or NC (CO, AE, … — crate::convert_nc), with that profile’s header.