Expand description
Writer for CIM/XML instance documents (IEC 61970-552).
Output is deterministic: objects in ascending mRID order, attributes in schema order, so an unchanged model re-writes byte-identically.
Structs§
- Write
Options - Options controlling serialization.
Enums§
- Header
Source - Where a document’s
md:FullModelheader comes from. - IdStyle
- How to identify objects in the output.
Functions§
- classes_
in_ profile - Classes that a profile may contain, for callers building per-profile exports.
- derive_
header - The header a document gets when the caller supplies none.
- element_
class - The class an object is written as in a file serving
profiles. - id_
style_ for - How an object of
classis identified in a file servingoptions.profiles. - object_
has_ content_ in - Whether an object would serialize any attribute in
profiles. - object_
in_ profiles - Whether an object belongs in a file serving
profiles— which is not the same question as whether it has anything to say there. - write
- Write every object of
datasetas one CIM/XML document. - write_
difference - Write a difference model (IEC 61970-552
dm:DifferenceModel). - write_
objects - Write a chosen subset of objects as one CIM/XML document.
- write_
profile - Write one profile’s slice of a dataset.
- write_
profiles - Write the slice of a dataset belonging to a set of profiles.