Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

NodeRefListBase.hpp

Go to the documentation of this file.
00001 /*
00002  * Copyright 1999-2004 The Apache Software Foundation.
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  *     http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 #if !defined(NODEREFLISTBASE_HEADER_GUARD_1357924680)
00017 #define NODEREFLISTBASE_HEADER_GUARD_1357924680
00018 
00019 
00020 
00021 // Base include file.  Must be first.
00022 #include <xalanc/XPath/XPathDefinitions.hpp>
00023 
00024 
00025 
00026 #include <cstddef>
00027 
00028 
00029 
00030 XALAN_CPP_NAMESPACE_BEGIN
00031 
00032 
00033 
00034 class XalanNode;
00035 
00036 
00037 
00041 
00042 class XALAN_XPATH_EXPORT NodeRefListBase
00043 {
00044 public:
00045 
00046     NodeRefListBase();
00047 
00048     virtual
00049     ~NodeRefListBase();
00050 
00051 //#if defined(XALAN_STRICT_ANSI_HEADERS)
00052 //  typedef std::size_t     size_type;
00053 //#else
00054 //  typedef size_t          size_type;
00055 //#endif
00056     typedef unsigned int    size_type;
00057 
00068     virtual XalanNode*
00069     item(size_type  index) const = 0;
00070 
00077     virtual size_type
00078     getLength() const = 0;
00079 
00086     virtual size_type
00087     indexOf(const XalanNode*    theNode) const = 0;
00088 
00089 #if defined(XALAN_INLINE_INITIALIZATION)
00090     static const size_type  npos = ~0u;
00091 #else
00092     static const size_type  npos;
00093 #endif
00094 
00095 protected:
00096 
00097     NodeRefListBase(const NodeRefListBase&)
00098     {
00099     }
00100 
00101     NodeRefListBase&
00102     operator=(const NodeRefListBase&)
00103     {
00104         return *this;
00105     }
00106 };
00107 
00108 
00109 
00110 XALAN_CPP_NAMESPACE_END
00111 
00112 
00113 
00114 #endif  // NODEREFLISTBASE_HEADER_GUARD_1357924680

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

dot

Xalan-C++ XSLT Processor Version 1.10
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.

Apache Logo