Skip to main content

cimmodel/
lib.rs

1//! The IEC 61970/61968 Common Information Model as profiled by ENTSO-E CGMES
2//! and the Network Code profiles: the streaming RDF/XML decoder that builds a
3//! [`CimDataset`] of [`Element`]s, and conversion back to RDF/XML and to JSON.
4//!
5//! Elements are property bags. What each class declares comes from a class
6//! table, generated by `cimgen` into `src/generated/` (gitignored; run
7//! `make generate`) or read from RDFS at runtime ([`schema_source`]).
8//! Everything else in `src/` is hand-written.
9
10pub mod base;
11pub mod convert;
12pub mod convert_nc;
13pub mod decode;
14pub mod registry;
15pub mod schema_source;
16
17mod generated;
18pub use generated::*;
19
20pub use base::{Element, FieldValue};
21pub use decode::{CimDataset, FieldForm};