Xalan-C++ API Reference  1.12.0
XalanEXSLTDynamicImpl.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_DYNAMICIMPL_HEADER_GUARD_1357924680)
19 #define EXSLT_DYNAMICIMPL_HEADER_GUARD_1357924680
20 
21 
22 
24 
25 
26 
28 
29 
30 
32 
33 
34 
36 
37 
38 
39 namespace XALAN_CPP_NAMESPACE {
40 
41 
42 
44 {
45 public:
46 
48 
51  {
52  }
53 
54  virtual
56  {
57  }
58 
59  using ParentType::execute;
60 
61  virtual XObjectPtr
62  execute(
63  XPathExecutionContext& executionContext,
64  XalanNode* context,
65  const XObjectArgVectorType& args,
66  const Locator* locator) const;
67 
69  clone(MemoryManager& theManager) const
70  {
71  return XalanCopyConstruct(theManager, *this);
72  }
73 
74 protected:
75 
76  virtual const XalanDOMString&
77  getError(XalanDOMString& theResult) const
78  {
79  return XalanMessageLoader::getMessage(
80  theResult,
81  XalanMessages::EXSLTFunctionAcceptsOneArgument_1Param,
82  "evaluate");
83  }
84 
85 private:
86 
87  // Not implemented...
89  operator=(const XalanEXSLTFunctionEvaluate&);
90 
91  bool
93 };
94 
95 
96 
97 }
98 
99 
100 
101 #endif // EXSLT_DYNAMICIMPL_HEADER_GUARD_1357924680
xalanc::XalanEXSLTFunctionEvaluate
Definition: XalanEXSLTDynamicImpl.hpp:43
XALAN_CPP_NAMESPACE
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
Definition: XalanVersion.hpp:76
xalanc::XalanNode
Definition: XalanNode.hpp:38
xalanc::XalanEXSLTFunctionEvaluate::XalanEXSLTFunctionEvaluate
XalanEXSLTFunctionEvaluate()
Definition: XalanEXSLTDynamicImpl.hpp:49
xalanc::FunctionEvaluate
XPath implementation of "node-set" function.
Definition: FunctionEvaluate.hpp:40
XALAN_EXSLT_EXPORT
#define XALAN_EXSLT_EXPORT
Definition: XalanEXSLTDefinitions.hpp:35
xalanc::operator==
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
Definition: XalanVector.hpp:1118
XalanMessageLoader.hpp
xalanc::XObjectPtr
Class to hold XObjectPtr return types.
Definition: XObject.hpp:883
xalanc::XalanCopyConstruct
Type * XalanCopyConstruct(MemoryManager &theMemoryManager, const Type &theSource)
Definition: XalanMemoryManagement.hpp:450
xalanc::XalanEXSLTFunctionEvaluate::~XalanEXSLTFunctionEvaluate
virtual ~XalanEXSLTFunctionEvaluate()
Definition: XalanEXSLTDynamicImpl.hpp:55
xalanc::XalanEXSLTFunctionEvaluate::ParentType
FunctionEvaluate ParentType
Definition: XalanEXSLTDynamicImpl.hpp:47
xalanc::XPathExecutionContext
Definition: XPathExecutionContext.hpp:82
XalanEXSLTDefinitions.hpp
xalanc::XalanEXSLTFunctionEvaluate::getError
virtual const XalanDOMString & getError(XalanDOMString &theResult) const
Get the error message to report when the function is called with the wrong number of arguments.
Definition: XalanEXSLTDynamicImpl.hpp:77
xalanc::XalanDOMString
Definition: XalanDOMString.hpp:45
Function.hpp
FunctionEvaluate.hpp
xalanc::XalanEXSLTFunctionEvaluate::clone
virtual XalanEXSLTFunctionEvaluate * clone(MemoryManager &theManager) const
Create a copy of the function object.
Definition: XalanEXSLTDynamicImpl.hpp:69