Xalan-C++ API Reference  1.12.0
XObjectResultTreeFragProxy.hpp
Go to the documentation of this file.
1 /*
2  * Licensed to the Apache Software Foundation (ASF) under one
3  * or more contributor license agreements. See the NOTICE file
4  * distributed with this work for additional information
5  * regarding copyright ownership. The ASF licenses this file
6  * to you under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  */
18 #if !defined(XOBJECTRESULTTREEFRAGPROXY_HEADER_GUARD_1357924680)
19 #define XOBJECTRESULTTREEFRAGPROXY_HEADER_GUARD_1357924680
20 
21 
22 
23 // Base include file. Must be first.
25 
26 
27 
29 
30 
31 
34 
35 
36 
37 namespace XALAN_CPP_NAMESPACE {
38 
39 
40 
41 class XPathExecutionContext;
42 
43 
44 
46 {
47 public:
48 
49  /**
50  * Constructor.
51  *
52  * @param theXObject The XObject instance for which this is a proxy.
53  * @param theManager The MemoryManager for this instance.
54  * @param theExecutionContext An optional XPathExecutionContext instance.
55  */
57  const XObject& value,
58  MemoryManager& theManager,
59  XPathExecutionContext* theExecutionContext);
60 
61  virtual
63 
64 
67  {
68  return m_proxy.getExecutionContext();
69  }
70 
71  // These interfaces are inherited from XalanDocumentFragment...
72 
73  virtual XalanNode*
74  getFirstChild() const;
75 
76  virtual XalanNode*
77  getLastChild() const;
78 
79 private:
80 
81  // Not implemented...
83 
85  operator=(const XObjectResultTreeFragProxy& theRHS);
86 
87  bool
89 
90 
91  // Data members...
92  mutable XObjectResultTreeFragProxyText m_proxy;
93 };
94 
95 
96 
97 }
98 
99 
100 
101 #endif // XOBJECTRESULTTREEFRAGPROXY_HEADER_GUARD_1357924680
XALAN_CPP_NAMESPACE
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
Definition: XalanVersion.hpp:76
xalanc::XObjectResultTreeFragProxy
Definition: XObjectResultTreeFragProxy.hpp:45
xalanc::XalanNode
Definition: XalanNode.hpp:38
XObjectResultTreeFragProxyText.hpp
xalanc::operator==
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
Definition: XalanVector.hpp:1118
XALAN_XPATH_EXPORT
#define XALAN_XPATH_EXPORT
Definition: XPathDefinitions.hpp:35
xalanc::XObjectResultTreeFragProxyBase
Definition: XObjectResultTreeFragProxyBase.hpp:38
xalanc::XObjectResultTreeFragProxy::getExecutionContext
XPathExecutionContext * getExecutionContext()
Definition: XObjectResultTreeFragProxy.hpp:66
XalanMemoryManagement.hpp
xalanc::XObject
Class to hold XPath return types.
Definition: XObject.hpp:63
xalanc::XPathExecutionContext
Definition: XPathExecutionContext.hpp:82
xalanc::XObjectResultTreeFragProxyText
Definition: XObjectResultTreeFragProxyText.hpp:42
XObjectResultTreeFragProxyBase.hpp
XPathDefinitions.hpp