20#ifndef _VARIABLESTORE_HPP
21#define _VARIABLESTORE_HPP
25#include <xqilla/framework/XQillaExport.hpp>
26#include <xercesc/util/XercesDefs.hpp>
38 virtual Result getVar(
const XMLCh *namespaceURI,
const XMLCh *name)
const = 0;
41 virtual void getInScopeVariables(std::vector<std::pair<const XMLCh*, const XMLCh*> > &variables)
const = 0;
A scoped pointer wrapper for the lazily evaluated query result.
Definition: Result.hpp:38
The pure virtual base class for accessing variables at runtime.
Definition: VariableStore.hpp:32
virtual Result getVar(const XMLCh *namespaceURI, const XMLCh *name) const =0
Looks up the value of a variable by namespace URI and localname pair.
virtual ~VariableStore()
default destructor
Definition: VariableStore.hpp:35
virtual void getInScopeVariables(std::vector< std::pair< const XMLCh *, const XMLCh * > > &variables) const =0
Fills the vector provided with the uri and localname of the variables in scope.