Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Examples  

corelinux::MetaSpace Class Reference

MetaSpace manages domain Ontologies. More...

#include <MetaSpace.hpp>

List of all members.

Static Public Methods

MetaClassPtr getClassForType ( MetaTypePtr )
 Given a meta type, get it's meta class. More...

OntologyPtr getOntology ( CharCptr domain = NULLPTR )
 Retrieve a domain ontology. More...

void initialize ( void )
 Initialize the MetaSpace, creating namespace ontologies as necessary.

void storeType ( MetaTypeCptr )
 stores a metatype prior to initialize. More...

AssociativeIterator<CharCptr,
OntologyPtr>* 
createIterator ( void )
 Create an iterator over all the ontologies in the MetaSpace. More...

void destroyIterator ( AssociativeIterator<CharCptr,OntologyPtr> * ) throw ( NullPointerException )
 Destroys the iterator. More...


Detailed Description

MetaSpace manages domain Ontologies.


Member Function Documentation

AssociativeIterator< CharCptr,OntologyPtr >* corelinux::MetaSpace::createIterator ( void ) [static]
 

Create an iterator over all the ontologies in the MetaSpace.

Returns:
Iterator pointer of Ontology pointers

void corelinux::MetaSpace::destroyIterator ( AssociativeIterator< CharCptr,OntologyPtr >* aItrPtr ) throw ( NullPointerException ) [static]
 

Destroys the iterator.

Parameters:
Iterator   pointer of Ontology pointers
Exceptions:
NullPointer   exception if pointer argument is NULLPTR

MetaClassPtr corelinux::MetaSpace::getClassForType ( MetaTypePtr aType ) [static]
 

Given a meta type, get it's meta class.

Parameters:
MetaType   const pointer to type
Returns:
MetaClass const pointer to class

OntologyPtr corelinux::MetaSpace::getOntology ( CharCptr domain = NULLPTR ) [static]
 

Retrieve a domain ontology.

Parameters:
char   pointer to domain name, or if null return the corelinux domain
Returns:
Ontology pointer

void corelinux::MetaSpace::initialize ( void ) [static]
 

Initialize the MetaSpace, creating namespace ontologies as necessary.

void corelinux::MetaSpace::storeType ( MetaTypeCptr aMetaType ) [static]
 

stores a metatype prior to initialize.

Parameters:
MetaType   const pointer to type


The documentation for this class was generated from the following files:
This is the CoreLinux++ Framework reference manual
Provided by The CoreLinux Consortium