Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

TopLevelArg.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_TOPLEVELARG_HEADER_GUARD)
18 #define XALAN_TOPLEVELARG_HEADER_GUARD
19 
20 
21 
22 
23 // Base include file. Must be first.
25 
26 
27 
29 
30 
31 
33 #include <xalanc/XPath/XObject.hpp>
34 
35 
36 
37 XALAN_CPP_NAMESPACE_BEGIN
38 
39 
40 
41 class XObjectPtr;
42 
43 
44 
49 {
50 public:
51 
59  MemoryManagerType& theManager,
60  const XalanQName& name,
61  const XalanDOMString& expr);
62 
63  static TopLevelArg*
64  create(
65  MemoryManagerType& theManager,
66  const XalanQName& name,
67  const XalanDOMString& expr);
75  MemoryManagerType& theManager,
76  const XalanQName& name,
77  const XObjectPtr variable = XObjectPtr());
78 
79  static TopLevelArg*
80  create(
81  MemoryManagerType& theManager,
82  const XalanQName& name,
83  const XObjectPtr variable = XObjectPtr());
90  const TopLevelArg& theSource,
91  MemoryManagerType& theManager);
92 
93 
97  ~TopLevelArg();
98 
104  const XalanQName&
105  getName() const
106  {
107  return m_qname;
108  }
109 
115  const XalanDOMString&
117  {
118  return m_expression;
119  };
120 
126  const XObjectPtr
127  getXObject() const
128  {
129  return m_xobject;
130  }
131 
135  TopLevelArg&
136  operator=(const TopLevelArg& theRHS)
137  {
138  if (&theRHS != this)
139  {
140  m_qname = theRHS.m_qname;
141 
142  m_expression = theRHS.m_expression;
143  }
144 
145  return *this;
146  }
147 
148 private:
149  // not implemented
150  TopLevelArg(const TopLevelArg& theSource);
151 
152  XalanQNameByValue m_qname;
153 
154  XalanDOMString m_expression;
155 
156  const XObjectPtr m_xobject;
157 };
158 
160 
161 XALAN_CPP_NAMESPACE_END
162 
163 
164 
165 #endif // XALAN_TOPLEVELARG_HEADER_GUARD

Interpreting class diagrams

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

dot

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

Apache Logo