31 zorba::Zorba* theZorba;
32 Zorba(zorba::Zorba* aZorba) : theZorba(aZorba){};
35 Zorba(
const Zorba& aZorba) : theZorba(aZorba.theZorba) {};
StaticContext createStaticContext()
Creates a new StaticContext.
Using the XmlDataManager one can manage documents and collections.
XQuery createQuery()
Creates an XQuery object.
std::string getVersion()
Get information about the used version of Zorba.
The Zorba class is the single point of access to the Zorba engine.
This class is the representation of an XQuery in the Zorba engine.
XQuery compileQuery(const std::string &aStr)
Creates and compiles an XQuery object.
Instances of the class StaticContext contain the information that is available at the time the query ...
int getMinorVersion()
Get information about the used version of Zorba.
When registered with an XQuery object, a DiagnosticHandler handles all exceptions that otherwise woul...
void shutdown()
Releases all resources aquired by the Zorba XQuery Engine.
Zorba(const Zorba &aZorba)
ItemFactory getItemFactory()
Gets the singleton instance of the ItemFactory.
int getPatchVersion()
Get information about the used version of Zorba.
int getMajorVersion()
Get information about the used version of Zorba.
bool isXQueryXSupported()
Get a boolean value informing if XQueryX is supported.
static Zorba getInstance(const Store &)
Gets the singleton instance of the Zorba object.
ItemFactory to create Items.
XmlDataManager getXmlDataManager()
Gets the singleton instance of the XmlDataManager object.