Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XercesWrapperNavigatorAllocator.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(XERCESWRAPPERNAVIGATORALLOCATOR_INCLUDE_GUARD_12455133)
18 #define XERCESWRAPPERNAVIGATORALLOCATOR_INCLUDE_GUARD_12455133
19 
20 
21 
23 
24 
25 
27 
28 
29 
31 
32 
33 
34 XALAN_CPP_NAMESPACE_BEGIN
35 
36 
37 
39 {
40 public:
41 
43 
44 #if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
45  typedef ArenaBlock<ObjectType> ArenaBlockType;
46 
47  typedef ArenaAllocator<ObjectType,
48  ArenaBlockType> ArenaAllocatorType;
49 #else
51 #endif
52 
54 
61  size_type theBlockCount);
62 
64 
72  ObjectType*
73  create(XercesDocumentWrapper* theOwnerDocument);
74 
78  void
79  reset();
80 
87  size_type
88  getBlockCount() const
89  {
90  return m_allocator.getBlockCount();
91  }
92 
98  size_type
99  getBlockSize() const
100  {
101  return m_allocator.getBlockSize();
102  }
103 
104 private:
105 
106  // Not implemented...
108 
110  operator=(const XercesWrapperNavigatorAllocator&);
111 
112  // Data members...
113  ArenaAllocatorType m_allocator;
114 };
115 
116 
117 
118 XALAN_CPP_NAMESPACE_END
119 
120 
121 
122 #endif // XERCESWRAPPERNAVIGATORALLOCATOR_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