'description':'Call \a visitor on each alloted ID.',
'description':'Call \\a visitor on each alloted ID.',
'attributes':['pure virtual']
}
},
...
...
@@ -123,6 +196,12 @@ nodeClasses = {
},
# Organizational components
'smtk::markup::Ontology':{
'header-includes':[
'smtk/markup/IdSpace.h',
],
'type-aliases':{
'IdType':'smtk::markup::IdSpace::IdType'
},
'description':'A collection of labels related to one another by relationships, typically imported from an OWL',
'members':{
'url':{'type':'std::string'},
...
...
@@ -320,12 +399,16 @@ nodeClasses = {
'methods':{
'name':{
'signature':'std::string name() const',
'attributes':{'override':True},
'body':"""
return m_name;
return m_name.data();
"""
},
},
'smtk::markup::LabelMap':{
'header-includes':[
'smtk/markup/IdSpace.h'
],
'description':'A mapping from an IdSpace to an integer label, with optional string names for each integer.',
'members':{
'names':{'type':'std::unordered_map<smtk::markup::IdSpace::IdType, smtk::string::Token>','description':'A set of labels that form the image of the label-map.'},
...
...
@@ -341,16 +424,25 @@ nodeClasses = {
},
'smtk::markup::OntologyIdentifier':{
'type-aliases':{
'IdType':'smtk::markup::Ontology::IdType',
'Token':'smtk::string::Token',
},
'header-includes':[
'smtk/markup/Ontology.h',
'smtk/string/Token.h',
],
'members':{
'id':{'type':'IdType','description':'A URL in the ontology''s schema that can be queried for relationships.'},
'ontologyId':{
'type':'OntologyIdentifier::Token',
'description':'A URL in the ontology''s schema that can be queried for relationships.'},