Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XalanEXSLTSetImpl.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(EXSLT_SETIMPL_HEADER_GUARD_1357924680)
17 #define EXSLT_SETIMPL_HEADER_GUARD_1357924680
18 
19 
20 
22 
23 
24 
26 
27 
28 
30 
31 
32 
36 
37 
38 
39 XALAN_CPP_NAMESPACE_BEGIN
40 
41 
42 
44 {
45 public:
46 
49  {
50  }
51 
52  virtual
54  {
55  }
56 
57 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
58  virtual Function*
59 #else
61 #endif
62  clone(MemoryManagerType& theManager) const
63  {
64  return XalanCopyConstruct(theManager, *this);
65  }
66 
67 protected:
68 
69  virtual const XalanDOMString&
70  getError(XalanDOMString& theBuffer) const
71  {
73  theBuffer,
74  XalanMessages::EXSLTFunctionAcceptsTwoArguments_1Param,
75  "difference()");
76  }
77 
78 private:
79 
80  // Not implemented...
82  operator=(const XalanEXSLTFunctionDifference&);
83 
84  bool
86 };
87 
88 
89 
91 {
92 public:
93 
96  {
97  }
98 
99  virtual
101  {
102  }
103 
104 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
105  virtual Function*
106 #else
108 #endif
109  clone(MemoryManagerType& theManager) const
110  {
111  return XalanCopyConstruct(theManager, *this);
112  }
113 
114 protected:
115 
116  virtual const XalanDOMString&
117  getError(XalanDOMString& theBuffer) const
118  {
120  theBuffer ,
121  XalanMessages::EXSLTFunctionAcceptsOneArgument_1Param,
122  "distinct()");
123  }
124 
125 
126 private:
127 
128  // Not implemented...
130  operator=(const XalanEXSLTFunctionDistinct&);
131 
132  bool
134 };
135 
136 
137 
139 {
140 public:
141 
143 
145  Function()
146  {
147  }
148 
149  virtual
151  {
152  }
153 
154  // These methods are inherited from Function ...
155 
156  virtual XObjectPtr
157  execute(
158  XPathExecutionContext& executionContext,
159  XalanNode* context,
160  const XObjectArgVectorType& args,
161  const LocatorType* locator) const;
162 
163 #if !defined(XALAN_NO_USING_DECLARATION)
164  using ParentType::execute;
165 #endif
166 
167 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
168  virtual Function*
169 #else
171 #endif
172  clone(MemoryManagerType& theManager) const
173  {
174  return XalanCopyConstruct(theManager, *this);
175  }
176 
177 protected:
178 
179  virtual const XalanDOMString&
180  getError(XalanDOMString& theBuffer) const
181  {
183  theBuffer,
184  XalanMessages::EXSLTFunctionAcceptsTwoArguments_1Param,
185  "has-same-node()");
186  }
187 
188 
189 
190 private:
191 
192  // Not implemented...
194  operator=(const XalanEXSLTFunctionHasSameNode&);
195 
196  bool
198 };
199 
200 
201 
203 {
204 public:
205 
208  {
209  }
210 
211  virtual
213  {
214  }
215 
216 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
217  virtual Function*
218 #else
220 #endif
221  clone(MemoryManagerType& theManager) const
222  {
223  return XalanCopyConstruct(theManager, *this);
224  }
225 
226 protected:
227 
228  virtual const XalanDOMString&
229  getError(XalanDOMString& theBuffer) const
230  {
232  theBuffer,
233  XalanMessages::EXSLTFunctionAcceptsTwoArguments_1Param,
234  "distinct()");
235  }
236 
237 private:
238 
239  // Not implemented...
241  operator=(const XalanEXSLTFunctionIntersection&);
242 
243  bool
245 };
246 
247 
248 
250 {
251 public:
252 
254 
256  Function()
257  {
258  }
259 
260  virtual
262  {
263  }
264 
265  // These methods are inherited from Function ...
266 
267  virtual XObjectPtr
268  execute(
269  XPathExecutionContext& executionContext,
270  XalanNode* context,
271  const XObjectArgVectorType& args,
272  const LocatorType* locator) const;
273 
274 #if !defined(XALAN_NO_USING_DECLARATION)
275  using ParentType::execute;
276 #endif
277 
278 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
279  virtual Function*
280 #else
282 #endif
283  clone(MemoryManagerType& theManager) const
284  {
285  return XalanCopyConstruct(theManager, *this);
286  }
287 
288 protected:
289 
290  virtual const XalanDOMString&
291  getError(XalanDOMString& theBuffer) const
292  {
294  theBuffer,
295  XalanMessages::EXSLTFunctionAcceptsTwoArguments_1Param,
296  "leading()");
297  }
298 
299 private:
300 
301  // Not implemented...
303  operator=(const XalanEXSLTFunctionLeading&);
304 
305  bool
307 };
308 
309 
310 
312 {
313 public:
314 
316 
318  Function()
319  {
320  }
321 
322  virtual
324  {
325  }
326 
327  // These methods are inherited from Function ...
328 
329  virtual XObjectPtr
330  execute(
331  XPathExecutionContext& executionContext,
332  XalanNode* context,
333  const XObjectArgVectorType& args,
334  const LocatorType* locator) const;
335 
336 #if !defined(XALAN_NO_USING_DECLARATION)
337  using ParentType::execute;
338 #endif
339 
340 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
341  virtual Function*
342 #else
344 #endif
345  clone(MemoryManagerType& theManager) const
346  {
347  return XalanCopyConstruct(theManager, *this);
348  }
349 
350 protected:
351 
352  virtual const XalanDOMString&
353  getError(XalanDOMString& theBuffer) const
354  {
356  theBuffer,
357  XalanMessages::EXSLTFunctionAcceptsTwoArguments_1Param,
358  "trailing()");
359  }
360 
361 private:
362 
363  // Not implemented...
365  operator=(const XalanEXSLTFunctionTrailing&);
366 
367  bool
369 };
370 
371 
372 
373 XALAN_CPP_NAMESPACE_END
374 
375 
376 
377 #endif // EXSLT_SETIMPL_HEADER_GUARD_1357924680
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
Definition: XalanVector.hpp:1111
Definition: XalanNode.hpp:44
Definition: Function.hpp:52
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager MemoryManagerType
Definition: XalanMemoryManagement.hpp:39
virtual XalanEXSLTFunctionHasSameNode * clone(MemoryManagerType &theManager) const
Create a copy of the function object.
Definition: XalanEXSLTSetImpl.hpp:172
Definition: XalanEXSLTSetImpl.hpp:311
XPath implementation of "intersection" function for NodeSets.
Definition: FunctionIntersection.hpp:38
Definition: XalanEXSLTSetImpl.hpp:138
static XalanDOMString & getMessage(XalanDOMString &theResultMessage, XalanMessages::Codes msgToLoad, const char *repText1, const char *repText2=0, const char *repText3=0, const char *repText4=0)
virtual XalanEXSLTFunctionIntersection * clone(MemoryManagerType &theManager) const
Create a copy of the function object.
Definition: XalanEXSLTSetImpl.hpp:221
virtual XObjectPtr execute(XPathExecutionContext &executionContext, XalanNode *context, const XObjectArgVectorType &args, const LocatorType *locator) const
Execute an XPath function object.
Class to hold XObjectPtr return types.
Definition: XObject.hpp:584
Function ParentType
Definition: XalanEXSLTSetImpl.hpp:253
Type * XalanCopyConstruct(MemoryManager &theMemoryManager, const Type &theSource)
Definition: XalanMemoryManagement.hpp:334
virtual ~XalanEXSLTFunctionDistinct()
Definition: XalanEXSLTSetImpl.hpp:100
XalanEXSLTFunctionIntersection()
Definition: XalanEXSLTSetImpl.hpp:206
Definition: XPathExecutionContext.hpp:72
Definition: XalanEXSLTSetImpl.hpp:90
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:70
virtual ~XalanEXSLTFunctionTrailing()
Definition: XalanEXSLTSetImpl.hpp:323
XalanEXSLTFunctionDifference()
Definition: XalanEXSLTSetImpl.hpp:47
virtual ~XalanEXSLTFunctionDifference()
Definition: XalanEXSLTSetImpl.hpp:53
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:229
Definition: XalanEXSLTSetImpl.hpp:249
virtual XalanEXSLTFunctionDistinct * clone(MemoryManagerType &theManager) const
Create a copy of the function object.
Definition: XalanEXSLTSetImpl.hpp:109
virtual XalanEXSLTFunctionTrailing * clone(MemoryManagerType &theManager) const
Create a copy of the function object.
Definition: XalanEXSLTSetImpl.hpp:345
XalanEXSLTFunctionLeading()
Definition: XalanEXSLTSetImpl.hpp:255
XPath implementation of "difference" function.
Definition: FunctionDifference.hpp:38
virtual XalanEXSLTFunctionDifference * clone(MemoryManagerType &theManager) const
Create a copy of the function object.
Definition: XalanEXSLTSetImpl.hpp:62
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:291
virtual ~XalanEXSLTFunctionHasSameNode()
Definition: XalanEXSLTSetImpl.hpp:150
Definition: XalanEXSLTSetImpl.hpp:202
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:180
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:353
XERCES_CPP_NAMESPACE_QUALIFIER Locator LocatorType
Definition: FormatterListener.hpp:47
#define XALAN_EXSLT_EXPORT
Definition: XalanEXSLTDefinitions.hpp:33
XalanEXSLTFunctionDistinct()
Definition: XalanEXSLTSetImpl.hpp:94
Function ParentType
Definition: XalanEXSLTSetImpl.hpp:142
XPath implementation of "difference" function.
Definition: FunctionDistinct.hpp:38
Definition: XalanDOMString.hpp:42
Definition: XalanEXSLTSetImpl.hpp:43
virtual ~XalanEXSLTFunctionLeading()
Definition: XalanEXSLTSetImpl.hpp:261
virtual XalanEXSLTFunctionLeading * clone(MemoryManagerType &theManager) const
Create a copy of the function object.
Definition: XalanEXSLTSetImpl.hpp:283
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:117
XalanEXSLTFunctionTrailing()
Definition: XalanEXSLTSetImpl.hpp:317
Function ParentType
Definition: XalanEXSLTSetImpl.hpp:315
XalanEXSLTFunctionHasSameNode()
Definition: XalanEXSLTSetImpl.hpp:144
virtual ~XalanEXSLTFunctionIntersection()
Definition: XalanEXSLTSetImpl.hpp:212

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