Ignore:
Timestamp:
Dec 15, 2012, 11:33:41 AM (7 years ago)
Author:
cameron
Message:

Set up to use xercesc/icxercesc root-relative paths for all includes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icXML/icXML-devel/src/xercesc/dom/impl/DOMXPathResultImpl.hpp

    r2774 r2777  
    1 #include <icxercesc/dom/impl/DOMXPathResultImpl.hpp>
     1/*
     2 * Licensed to the Apache Software Foundation (ASF) under one or more
     3 * contributor license agreements.  See the NOTICE file distributed with
     4 * this work for additional information regarding copyright ownership.
     5 * The ASF licenses this file to You under the Apache License, Version 2.0
     6 * (the "License"); you may not use this file except in compliance with
     7 * the License.  You may obtain a copy of the License at
     8 *
     9 *      http://www.apache.org/licenses/LICENSE-2.0
     10 *
     11 * Unless required by applicable law or agreed to in writing, software
     12 * distributed under the License is distributed on an "AS IS" BASIS,
     13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14 * See the License for the specific language governing permissions and
     15 * limitations under the License.
     16 */
     17
     18/*
     19 * $Id: DOMXPathResultImpl.hpp 671894 2008-06-26 13:29:21Z borisk $
     20 */
     21
     22#if !defined(XERCESC_INCLUDE_GUARD_DOMXPATHRESULTIMPL_HPP)
     23#define XERCESC_INCLUDE_GUARD_DOMXPATHRESULTIMPL_HPP
     24
     25#include <xercesc/util/XMemory.hpp>
     26#include <xercesc/dom/DOMXPathResult.hpp>
     27#include <xercesc/util/RefVectorOf.hpp>
     28
     29XERCES_CPP_NAMESPACE_BEGIN
     30
     31class CDOM_EXPORT DOMXPathResultImpl :  public XMemory,
     32                                        public DOMXPathResult
     33{
     34public:
     35    DOMXPathResultImpl(ResultType type, MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager);
     36    ~DOMXPathResultImpl();
     37
     38    virtual ResultType getResultType() const;
     39    virtual const DOMTypeInfo *getTypeInfo() const;
     40    virtual bool isNode() const;
     41    virtual bool getBooleanValue() const;
     42    virtual int getIntegerValue() const;
     43    virtual double getNumberValue() const;
     44    virtual const XMLCh* getStringValue() const;
     45    virtual DOMNode* getNodeValue() const;
     46    virtual bool iterateNext();
     47    virtual bool getInvalidIteratorState() const;
     48    virtual bool snapshotItem(XMLSize_t);
     49    virtual XMLSize_t getSnapshotLength() const;
     50
     51    virtual void release();
     52
     53public:
     54    void reset(ResultType type);
     55    void addResult(DOMNode* node);
     56
     57protected:
     58    ResultType              fType;
     59    MemoryManager* const    fMemoryManager;
     60    RefVectorOf<DOMNode>*   fSnapshot;
     61    XMLSize_t               fIndex;
     62};
     63
     64XERCES_CPP_NAMESPACE_END
     65
     66#endif
Note: See TracChangeset for help on using the changeset viewer.