Xalan-C++ API Reference 1.12.0
XalanEXSLTSetImpl.hpp
Go to the documentation of this file.
1/*
2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18#if !defined(EXSLT_SETIMPL_HEADER_GUARD_1357924680)
19#define EXSLT_SETIMPL_HEADER_GUARD_1357924680
20
21
22
24
25
26
28
29
30
32
33
34
38
39
40
41namespace XALAN_CPP_NAMESPACE {
42
43
44
46{
47public:
48
53
54 virtual
58
60 clone(MemoryManager& theManager) const
61 {
62 return XalanCopyConstruct(theManager, *this);
63 }
64
65protected:
66
67 virtual const XalanDOMString&
69 {
70 return XalanMessageLoader::getMessage(
72 XalanMessages::EXSLTFunctionAcceptsTwoArguments_1Param,
73 "difference()");
74 }
75
76private:
77
78 // Not implemented...
80 operator=(const XalanEXSLTFunctionDifference&);
81
82 bool
84};
85
86
87
89{
90public:
91
96
97 virtual
101
103 clone(MemoryManager& theManager) const
104 {
105 return XalanCopyConstruct(theManager, *this);
106 }
107
108protected:
109
110 virtual const XalanDOMString&
112 {
113 return XalanMessageLoader::getMessage(
114 theBuffer ,
115 XalanMessages::EXSLTFunctionAcceptsOneArgument_1Param,
116 "distinct()");
117 }
118
119
120private:
121
122 // Not implemented...
124 operator=(const XalanEXSLTFunctionDistinct&);
125
126 bool
128};
129
130
131
133{
134public:
135
137
142
143 virtual
147
148 // These methods are inherited from Function ...
149
150 virtual XObjectPtr
154 const XObjectArgVectorType& args,
155 const Locator* locator) const;
156
157 using ParentType::execute;
158
160 clone(MemoryManager& theManager) const
161 {
162 return XalanCopyConstruct(theManager, *this);
163 }
164
165protected:
166
167 virtual const XalanDOMString&
169 {
170 return XalanMessageLoader::getMessage(
171 theBuffer,
172 XalanMessages::EXSLTFunctionAcceptsTwoArguments_1Param,
173 "has-same-node()");
174 }
175
176
177
178private:
179
180 // Not implemented...
182 operator=(const XalanEXSLTFunctionHasSameNode&);
183
184 bool
186};
187
188
189
191{
192public:
193
198
199 virtual
203
205 clone(MemoryManager& theManager) const
206 {
207 return XalanCopyConstruct(theManager, *this);
208 }
209
210protected:
211
212 virtual const XalanDOMString&
214 {
215 return XalanMessageLoader::getMessage(
216 theBuffer,
217 XalanMessages::EXSLTFunctionAcceptsTwoArguments_1Param,
218 "distinct()");
219 }
220
221private:
222
223 // Not implemented...
225 operator=(const XalanEXSLTFunctionIntersection&);
226
227 bool
229};
230
231
232
234{
235public:
236
238
240 Function()
241 {
242 }
243
244 virtual
248
249 // These methods are inherited from Function ...
250
251 virtual XObjectPtr
255 const XObjectArgVectorType& args,
256 const Locator* locator) const;
257
258 using ParentType::execute;
259
261 clone(MemoryManager& theManager) const
262 {
263 return XalanCopyConstruct(theManager, *this);
264 }
265
266protected:
267
268 virtual const XalanDOMString&
270 {
271 return XalanMessageLoader::getMessage(
272 theBuffer,
273 XalanMessages::EXSLTFunctionAcceptsTwoArguments_1Param,
274 "leading()");
275 }
276
277private:
278
279 // Not implemented...
281 operator=(const XalanEXSLTFunctionLeading&);
282
283 bool
285};
286
287
288
290{
291public:
292
294
299
300 virtual
304
305 // These methods are inherited from Function ...
306
307 virtual XObjectPtr
311 const XObjectArgVectorType& args,
312 const Locator* locator) const;
313
314 using ParentType::execute;
315
317 clone(MemoryManager& theManager) const
318 {
319 return XalanCopyConstruct(theManager, *this);
320 }
321
322protected:
323
324 virtual const XalanDOMString&
326 {
327 return XalanMessageLoader::getMessage(
328 theBuffer,
329 XalanMessages::EXSLTFunctionAcceptsTwoArguments_1Param,
330 "trailing()");
331 }
332
333private:
334
335 // Not implemented...
337 operator=(const XalanEXSLTFunctionTrailing&);
338
339 bool
341};
342
343
344
345}
346
347
348
349#endif // EXSLT_SETIMPL_HEADER_GUARD_1357924680
#define XALAN_EXSLT_EXPORT
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
XPath implementation of "difference" function.
XPath implementation of "difference" function.
XPath implementation of "intersection" function for NodeSets.
Class to hold XObjectPtr return types.
Definition XObject.hpp:884
virtual const XalanDOMString & getError(XalanDOMString &theBuffer) const
Get the error message to report when the function is called with the wrong number of arguments.
virtual XalanEXSLTFunctionDifference * clone(MemoryManager &theManager) const
Create a copy of the function object.
virtual const XalanDOMString & getError(XalanDOMString &theBuffer) const
Get the error message to report when the function is called with the wrong number of arguments.
virtual XalanEXSLTFunctionDistinct * clone(MemoryManager &theManager) const
Create a copy of the function object.
virtual XalanEXSLTFunctionHasSameNode * clone(MemoryManager &theManager) const
Create a copy of the function object.
virtual XObjectPtr execute(XPathExecutionContext &executionContext, XalanNode *context, const XObjectArgVectorType &args, const Locator *locator) const
Execute an XPath function object.
virtual const XalanDOMString & getError(XalanDOMString &theBuffer) const
Get the error message to report when the function is called with the wrong number of arguments.
virtual XalanEXSLTFunctionIntersection * clone(MemoryManager &theManager) const
Create a copy of the function object.
virtual const XalanDOMString & getError(XalanDOMString &theBuffer) const
Get the error message to report when the function is called with the wrong number of arguments.
virtual XObjectPtr execute(XPathExecutionContext &executionContext, XalanNode *context, const XObjectArgVectorType &args, const Locator *locator) const
Execute an XPath function object.
virtual XalanEXSLTFunctionLeading * clone(MemoryManager &theManager) const
Create a copy of the function object.
virtual const XalanDOMString & getError(XalanDOMString &theBuffer) const
Get the error message to report when the function is called with the wrong number of arguments.
virtual const XalanDOMString & getError(XalanDOMString &theBuffer) const
Get the error message to report when the function is called with the wrong number of arguments.
virtual XObjectPtr execute(XPathExecutionContext &executionContext, XalanNode *context, const XObjectArgVectorType &args, const Locator *locator) const
Execute an XPath function object.
virtual XalanEXSLTFunctionTrailing * clone(MemoryManager &theManager) const
Create a copy of the function object.
Type * XalanCopyConstruct(MemoryManager &theMemoryManager, const Type &theSource)
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)