17 #if !defined(XALANDOMSTRINGALLOCATOR_INCLUDE_GUARD_12455133)
18 #define XALANDOMSTRINGALLOCATOR_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);
142 return m_allocator.ownsObject(theObject);
160 getBlockCount()
const
162 return m_allocator.getBlockCount();
174 return m_allocator.getBlockSize();
186 return m_allocator.getMemoryManager();
196 getMemoryManager()
const
198 return m_allocator.getMemoryManager();
210 ArenaAllocatorType m_allocator;
215 XALAN_CPP_NAMESPACE_END
219 #endif // XALANDOMSTRINGALLOCATOR_INCLUDE_GUARD_12455133