## Xalan-C++ API Documentation

### The Xalan C++ XSLT Processor Version 1.10

Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members

# 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         MemoryManagerType&      theManager,
    00060         const XalanQName&       name,
    00061         const XalanDOMString&   expr);
    00062
    00063     static TopLevelArg*
    00064     create(
    00065         MemoryManagerType&      theManager,
    00066         const XalanQName&       name,
    00067         const XalanDOMString&   expr);
    00074     TopLevelArg(
    00075         MemoryManagerType&  theManager,
    00076         const XalanQName&   name,
    00077         const XObjectPtr    variable = XObjectPtr());
    00078
    00079     static TopLevelArg*
    00080     create(
    00081         MemoryManagerType&      theManager,
    00082         const XalanQName&       name,
    00083         const XObjectPtr    variable = XObjectPtr());
    00089     TopLevelArg(
    00090                 const TopLevelArg&  theSource,
    00091                 MemoryManagerType&  theManager);
    00092
    00093
    00097     ~TopLevelArg();
    00098
    00104     const XalanQName&
    00105     getName() const
    00106     {
    00107         return m_qname;
    00108     }
    00109
    00115     const XalanDOMString&
    00116     getExpression() const
    00117     {
    00118         return m_expression;
    00119     };
    00120
    00126     const XObjectPtr
    00127     getXObject() const
    00128     {
    00129         return m_xobject;
    00130     }
    00131
    00135     TopLevelArg&
    00136     operator=(const TopLevelArg&    theRHS)
    00137     {
    00138         if (&theRHS != this)
    00139         {
    00140             m_qname = theRHS.m_qname;
    00141
    00142             m_expression = theRHS.m_expression;
    00143         }
    00144
    00145         return *this;
    00146     }
    00147
    00148 private:
    00149     // not implemented
    00150     TopLevelArg(const TopLevelArg&  theSource);
    00151
    00152     XalanQNameByValue   m_qname;
    00153
    00154     XalanDOMString      m_expression;
    00155
    00156     const XObjectPtr    m_xobject;
    00157 };
    00158
    00159 XALAN_USES_MEMORY_MANAGER(TopLevelArg)
    00160
    00161 XALAN_CPP_NAMESPACE_END
    00162
    00163
    00164
    00165 #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.10 Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.