Xerces-C++: DOMXPathExpression.hpp Source File

| API Docs for SAX and DOM |
| Main Page Classes Files Related Pages # DOMXPathExpression.hpp Go to the documentation of this file.
    00001 #ifndef DOMXPathExpression_HEADER_GUARD_
    00002 #define DOMXPathExpression_HEADER_GUARD_
    00003
    00004 /*
    00005  * Licensed to the Apache Software Foundation (ASF) under one or more
    00006  * contributor license agreements.  See the NOTICE file distributed with
    00007  * this work for additional information regarding copyright ownership.
    00008  * The ASF licenses this file to You under the Apache License, Version 2.0
    00009  * (the "License"); you may not use this file except in compliance with
    00010  * the License.  You may obtain a copy of the License at
    00011  *
    00012  *      http://www.apache.org/licenses/LICENSE-2.0
    00013  *
    00014  * Unless required by applicable law or agreed to in writing, software
    00015  * distributed under the License is distributed on an "AS IS" BASIS,
    00016  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00017  * See the License for the specific language governing permissions and
    00018  * limitations under the License.
    00019  */
    00020
    00021 #include <xercesc/util/XercesDefs.hpp>
    00022
    00023 XERCES_CPP_NAMESPACE_BEGIN
    00024
    00025 class DOMNode;
    00030 class  DOMXPathExpression
    00031 {
    00032
    00033 protected:
    00034     // -----------------------------------------------------------------------
    00035     //  Hidden constructors
    00036     // -----------------------------------------------------------------------
    00039     DOMXPathExpression() {};
    00041
    00042 private:
    00043     // -----------------------------------------------------------------------
    00044     // Unimplemented constructors and operators
    00045     // -----------------------------------------------------------------------
    00048     DOMXPathExpression(const DOMXPathExpression &);
    00049     DOMXPathExpression& operator = (const  DOMXPathExpression&);
    00051
    00052 public:
    00053     // -----------------------------------------------------------------------
    00054     //  All constructors are hidden, just the destructor is available
    00055     // -----------------------------------------------------------------------
    00062     virtual ~DOMXPathExpression() {};
    00064
    00065     // -----------------------------------------------------------------------
    00066     // Virtual DOMDocument interface
    00067     // -----------------------------------------------------------------------
    00070
    00102     virtual void*          evaluate(DOMNode *contextNode, unsigned short type, void* result) const = 0;
    00104 };
    00105
    00106 XERCES_CPP_NAMESPACE_END
    00107
    00108 #endif

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