XQDebugCallback.hpp

Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2001-2006
00003  *     DecisionSoft Limited. All rights reserved.
00004  * Copyright (c) 2004-2006
00005  *     Progress Software Corporation. All rights reserved.
00006  * Copyright (c) 2004-2006
00007  *     Oracle. All rights reserved.
00008  *
00009  * See the file LICENSE for redistribution information.
00010  *
00011  * $Id: XQDebugCallback.hpp,v 1.9 2006/11/01 16:37:12 jpcs Exp $
00012  */
00013 
00015 // XQDebugCallback.h: interface for debugging
00017 
00018 #if !defined(AFXQ_XQDEBUGCALLBACK_H__446AD191_E9D0_4658_BD8C_032D29DA125F__INCLUDED_)
00019 #define AFXQ_XQDEBUGCALLBACK_H__446AD191_E9D0_4658_BD8C_032D29DA125F__INCLUDED_
00020 
00021 #include <xqilla/framework/XQillaExport.hpp>
00022 #include <xercesc/util/XercesDefs.hpp>
00023 
00024 class Sequence;
00025 class DynamicContext;
00026 
00027 XERCES_CPP_NAMESPACE_BEGIN
00028     class DOMNode;
00029 XERCES_CPP_NAMESPACE_END
00030 
00031 class XQILLA_API XQDebugCallback
00032 {
00033 public:
00034   virtual ~XQDebugCallback() {}
00035 
00036   virtual void IsBreakPointHit(DynamicContext* context, const XMLCh* file, unsigned int nLine) = 0;
00037   virtual void EnterFunction(DynamicContext* context, const XMLCh* file, const XMLCh* fnName, unsigned int nLine, unsigned int nColumn) = 0;
00038   virtual void ExitFunction(DynamicContext* context, const XMLCh* fnName) = 0;
00039   virtual void ReportClonedNode(DynamicContext* context, const XERCES_CPP_NAMESPACE_QUALIFIER DOMNode* original, const XERCES_CPP_NAMESPACE_QUALIFIER DOMNode* clone) = 0;
00040   virtual void ReportResult(DynamicContext* context, const XMLCh* file, unsigned int nLine, unsigned int nColumn, Sequence& result) = 0;
00041   virtual void ReportFirstError(DynamicContext* context, const XMLCh* error, const XMLCh* file, unsigned int nLine) = 0;
00042 
00043   virtual void NotifyQueryBegin(DynamicContext* context, const XMLCh* query) = 0;
00044   virtual void NotifyQueryEnd(DynamicContext* context, Sequence& result) = 0;
00045 };
00046 
00047 #endif // !defined(AFXQ_XQDEBUGCALLBACK_H__446AD191_E9D0_4658_BD8C_032D29DA125F__INCLUDED_)

Generated on Mon Feb 12 16:52:06 2007 for XQilla Simple API by  doxygen 1.4.6