Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XTokenNumberAdapter.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(XTOKENNUMBERADAPTER_HEADER_GUARD_1357924680)
17 #define XTOKENNUMBERADAPTER_HEADER_GUARD_1357924680
18 
19 
20 
21 // Base header file. Must be first.
23 
24 
25 
27 
28 
29 
30 // Base class header file.
32 
33 
34 
35 XALAN_CPP_NAMESPACE_BEGIN
36 
37 
38 
39 class XToken;
40 
41 
42 
44 {
45 public:
46 
52  XTokenNumberAdapter(const XToken& theToken);
53 
55 
56  virtual
58 
59  // These methods are inherited from XObject ...
60 
61  virtual double
62  num() const;
63 
64  virtual const XalanDOMString&
65  str() const;
66 
67  virtual void
68  str(
69  FormatterListener& formatterListener,
70  MemberFunctionPtr function) const;
71 
72  virtual void
73  str(XalanDOMString& theBuffer) const;
74 
75  virtual double
76  stringLength() const;
77 
78 protected:
79 
80  virtual eObjectType
81  getRealType() const;
82 
83 private:
84 
85  // XToken instance that we're adapting...
86  const XToken& m_value;
87 };
88 
89 
90 
91 XALAN_CPP_NAMESPACE_END
92 
93 
94 
95 #endif // XTOKENNUMBERADAPTER_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