Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

FunctionID.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 #if !defined(FUNCTIONID_HEADER_GUARD_1357924680)
17 #define FUNCTIONID_HEADER_GUARD_1357924680
18 
19 
20 
21 // Base header file. Must be first.
23 
24 
25 
29 
30 
31 
32 // Base class header files...
35 
36 
37 
40 
41 
42 
45 
46 
47 
48 XALAN_CPP_NAMESPACE_BEGIN
49 
50 
51 
56 {
57 public:
58 
60 
61  FunctionID();
62 
63  virtual
64  ~FunctionID();
65 
66  // These methods are inherited from Function ...
67 
68  virtual XObjectPtr
69  execute(
70  XPathExecutionContext& executionContext,
71  XalanNode* context,
72  const XObjectPtr arg1,
73  const LocatorType* locator) const;
74 
75 #if !defined(XALAN_NO_USING_DECLARATION)
76  using ParentType::execute;
77 #endif
78 
79 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
80  virtual Function*
81 #else
82  virtual FunctionID*
83 #endif
84  clone(MemoryManagerType& theManager) const;
85 
86 protected:
87 
88  virtual const XalanDOMString&
89  getError(XalanDOMString& theResult) const;
90 
91 private:
92 
93  class FunctionIDXObjectTypeCallback : public XObjectTypeCallback
94  {
95  public:
96 
97  FunctionIDXObjectTypeCallback(
98  XPathExecutionContext& theExecutionContext,
99  XalanDOMString& theString);
100 
101  void
102  processCallback(const XObject& theXObject);
103 
104  // These methods are inherited from XObjectTypeCallback ...
105 
106  virtual void
107  Number(
108  const XObject& theXObject,
109  double /* theValue */);
110 
111  virtual void
112  Boolean(
113  const XObject& theXObject,
114  bool /* theValue */);
115 
116  virtual void
117  String(
118  const XObject& theXObject,
119  const XalanDOMString& /* theValue */);
120 
121  virtual void
122  ResultTreeFragment(
123  const XObject& theXObject,
124  const XalanDocumentFragment& /* theValue */);
125 
126  virtual void
127  ResultTreeFragment(
128  const XObject& theXObject,
129  XalanDocumentFragment& /* theValue */);
130 
131  virtual void
132  NodeSet(
133  const XObject& /* theXObject */,
134  const NodeRefListBase& theValue);
135 
136  virtual void
137  Unknown(
138  const XObject& /* theObject */,
139  const XalanDOMString& /* theName */);
140 
141  virtual void
142  Null(const XObject& /* theObject */);
143 
144  private:
145 
146  XalanDOMString& m_resultString;
147 
148  XPathExecutionContext& m_executionContext;
149  };
150 
151  // Not implemented...
152  FunctionID&
153  operator=(const FunctionID&);
154 
155  bool
156  operator==(const FunctionID&) const;
157 };
158 
159 
160 
161 XALAN_CPP_NAMESPACE_END
162 
163 
164 
165 #endif // FUNCTIONID_HEADER_GUARD_1357924680

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