#include <Library.hpp>
Public Methods | |
Library ( void ) | |
Default constructor. | |
virtual | ~Library ( void ) |
Virtual Destructor. | |
bool | operator== ( LibraryCref ) const |
Equality operator. More... | |
virtual LibraryInstancePtr | load ( CharPtr ) throw ( NullPointerException, LoaderNotFoundException ) |
Load is the request to access a Loader that handles the library type as determined by the name. More... | |
virtual LibraryInstancePtr | load ( CharPtr, MetaClassPtr ) throw ( NullPointerException, LoaderNotFoundException ) |
Load is the request to access a Loader that handles the library type as determined by the MetaClass provided with the library name. More... | |
virtual void | unLoad ( LibraryInstancePtr ) throw ( NullPointerException ) |
Unload will remove all library objects associated with the LibraryInstance. More... | |
Protected Methods | |
Library ( LibraryCref ) throw (Assertion) | |
Copy constructor not allowed. | |
MetaClassPtr | findLibraryHandler ( CharCptr ) |
Finds a handler for the library type. | |
LibraryInstancePtr | loadInstance ( CharPtr , MetaClassPtr ) |
Do the actual load. | |
void | unloadInstance ( LibraryInstancePtr, MetaClassPtr ) |
Do a unload of the instance. | |
LibraryRef | operator= ( LibraryCref ) throw (Assertion) |
Assignment not allowed. |
|
Default constructor.
|
|
Virtual Destructor.
|
|
Copy constructor not allowed.
|
|
Finds a handler for the library type.
|
|
Load is the request to access a Loader that handles the library type as determined by the MetaClass provided with the library name. In effect, this overrides searching for the first handler available.
|
|
Load is the request to access a Loader that handles the library type as determined by the name. This will delegate the work to the first loader it finds that can handle the file type.
|
|
Do the actual load.
|
|
Assignment not allowed.
|
|
Equality operator.
|
|
Unload will remove all library objects associated with the LibraryInstance.
|
|
Do a unload of the instance.
|