DSMTypeReference¶
- class dsviper.DSMTypeReference¶
Bases:
DSMTypeA type a DSM model names rather than spells out.
Every leaf of a declared type is one of these, string and int32 included: type_name() is the name it resolves to, with its namespace, and domain() the kind it resolves to. Definitions holds the registered type that name stands for.
Note: Not directly instantiable.
- domain() str¶
Return what the reference resolves to: ‘Primitive’, ‘Concept’, ‘Club’, ‘Enumeration’, ‘Structure’, ‘Any’ (any) or ‘AnyConcept’ (any_concept).