Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

NodeRefListBase.hpp
Go to the documentation of this file.
1 /*
2  * Copyright 1999-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 #if !defined(NODEREFLISTBASE_HEADER_GUARD_1357924680)
17 #define NODEREFLISTBASE_HEADER_GUARD_1357924680
18 
19 
20 
21 // Base include file. Must be first.
23 
24 
25 
26 #include <cstddef>
27 
28 
29 
30 XALAN_CPP_NAMESPACE_BEGIN
31 
32 
33 
34 class XalanNode;
35 
36 
37 
43 {
44 public:
45 
47 
48  virtual
49  ~NodeRefListBase();
50 
51 //#if defined(XALAN_STRICT_ANSI_HEADERS)
52 // typedef std::size_t size_type;
53 //#else
54 // typedef size_t size_type;
55 //#endif
56  typedef unsigned int size_type;
57 
68  virtual XalanNode*
69  item(size_type index) const = 0;
70 
77  virtual size_type
78  getLength() const = 0;
79 
86  virtual size_type
87  indexOf(const XalanNode* theNode) const = 0;
88 
89 #if defined(XALAN_INLINE_INITIALIZATION)
90  static const size_type npos = ~0u;
91 #else
92  static const size_type npos;
93 #endif
94 
95 protected:
96 
98  {
99  }
100 
103  {
104  return *this;
105  }
106 };
107 
108 
109 
110 XALAN_CPP_NAMESPACE_END
111 
112 
113 
114 #endif // NODEREFLISTBASE_HEADER_GUARD_1357924680
Definition: XalanNode.hpp:44
NodeRefListBase(const NodeRefListBase &)
Definition: NodeRefListBase.hpp:97
XalanDOMString::size_type indexOf(const XalanDOMChar *theString, XalanDOMChar theChar)
Simulates the java String method indexOf().
Definition: DOMStringHelper.hpp:348
Local implementation of NodeRefList.
Definition: NodeRefListBase.hpp:42
NodeRefListBase & operator=(const NodeRefListBase &)
Definition: NodeRefListBase.hpp:102
unsigned int size_type
Definition: NodeRefListBase.hpp:56
#define XALAN_XPATH_EXPORT
Definition: XPathDefinitions.hpp:33
static const size_type npos
Definition: NodeRefListBase.hpp:92

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