Skip to main content

Module table

Module table 

Source
Expand description

What a class table records, derived from a parsed specification.

cimgen renders the tables as Rust source and cimmodel builds them at runtime from RDFS; both call these functions, so the two cannot disagree on how an attribute is classified, typed or namespaced.

Enums§

Kind
What an attribute’s value denotes.

Functions§

attr_kind
attr_range
The attribute’s range: the class an association or enumeration points to, or the CIM datatype of a literal.
enums
The family’s enumerations, sorted by name; each one’s values in vocabulary order.
namespaces
XML prefix → namespace IRI, as the family’s vocabularies bind them, sorted by prefix.
profile_uris
Profile code → profile URI (the owl:versionIRI a dataset declares), sorted by code.
value_namespace
The namespace an enumeration attribute’s values live in: the decoder keeps a value after its #, and this is what rebuilds http://iec.ch/TC57/CIM100#WindingConnection.D from WindingConnection.D. "" for any other attribute, or an enumeration the schema does not define.
xsd_type
The XSD datatype a literal attribute is written in, as the local name after http://www.w3.org/2001/XMLSchema#: "double" for Float, and so on. "" for associations and enumerations.