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:versionIRIa 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 rebuildshttp://iec.ch/TC57/CIM100#WindingConnection.DfromWindingConnection.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"forFloat, and so on.""for associations and enumerations.