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 decode;
13pub mod registry;
14pub mod schema_source;
15
16mod generated;
17pub use generated::*;
18
19pub use base::{Element, FieldValue};
20pub use decode::CimDataset;