Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.8

Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

TopLevelArg.hpp

Go to the documentation of this file.
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_TOPLEVELARG_HEADER_GUARD) 00018 #define XALAN_TOPLEVELARG_HEADER_GUARD 00019 00020 00021 00022 00023 // Base include file. Must be first. 00024 #include <xalanc/XSLT/XSLTDefinitions.hpp> 00025 00026 00027 00028 #include <xalanc/XalanDOM/XalanDOMString.hpp> 00029 00030 00031 00032 #include <xalanc/XPath/XalanQNameByValue.hpp> 00033 #include <xalanc/XPath/XObject.hpp> 00034 00035 00036 00037 XALAN_CPP_NAMESPACE_BEGIN 00038 00039 00040 00041 class XObjectPtr; 00042 00043 00044 00048 class XALAN_XSLT_EXPORT TopLevelArg 00049 { 00050 public: 00051 00058 TopLevelArg( 00059 const XalanQName& name, 00060 const XalanDOMString& expr); 00061 00068 TopLevelArg( 00069 const XalanQName& name = XalanQNameByValue(), 00070 const XObjectPtr variable = XObjectPtr()); 00071 00077 TopLevelArg(const TopLevelArg& theSource); 00078 00082 ~TopLevelArg(); 00083 00089 const XalanQName& 00090 getName() const 00091 { 00092 return m_qname; 00093 } 00094 00100 const XalanDOMString& 00101 getExpression() const 00102 { 00103 return m_expression; 00104 }; 00105 00111 const XObjectPtr 00112 getXObject() const 00113 { 00114 return m_xobject; 00115 } 00116 00120 TopLevelArg& 00121 operator=(const TopLevelArg& theRHS) 00122 { 00123 if (&theRHS != this) 00124 { 00125 m_qname = theRHS.m_qname; 00126 00127 m_expression = theRHS.m_expression; 00128 } 00129 00130 return *this; 00131 } 00132 00133 private: 00134 00135 XalanQNameByValue m_qname; 00136 00137 XalanDOMString m_expression; 00138 00139 const XObjectPtr m_xobject; 00140 }; 00141 00142 00143 00144 XALAN_CPP_NAMESPACE_END 00145 00146 00147 00148 #endif // XALAN_TOPLEVELARG_HEADER_GUARD

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

Xalan-C++ XSLT Processor Version 1.8
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.