00001 /* 00002 * Copyright 1999-2004 The Apache Software Foundation. 00003 * 00004 * Licensed under the Apache License, Version 2.0 (the "License"); 00005 * you may not use this file except in compliance with the License. 00006 * You may obtain a copy of the License at 00007 * 00008 * http://www.apache.org/licenses/LICENSE-2.0 00009 * 00010 * Unless required by applicable law or agreed to in writing, software 00011 * distributed under the License is distributed on an "AS IS" BASIS, 00012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 * See the License for the specific language governing permissions and 00014 * limitations under the License. 00015 */ 00016 00017 #if !defined(XALAN_PARAMHOLDER_HEADER_GUARD) 00018 #define XALAN_PARAMHOLDER_HEADER_GUARD 00019 00020 00021 00022 // Base include file. Must be first. 00023 #include <xalanc/XSLT/XSLTDefinitions.hpp> 00024 00025 00026 00027 #include <xalanc/XalanDOM/XalanDOMString.hpp> 00028 00029 00030 00031 #include <xalanc/XPath/XObject.hpp> 00032 00033 00034 00035 XALAN_CPP_NAMESPACE_BEGIN 00036 00037 00038 00039 XALAN_USING_XERCES(MemoryManager) 00040 00041 00042 00043 class XalanParamHolder 00044 { 00045 public: 00046 00047 XalanParamHolder(MemoryManager& theMemoryManager) : 00048 m_expression(theMemoryManager), 00049 m_value() 00050 { 00051 } 00052 00053 XalanParamHolder( 00054 const XalanParamHolder& theRHS, 00055 MemoryManager& theMemoryManager) : 00056 m_expression(theRHS.m_expression, theMemoryManager), 00057 m_value(theRHS.m_value) 00058 { 00059 } 00060 00061 XalanParamHolder( 00062 MemoryManager& theMemoryManager, 00063 const XalanDOMString& theString) : 00064 m_expression(theString, theMemoryManager), 00065 m_value() 00066 { 00067 } 00068 00069 XalanParamHolder( 00070 MemoryManager& theMemoryManager, 00071 XObjectPtr theXObject) : 00072 m_expression(theMemoryManager), 00073 m_value(theXObject) 00074 { 00075 } 00076 00077 XalanDOMString m_expression; 00078 00079 XObjectPtr m_value; 00080 00081 private: 00082 00083 // These are not implemented... 00084 XalanParamHolder(); 00085 00086 XalanParamHolder(const XalanParamHolder& theRHS); 00087 }; 00088 00089 XALAN_USES_MEMORY_MANAGER(XalanParamHolder) 00090 00091 00092 00093 XALAN_CPP_NAMESPACE_END 00094 00095 00096 00097 #endif // XALAN_PARAMHOLDER_HEADER_GUARD
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.11 |
|