#include <Ontology.hpp>
Public Methods | |
Ontology ( CharCptr ) | |
Default constructor takes a domain name. More... | |
virtual | ~Ontology ( void ) |
Virtual destructor. | |
bool | operator== ( OntologyCref ) const |
Equality operator. | |
CharCptr | getDomainName ( void ) const |
gets the domain name. | |
MetaClassPtr | getClass ( CharCptr ) throw ( NullPointerException ) |
Get the metaclass as defined by the name, in this ontology. More... | |
MetaClassPtr | getClass ( UniversalIdentifierCref ) throw ( NullPointerException ) |
Get the metaclass as defined by the class id in this ontology. More... | |
virtual void | addMetaType ( MetaTypePtr ) |
Add a new metatype to this ontology. More... | |
virtual void | addAsChild ( MetaTypePtr , MetaClassPtr ) throw ( NullPointerException ) |
Add a child to a member of the ontology. More... | |
virtual void | addAsChild ( UniversalIdentifierCref , MetaTypePtr ) throw ( NullPointerException ) |
Add a child to a member of the ontology. More... | |
virtual Iterator<MetaClassCptr>* | createIterator ( void ) |
Create a iterator over all the entries of the ontology. More... | |
virtual Iterator<MetaClassCptr>* | createRootIterator ( void ) |
Create a iterator over the roots of the ontology. More... | |
virtual void | destroyIterator ( Iterator<MetaClassCptr> * ) |
Destroy the iterator. More... | |
Static Public Methods | |
MetaClassPtr | getClassFor ( CharCptr, CharCptr ontology=NULLPTR ) throw ( NullPointerException, DescriptorNotFound ) |
Get the metaclass as defined by the class and ontology names. More... | |
MetaClassPtr | getClassFor ( UniversalIdentifierCref, CharCptr ontology = NULLPTR ) throw ( NullPointerException, DescriptorNotFound ) |
Get the metaclass as defined by the class id and ontology name. More... | |
Protected Methods | |
MetaClassPtr | getClass ( MetaTypePtr ) const |
Gets the class from the local ontology, or where it exists. More... | |
Friends | |
class | MetaSpace |
|
Default constructor takes a domain name.
|
|
Virtual destructor.
|
|
Add a child to a member of the ontology. This does not store the type being added, but only updates the child reference of an existing type
|
|
Add a child to a member of the ontology. This does not store the type being added, but only updates the child reference of an existing type
|
|
Add a new metatype to this ontology.
|
|
Create a iterator over all the entries of the ontology.
|
|
Create a iterator over the roots of the ontology.
|
|
Destroy the iterator.
|
|
Gets the class from the local ontology, or where it exists.
|
|
Get the metaclass as defined by the class id in this ontology.
|
|
Get the metaclass as defined by the name, in this ontology.
|
|
Get the metaclass as defined by the class id and ontology name.
|
|
Get the metaclass as defined by the class and ontology names.
|
|
gets the domain name.
|
|
Equality operator.
|
|
|