Xalan-C++ API Reference  1.12.0
XalanParamHolder.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_PARAMHOLDER_HEADER_GUARD)
18 #define XALAN_PARAMHOLDER_HEADER_GUARD
19 
20 
21 
22 // Base include file. Must be first.
24 
25 
26 
28 
29 
30 
31 #include <xalanc/XPath/XObject.hpp>
32 
33 
34 
35 namespace XALAN_CPP_NAMESPACE {
36 
37 
38 
39 using xercesc::MemoryManager;
40 
41 
42 
44 {
45 public:
46 
47  XalanParamHolder(MemoryManager& theMemoryManager) :
48  m_expression(theMemoryManager),
49  m_value()
50  {
51  }
52 
54  const XalanParamHolder& theRHS,
55  MemoryManager& theMemoryManager) :
56  m_expression(theRHS.m_expression, theMemoryManager),
57  m_value(theRHS.m_value)
58  {
59  }
60 
62  MemoryManager& theMemoryManager,
63  const XalanDOMString& theString) :
64  m_expression(theString, theMemoryManager),
65  m_value()
66  {
67  }
68 
70  MemoryManager& theMemoryManager,
71  XObjectPtr theXObject) :
72  m_expression(theMemoryManager),
73  m_value(theXObject)
74  {
75  }
76 
78 
80 
81 private:
82 
83  // These are not implemented...
85 
86  XalanParamHolder(const XalanParamHolder& theRHS);
87 };
88 
90 
91 
92 
93 }
94 
95 
96 
97 #endif // XALAN_PARAMHOLDER_HEADER_GUARD
xalanc::XalanParamHolder::XalanParamHolder
XalanParamHolder(const XalanParamHolder &theRHS, MemoryManager &theMemoryManager)
Definition: XalanParamHolder.hpp:53
XALAN_CPP_NAMESPACE
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
Definition: XalanVersion.hpp:76
XalanDOMString.hpp
XALAN_USES_MEMORY_MANAGER
#define XALAN_USES_MEMORY_MANAGER(Type)
Definition: XalanMemoryManagement.hpp:589
xalanc::XalanParamHolder::XalanParamHolder
XalanParamHolder(MemoryManager &theMemoryManager)
Definition: XalanParamHolder.hpp:47
xalanc::XalanParamHolder::XalanParamHolder
XalanParamHolder(MemoryManager &theMemoryManager, const XalanDOMString &theString)
Definition: XalanParamHolder.hpp:61
xalanc::XObjectPtr
Class to hold XObjectPtr return types.
Definition: XObject.hpp:883
xalanc::XalanParamHolder::m_expression
XalanDOMString m_expression
Definition: XalanParamHolder.hpp:77
xalanc::XalanParamHolder::m_value
XObjectPtr m_value
Definition: XalanParamHolder.hpp:79
xalanc::XalanParamHolder::XalanParamHolder
XalanParamHolder(MemoryManager &theMemoryManager, XObjectPtr theXObject)
Definition: XalanParamHolder.hpp:69
xalanc::XalanParamHolder
Definition: XalanParamHolder.hpp:43
XSLTDefinitions.hpp
xalanc::XalanDOMString
Definition: XalanDOMString.hpp:45
XObject.hpp