XQuilla/include/xqilla/context/VariableStore.hpp
2020-02-17 22:11:31 +01:00

34 lines
859 B
C++

/*
* Copyright (c) 2001-2006
* DecisionSoft Limited. All rights reserved.
* Copyright (c) 2004-2006
* Progress Software Corporation. All rights reserved.
* Copyright (c) 2004-2006
* Oracle. All rights reserved.
*
* See the file LICENSE for redistribution information.
*
* $Id: VariableStore.hpp,v 1.11 2007/07/10 16:28:57 jpcs Exp $
*/
#ifndef _VARIABLESTORE_HPP
#define _VARIABLESTORE_HPP
#include <xqilla/framework/XQillaExport.hpp>
#include <xercesc/util/XercesDefs.hpp>
class Result;
/** The pure virtual base class for accessing variables at runtime. */
class XQILLA_API VariableStore
{
public:
/** default destructor */
virtual ~VariableStore() {};
/** Looks up the value of a variable by namespace URI and localname pair. */
virtual Result getVar(const XMLCh *namespaceURI, const XMLCh *name) const = 0;
};
#endif