17 #if !defined(XALANDOMSTRINGREUSABLEALLOCATOR_INCLUDE_GUARD_12455133)
18 #define XALANDOMSTRINGREUSABLEALLOCATOR_INCLUDE_GUARD_12455133
35 XALAN_CPP_NAMESPACE_BEGIN
46 #if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
57 enum { eDefaultBlockSize = 32 };
87 const char* theString,
88 #
if defined(_MSC_VER) && (_MSC_VER <= 1300)
90 data_type_size_type theCount = data_type_size_type(-1));
92 data_type_size_type theCount = data_type_size_type(data_type::npos));
106 const data_type& theSource,
107 data_type_size_type theStartPosition = 0,
108 data_type_size_type theCount = data_type_size_type(data_type::npos));
120 const XalanDOMChar* theString,
121 data_type_size_type theCount = data_type_size_type(data_type::npos));
133 data_type_size_type theCount,
134 XalanDOMChar theChar);
143 return m_allocator.destroyObject(&theDOMString);
152 return m_allocator.ownsObject(theObject);
170 getBlockCount()
const
172 return m_allocator.getBlockCount();
184 return m_allocator.getBlockSize();
196 return m_allocator.getMemoryManager();
206 getMemoryManager()
const
208 return m_allocator.getMemoryManager();
220 ArenaAllocatorType m_allocator;
225 XALAN_CPP_NAMESPACE_END
229 #endif // XALANDOMSTRINGREUSABLEALLOCATOR_INCLUDE_GUARD_12455133