Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XercesTextBridgeAllocator.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(XERCESTEXTBRIDGEALLOCATOR_INCLUDE_GUARD_12455133)
18 #define XERCESTEXTBRIDGEALLOCATOR_INCLUDE_GUARD_12455133
19 
20 
21 
23 
24 
25 
27 
28 
29 
31 
32 
33 
34 XALAN_CPP_NAMESPACE_BEGIN
35 
36 
43 {
44 public:
45 
47 
48 
49 #if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
50  typedef ArenaBlock<ObjectType> ArenaBlockType;
51 
52  typedef ArenaAllocator<ObjectType,
53  ArenaBlockType> ArenaAllocatorType;
54 #else
56 #endif
57 
59 
65  XercesTextBridgeAllocator(size_type theBlockCount);
66 
68 
77  ObjectType*
78  create(
79  const DOM_TextType& theXercesText,
80  const XercesBridgeNavigator& theNavigator);
81 
85  void
86  reset();
87 
94  size_type
95  getBlockCount() const
96  {
97  return m_allocator.getBlockCount();
98  }
99 
105  size_type
106  getBlockSize() const
107  {
108  return m_allocator.getBlockSize();
109  }
110 
111 private:
112 
113  // Not implemented...
115 
117  operator=(const XercesTextBridgeAllocator&);
118 
119  // Data members...
120  ArenaAllocatorType m_allocator;
121 };
122 
123 
124 
125 XALAN_CPP_NAMESPACE_END
126 
127 
128 
129 #endif // XERCESTEXTBRIDGEALLOCATOR_INCLUDE_GUARD_12455133

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