18#if !defined(STLHELPERS_HEADER_GUARD_1357924680)
19#define STLHELPERS_HEADER_GUARD_1357924680
88XalanDestroyFunctor<Type>
120 MemoryManager& m_memoryManager;
170 MemoryManager& m_memoryManager;
175template<
class MapType>
176MapValueDeleteFunctor<MapType>
270template <
class ScalarType>
340template<
class CollectionType>
352 if (m_collection != 0)
354 m_collection->clear();
373 CollectionType* m_collection;
378template<
class CollectionType,
class DeleteFunctorType>
390 if (m_collection != 0)
397 DeleteFunctorType(m_collection->getMemoryManager()));
416 CollectionType* m_collection;
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
CollectionClearGuard(CollectionType &theCollection)
CollectionDeleteGuard(CollectionType &theCollection)
MemoryManager * getMemoryManager()
MapValueDeleteFunctor< MapType > makeMapValueDeleteFunctor(MapType &theMap)
XalanDestroyFunctor< Type > makeXalanDestroyFunctor(const Type *)
size_t XalanScalarHash(ScalarType theValue, size_t theResult)
Functor to call a clear() member function on its argument.
void operator()(Type &theArg) const
Retrieve the value of a key-value pair.
Functor to delete objects, used in STL iteration algorithms.
void operator()(const Type *thePointer) const
Delete the object pointed to by argument.
DeleteFunctor(MemoryManager &theManager)
Functor to delete value objects in maps, used in STL iteration algorithms.
void operator()(const typename T::value_type &thePair) const
Delete the value object in a map value pair.
MapValueDeleteFunctor(MemoryManager &theManager)
void operator()(Type *theArg)
void operator()(Type *theArg, MemoryManager &theMemoryManager)
void operator()(const Type *theArg)
void operator()(const Type *theArg, MemoryManager &theMemoryManager)
void operator()(Type &theArg)
hash_null_terminated_array< XalanDOMChar > Hasher
equal_null_terminated_arrays< XalanDOMChar > Comparator
bool operator()(const T *theLHS, const T *theRHS) const
Compare the values of two objects.
This functor is designed to compare 0-terminated arrays.
bool operator()(const T *theLHS, const T *theRHS) const
Compare the values of two objects.
bool operator()(const T *theLHS, const T *theRHS) const
bool operator()(const T *theOther) const
pointer_equals_predicate(const T *theArg)
bool operator()(const T *theLHS, const T *theRHS) const
bool operator()(const T *theLHS, const T *theRHS) const