http://xml.apache.org/http://www.apache.org/http://www.w3.org/

Home

Readme
Charter
Release Info

Installation
Download
Build Instructions

FAQs
Samples
API Docs

DOM C++ Binding
Programming
Migration Guide

Feedback
Bug-Reporting
PDF Document

Source Repository
User Mail Archive
Devel Mail Archive

API Docs for SAX and DOM
 

DOMXPathExpression.hpp

Go to the documentation of this file.
00001 #ifndef DOMXPathExpression_HEADER_GUARD_
00002 #define DOMXPathExpression_HEADER_GUARD_
00003 
00004 /*
00005  * Copyright 2001-2004 The Apache Software Foundation.
00006  * 
00007  * Licensed under the Apache License, Version 2.0 (the "License");
00008  * you may not use this file except in compliance with the License.
00009  * You may obtain a copy of the License at
00010  * 
00011  *      http://www.apache.org/licenses/LICENSE-2.0
00012  * 
00013  * Unless required by applicable law or agreed to in writing, software
00014  * distributed under the License is distributed on an "AS IS" BASIS,
00015  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00016  * See the License for the specific language governing permissions and
00017  * limitations under the License.
00018  */
00019 
00020 #include <xercesc/util/XercesDefs.hpp>
00021 
00022 XERCES_CPP_NAMESPACE_BEGIN
00023 
00024 class DOMNode;
00029 class  DOMXPathExpression
00030 {
00031 
00032 protected:
00033     // -----------------------------------------------------------------------
00034     //  Hidden constructors
00035     // -----------------------------------------------------------------------
00038     DOMXPathExpression() {};
00040 
00041 private:
00042     // -----------------------------------------------------------------------
00043     // Unimplemented constructors and operators
00044     // -----------------------------------------------------------------------
00047     DOMXPathExpression(const DOMXPathExpression &);
00048     DOMXPathExpression& operator = (const  DOMXPathExpression&);
00050 
00051 public:
00052     // -----------------------------------------------------------------------
00053     //  All constructors are hidden, just the destructor is available
00054     // -----------------------------------------------------------------------
00061     virtual ~DOMXPathExpression() {};
00063 
00064     // -----------------------------------------------------------------------
00065     // Virtual DOMDocument interface
00066     // -----------------------------------------------------------------------
00069 
00101     virtual void*          evaluate(DOMNode *contextNode, unsigned short type, void* result) const = 0;
00103 };
00104 
00105 XERCES_CPP_NAMESPACE_END
00106 
00107 #endif


Copyright © 1994-2004 The Apache Software Foundation. All Rights Reserved.