Public Member Functions
zorba::StaticCollectionManager Class Reference

#include <zorba/static_collection_manager.h>

Inheritance diagram for zorba::StaticCollectionManager:
Inheritance graph
[legend]
Collaboration diagram for zorba::StaticCollectionManager:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ItemSequence_t availableCollections () const =0
 This function returns a sequence of names of the collections that are available.
virtual void createCollection (const Item &aName)=0
 This function creates the collection with the given name.
virtual void createCollection (const Item &aName, const ItemSequence_t &aContents)=0
 This function creates the collection with the given name.
virtual ItemSequence_t declaredCollections () const =0
virtual void deleteCollection (const Item &aName)=0
 This function removes the collection with the given name.
virtual Collection_t getCollection (const Item &aName) const =0
 Returns a instance of the Collection class which can be used to modify and retrieve the contents of the collection identified by the given name.
virtual bool isAvailableCollection (const Item &aName) const =0
 This function returns true if a collection with the given name is available.
virtual bool isDeclaredCollection (const Item &aQName) const =0
virtual ~StaticCollectionManager ()

Constructor & Destructor Documentation

virtual zorba::StaticCollectionManager::~StaticCollectionManager ( ) [inline, virtual]

Definition at line 37 of file static_collection_manager.h.


Member Function Documentation

virtual ItemSequence_t zorba::CollectionManager::availableCollections ( ) const [pure virtual, inherited]

This function returns a sequence of names of the collections that are available.

Returns:
The list of names of the available collections.
Examples:
datamanager.cpp.
virtual void zorba::CollectionManager::createCollection ( const Item aName) [pure virtual, inherited]

This function creates the collection with the given name.

Parameters:
aNameThe name of the collection to create.
Exceptions:
XDDY0002if a collection with the given name already exists.
Examples:
datamanager.cpp.
virtual void zorba::CollectionManager::createCollection ( const Item aName,
const ItemSequence_t aContents 
) [pure virtual, inherited]

This function creates the collection with the given name.

Moreover, it adds copies of the sequence aContents to the new collection.

Parameters:
aNameThe name of the collection to create.
aContentsThe sequence of items.
Exceptions:
XDDY0002if a collection with the given name already exists.
virtual ItemSequence_t zorba::StaticCollectionManager::declaredCollections ( ) const [pure virtual]
virtual void zorba::CollectionManager::deleteCollection ( const Item aName) [pure virtual, inherited]

This function removes the collection with the given name.

Parameters:
aNameThe name of the collection to delete.
Exceptions:
XDDY0003if the collection does not exist.
Examples:
datamanager.cpp.
virtual Collection_t zorba::CollectionManager::getCollection ( const Item aName) const [pure virtual, inherited]

Returns a instance of the Collection class which can be used to modify and retrieve the contents of the collection identified by the given name.

Parameters:
aNameThe name of the collection to retrieve.
Exceptions:
XDDY0003if the collection does not exist.
Examples:
datamanager.cpp.
virtual bool zorba::CollectionManager::isAvailableCollection ( const Item aName) const [pure virtual, inherited]

This function returns true if a collection with the given name is available.

Parameters:
aNameThe name of the collection that is being checked.
Returns:
true if the collection is available and false otherwise.
Examples:
datamanager.cpp.
virtual bool zorba::StaticCollectionManager::isDeclaredCollection ( const Item aQName) const [pure virtual]

The documentation for this class was generated from the following file:
blog comments powered by Disqus