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 
41 namespace XALAN_CPP_NAMESPACE {
42 
43 
44 
46 {
47 public:
48 
51  {
52  }
53 
54  virtual
56  {
57  }
58 
60  clone(MemoryManager& theManager) const
61  {
62  return XalanCopyConstruct(theManager, *this);
63  }
64 
65 protected:
66 
67  virtual const XalanDOMString&
68  getError(XalanDOMString& theBuffer) const
69  {
70  return XalanMessageLoader::getMessage(
71  theBuffer,
72  XalanMessages::EXSLTFunctionAcceptsTwoArguments_1Param,
73  "difference()");
74  }
75 
76 private:
77 
78  // Not implemented...
80  operator=(const XalanEXSLTFunctionDifference&);
81 
82  bool
84 };
85 
86 
87 
89 {
90 public:
91 
94  {
95  }
96 
97  virtual
99  {
100  }
101 
103  clone(MemoryManager& theManager) const
104  {
105  return XalanCopyConstruct(theManager, *this);
106  }
107 
108 protected:
109 
110  virtual const XalanDOMString&
111  getError(XalanDOMString& theBuffer) const
112  {
113  return XalanMessageLoader::getMessage(
114  theBuffer ,
115  XalanMessages::EXSLTFunctionAcceptsOneArgument_1Param,
116  "distinct()");
117  }
118 
119 
120 private:
121 
122  // Not implemented...
124  operator=(const XalanEXSLTFunctionDistinct&);
125 
126  bool
128 };
129 
130 
131 
133 {
134 public:
135 
137 
139  Function()
140  {
141  }
142 
143  virtual
145  {
146  }
147 
148  // These methods are inherited from Function ...
149 
150  virtual XObjectPtr
151  execute(
152  XPathExecutionContext& executionContext,
153  XalanNode* context,
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 
165 protected:
166 
167  virtual const XalanDOMString&
168  getError(XalanDOMString& theBuffer) const
169  {
170  return XalanMessageLoader::getMessage(
171  theBuffer,
172  XalanMessages::EXSLTFunctionAcceptsTwoArguments_1Param,
173  "has-same-node()");
174  }
175 
176 
177 
178 private:
179 
180  // Not implemented...
182  operator=(const XalanEXSLTFunctionHasSameNode&);
183 
184  bool
186 };
187 
188 
189 
191 {
192 public:
193 
196  {
197  }
198 
199  virtual
201  {
202  }
203 
205  clone(MemoryManager& theManager) const
206  {
207  return XalanCopyConstruct(theManager, *this);
208  }
209 
210 protected:
211 
212  virtual const XalanDOMString&
213  getError(XalanDOMString& theBuffer) const
214  {
215  return XalanMessageLoader::getMessage(
216  theBuffer,
217  XalanMessages::EXSLTFunctionAcceptsTwoArguments_1Param,
218  "distinct()");
219  }
220 
221 private:
222 
223  // Not implemented...
225  operator=(const XalanEXSLTFunctionIntersection&);
226 
227  bool
229 };
230 
231 
232 
234 {
235 public:
236 
238 
240  Function()
241  {
242  }
243 
244  virtual
246  {
247  }
248 
249  // These methods are inherited from Function ...
250 
251  virtual XObjectPtr
252  execute(
253  XPathExecutionContext& executionContext,
254  XalanNode* context,
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 
266 protected:
267 
268  virtual const XalanDOMString&
269  getError(XalanDOMString& theBuffer) const
270  {
271  return XalanMessageLoader::getMessage(
272  theBuffer,
273  XalanMessages::EXSLTFunctionAcceptsTwoArguments_1Param,
274  "leading()");
275  }
276 
277 private:
278 
279  // Not implemented...
281  operator=(const XalanEXSLTFunctionLeading&);
282 
283  bool
285 };
286 
287 
288 
290 {
291 public:
292 
294 
296  Function()
297  {
298  }
299 
300  virtual
302  {
303  }
304 
305  // These methods are inherited from Function ...
306 
307  virtual XObjectPtr
308  execute(
309  XPathExecutionContext& executionContext,
310  XalanNode* context,
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 
322 protected:
323 
324  virtual const XalanDOMString&
325  getError(XalanDOMString& theBuffer) const
326  {
327  return XalanMessageLoader::getMessage(
328  theBuffer,
329  XalanMessages::EXSLTFunctionAcceptsTwoArguments_1Param,
330  "trailing()");
331  }
332 
333 private:
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
xalanc::XalanEXSLTFunctionDifference::XalanEXSLTFunctionDifference
XalanEXSLTFunctionDifference()
Definition: XalanEXSLTSetImpl.hpp:49
xalanc::XalanEXSLTFunctionDistinct::clone
virtual XalanEXSLTFunctionDistinct * clone(MemoryManager &theManager) const
Create a copy of the function object.
Definition: XalanEXSLTSetImpl.hpp:103
xalanc::XalanEXSLTFunctionHasSameNode::XalanEXSLTFunctionHasSameNode
XalanEXSLTFunctionHasSameNode()
Definition: XalanEXSLTSetImpl.hpp:138
xalanc::XalanEXSLTFunctionTrailing::XalanEXSLTFunctionTrailing
XalanEXSLTFunctionTrailing()
Definition: XalanEXSLTSetImpl.hpp:295
xalanc::XalanEXSLTFunctionTrailing
Definition: XalanEXSLTSetImpl.hpp:289
xalanc::XalanEXSLTFunctionHasSameNode::getError
virtual const XalanDOMString & getError(XalanDOMString &theBuffer) const
Get the error message to report when the function is called with the wrong number of arguments.
Definition: XalanEXSLTSetImpl.hpp:168
XALAN_CPP_NAMESPACE
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
Definition: XalanVersion.hpp:76
xalanc::XalanEXSLTFunctionIntersection::clone
virtual XalanEXSLTFunctionIntersection * clone(MemoryManager &theManager) const
Create a copy of the function object.
Definition: XalanEXSLTSetImpl.hpp:205
FunctionDistinct.hpp
xalanc::XalanNode
Definition: XalanNode.hpp:38
xalanc::XalanEXSLTFunctionHasSameNode::ParentType
Function ParentType
Definition: XalanEXSLTSetImpl.hpp:136
xalanc::XalanEXSLTFunctionTrailing::getError
virtual const XalanDOMString & getError(XalanDOMString &theBuffer) const
Get the error message to report when the function is called with the wrong number of arguments.
Definition: XalanEXSLTSetImpl.hpp:325
XALAN_EXSLT_EXPORT
#define XALAN_EXSLT_EXPORT
Definition: XalanEXSLTDefinitions.hpp:35
xalanc::XalanEXSLTFunctionTrailing::~XalanEXSLTFunctionTrailing
virtual ~XalanEXSLTFunctionTrailing()
Definition: XalanEXSLTSetImpl.hpp:301
xalanc::operator==
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
Definition: XalanVector.hpp:1118
xalanc::FunctionDistinct
XPath implementation of "difference" function.
Definition: FunctionDistinct.hpp:40
XalanMessageLoader.hpp
xalanc::XalanEXSLTFunctionTrailing::clone
virtual XalanEXSLTFunctionTrailing * clone(MemoryManager &theManager) const
Create a copy of the function object.
Definition: XalanEXSLTSetImpl.hpp:317
xalanc::XObjectPtr
Class to hold XObjectPtr return types.
Definition: XObject.hpp:883
xalanc::XalanEXSLTFunctionHasSameNode
Definition: XalanEXSLTSetImpl.hpp:132
xalanc::XalanEXSLTFunctionLeading::clone
virtual XalanEXSLTFunctionLeading * clone(MemoryManager &theManager) const
Create a copy of the function object.
Definition: XalanEXSLTSetImpl.hpp:261
xalanc::XalanEXSLTFunctionLeading
Definition: XalanEXSLTSetImpl.hpp:233
xalanc::XalanEXSLTFunctionTrailing::ParentType
Function ParentType
Definition: XalanEXSLTSetImpl.hpp:293
xalanc::XalanEXSLTFunctionIntersection::XalanEXSLTFunctionIntersection
XalanEXSLTFunctionIntersection()
Definition: XalanEXSLTSetImpl.hpp:194
xalanc::FunctionIntersection
XPath implementation of "intersection" function for NodeSets.
Definition: FunctionIntersection.hpp:40
xalanc::XalanEXSLTFunctionLeading::XalanEXSLTFunctionLeading
XalanEXSLTFunctionLeading()
Definition: XalanEXSLTSetImpl.hpp:239
xalanc::XalanEXSLTFunctionDifference::getError
virtual const XalanDOMString & getError(XalanDOMString &theBuffer) const
Get the error message to report when the function is called with the wrong number of arguments.
Definition: XalanEXSLTSetImpl.hpp:68
xalanc::XalanEXSLTFunctionDifference
Definition: XalanEXSLTSetImpl.hpp:45
xalanc::XalanEXSLTFunctionDistinct::XalanEXSLTFunctionDistinct
XalanEXSLTFunctionDistinct()
Definition: XalanEXSLTSetImpl.hpp:92
xalanc::FunctionDifference
XPath implementation of "difference" function.
Definition: FunctionDifference.hpp:40
xalanc::XalanCopyConstruct
Type * XalanCopyConstruct(MemoryManager &theMemoryManager, const Type &theSource)
Definition: XalanMemoryManagement.hpp:450
xalanc::XalanEXSLTFunctionDifference::clone
virtual XalanEXSLTFunctionDifference * clone(MemoryManager &theManager) const
Create a copy of the function object.
Definition: XalanEXSLTSetImpl.hpp:60
xalanc::Function
Definition: Function.hpp:57
xalanc::XalanEXSLTFunctionHasSameNode::clone
virtual XalanEXSLTFunctionHasSameNode * clone(MemoryManager &theManager) const
Create a copy of the function object.
Definition: XalanEXSLTSetImpl.hpp:160
xalanc::XalanEXSLTFunctionDistinct
Definition: XalanEXSLTSetImpl.hpp:88
xalanc::XalanEXSLTFunctionLeading::~XalanEXSLTFunctionLeading
virtual ~XalanEXSLTFunctionLeading()
Definition: XalanEXSLTSetImpl.hpp:245
xalanc::XalanEXSLTFunctionIntersection::getError
virtual const XalanDOMString & getError(XalanDOMString &theBuffer) const
Get the error message to report when the function is called with the wrong number of arguments.
Definition: XalanEXSLTSetImpl.hpp:213
xalanc::XalanEXSLTFunctionLeading::ParentType
Function ParentType
Definition: XalanEXSLTSetImpl.hpp:237
xalanc::XPathExecutionContext
Definition: XPathExecutionContext.hpp:82
XalanEXSLTDefinitions.hpp
xalanc::XalanEXSLTFunctionDistinct::~XalanEXSLTFunctionDistinct
virtual ~XalanEXSLTFunctionDistinct()
Definition: XalanEXSLTSetImpl.hpp:98
xalanc::XalanEXSLTFunctionDifference::~XalanEXSLTFunctionDifference
virtual ~XalanEXSLTFunctionDifference()
Definition: XalanEXSLTSetImpl.hpp:55
xalanc::XalanEXSLTFunctionHasSameNode::~XalanEXSLTFunctionHasSameNode
virtual ~XalanEXSLTFunctionHasSameNode()
Definition: XalanEXSLTSetImpl.hpp:144
xalanc::XalanDOMString
Definition: XalanDOMString.hpp:45
FunctionDifference.hpp
xalanc::XalanEXSLTFunctionDistinct::getError
virtual const XalanDOMString & getError(XalanDOMString &theBuffer) const
Get the error message to report when the function is called with the wrong number of arguments.
Definition: XalanEXSLTSetImpl.hpp:111
Function.hpp
xalanc::XalanEXSLTFunctionIntersection
Definition: XalanEXSLTSetImpl.hpp:190
FunctionIntersection.hpp
xalanc::XalanEXSLTFunctionIntersection::~XalanEXSLTFunctionIntersection
virtual ~XalanEXSLTFunctionIntersection()
Definition: XalanEXSLTSetImpl.hpp:200
xalanc::XalanEXSLTFunctionLeading::getError
virtual const XalanDOMString & getError(XalanDOMString &theBuffer) const
Get the error message to report when the function is called with the wrong number of arguments.
Definition: XalanEXSLTSetImpl.hpp:269