Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

NodeSortKey.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 
17 #if !defined(XALAN_NODESORTKEY_HEADER_GUARD)
18 #define XALAN_NODESORTKEY_HEADER_GUARD
19 
28 // Base include file. Must be first.
29 #include "XSLTDefinitions.hpp"
30 
31 
32 
33 // $$$ ToDo: This is necessary while XalanDOMString is a typedef.
35 
36 
37 
39 
40 
41 
42 XALAN_CPP_NAMESPACE_BEGIN
43 
44 
45 
46 class ExecutionContext;
47 class PrefixResolver;
48 class XPath;
49 
50 
51 
56 {
57 public:
58 
71  ExecutionContext& executionContext,
72  const XPath* selectPat,
73  bool treatAsNumbers,
74  bool descending,
76  const XalanDOMString& langValue,
77  const PrefixResolver& resolver);
78 
79  NodeSortKey();
80 
81  NodeSortKey(const NodeSortKey& theSource);
82 
83  ~NodeSortKey();
84 
86  operator=(const NodeSortKey& theRHS);
87 
93  const XPath*
95  {
96  return m_selectPat;
97  }
98 
104  bool
106  {
107  return m_treatAsNumbers;
108  }
109 
115  bool
117  {
118  return m_descending;
119  }
120 
127  getCaseOrder() const
128  {
129  return m_caseOrder;
130  }
131 
137  const PrefixResolver*
139  {
140  return m_prefixResolver;
141  }
142 
143  const XalanDOMString&
145  {
146  return *m_languageString;
147  }
148 
149 private:
150 
151  ExecutionContext* m_executionContext; // needed for error reporting.
152 
153  const XPath* m_selectPat;
154 
155  bool m_treatAsNumbers;
156  bool m_descending;
157 
159 
160  const PrefixResolver* m_prefixResolver;
161 
162  const XalanDOMString* m_languageString;
163 };
164 
165 
166 
167 XALAN_CPP_NAMESPACE_END
168 
169 
170 
171 #endif

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