16 #ifndef API_COLLECTION_MANAGER_H
17 #define API_COLLECTION_MANAGER_H
26 zorba::CollectionManager* theManager;
CollectionManager(zorba::CollectionManager *aMgr)
void registerDiagnosticHandler(DiagnosticHandler *aDiagnosticHandler)
Register a DiagnosticHandler to which errors occuring during the management of collections are report...
This interface represents an instance of the XQuery 1.0 and XPath 2.0 Data Model (XDM).
ItemSequence availableCollections()
This function returns a sequence of names of the collections that are available.
void createCollection(const Item &aName)
This function creates the collection with the given name.
A Collection is a persistent sequence of node items.
This class defines a set of functions for managing persistent collections.
void deleteCollection(const Item &aName)
This function removes the collection with the given name.
When registered with an XQuery object, a DiagnosticHandler handles all exceptions that otherwise woul...
The Zorba Item interface.
bool isAvailableCollection(const Item &aName)
This function returns true if a collection with the given name is available.
CollectionManager(const CollectionManager &aMgr)
Collection getCollection(const Item &aName)
Returns a instance of the Collection class which can be used to modify and retrieve the contents of t...