Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Types | Public Member Functions | Public Attributes | List of all members
XalanObjectCache< ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType > Class Template Reference

#include <XalanObjectCache.hpp>

Public Types

typedef XalanVector< ObjectType * > VectorType
 
typedef ObjectType CacheObjectType
 

Public Member Functions

 XalanObjectCache (MemoryManager &theManager, XalanSize_t initialListSize=0)
 
 ~XalanObjectCache ()
 
ObjectType * get ()
 
bool release (ObjectType *theInstance)
 
void reset ()
 

Public Attributes

CreateFunctorType m_createFunctor
 
DeleteFunctorType m_deleteFunctor
 
ResetFunctorType m_resetFunctor
 

Detailed Description

template<class ObjectType, class CreateFunctorType = DefaultCacheCreateFunctor<ObjectType>, class DeleteFunctorType = DeleteFunctor<ObjectType>, class ResetFunctorType = DefaultCacheResetFunctor<ObjectType>>
class XalanObjectCache< ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType >

Definition at line 267 of file XalanObjectCache.hpp.

Member Typedef Documentation

◆ CacheObjectType

template<class ObjectType, class CreateFunctorType = DefaultCacheCreateFunctor<ObjectType>, class DeleteFunctorType = DeleteFunctor<ObjectType>, class ResetFunctorType = DefaultCacheResetFunctor<ObjectType>>
typedef ObjectType XalanObjectCache< ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType >::CacheObjectType

Definition at line 273 of file XalanObjectCache.hpp.

◆ VectorType

template<class ObjectType, class CreateFunctorType = DefaultCacheCreateFunctor<ObjectType>, class DeleteFunctorType = DeleteFunctor<ObjectType>, class ResetFunctorType = DefaultCacheResetFunctor<ObjectType>>
typedef XalanVector<ObjectType*> XalanObjectCache< ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType >::VectorType

Definition at line 271 of file XalanObjectCache.hpp.

Constructor & Destructor Documentation

◆ XalanObjectCache()

template<class ObjectType, class CreateFunctorType = DefaultCacheCreateFunctor<ObjectType>, class DeleteFunctorType = DeleteFunctor<ObjectType>, class ResetFunctorType = DefaultCacheResetFunctor<ObjectType>>
XalanObjectCache< ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType >::XalanObjectCache ( MemoryManager &  theManager,
XalanSize_t  initialListSize = 0 
)
inlineexplicit

Definition at line 276 of file XalanObjectCache.hpp.

◆ ~XalanObjectCache()

template<class ObjectType, class CreateFunctorType = DefaultCacheCreateFunctor<ObjectType>, class DeleteFunctorType = DeleteFunctor<ObjectType>, class ResetFunctorType = DefaultCacheResetFunctor<ObjectType>>
XalanObjectCache< ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType >::~XalanObjectCache ( )
inline

Definition at line 284 of file XalanObjectCache.hpp.

Member Function Documentation

◆ get()

template<class ObjectType, class CreateFunctorType = DefaultCacheCreateFunctor<ObjectType>, class DeleteFunctorType = DeleteFunctor<ObjectType>, class ResetFunctorType = DefaultCacheResetFunctor<ObjectType>>
ObjectType* XalanObjectCache< ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType >::get ( )
inline

Definition at line 299 of file XalanObjectCache.hpp.

◆ release()

template<class ObjectType, class CreateFunctorType = DefaultCacheCreateFunctor<ObjectType>, class DeleteFunctorType = DeleteFunctor<ObjectType>, class ResetFunctorType = DefaultCacheResetFunctor<ObjectType>>
bool XalanObjectCache< ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType >::release ( ObjectType *  theInstance)
inline

Definition at line 318 of file XalanObjectCache.hpp.

◆ reset()

template<class ObjectType, class CreateFunctorType = DefaultCacheCreateFunctor<ObjectType>, class DeleteFunctorType = DeleteFunctor<ObjectType>, class ResetFunctorType = DefaultCacheResetFunctor<ObjectType>>
void XalanObjectCache< ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType >::reset ( )
inline

Definition at line 328 of file XalanObjectCache.hpp.

Member Data Documentation

◆ m_createFunctor

template<class ObjectType, class CreateFunctorType = DefaultCacheCreateFunctor<ObjectType>, class DeleteFunctorType = DeleteFunctor<ObjectType>, class ResetFunctorType = DefaultCacheResetFunctor<ObjectType>>
CreateFunctorType XalanObjectCache< ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType >::m_createFunctor

Definition at line 333 of file XalanObjectCache.hpp.

◆ m_deleteFunctor

template<class ObjectType, class CreateFunctorType = DefaultCacheCreateFunctor<ObjectType>, class DeleteFunctorType = DeleteFunctor<ObjectType>, class ResetFunctorType = DefaultCacheResetFunctor<ObjectType>>
DeleteFunctorType XalanObjectCache< ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType >::m_deleteFunctor

Definition at line 335 of file XalanObjectCache.hpp.

◆ m_resetFunctor

template<class ObjectType, class CreateFunctorType = DefaultCacheCreateFunctor<ObjectType>, class DeleteFunctorType = DeleteFunctor<ObjectType>, class ResetFunctorType = DefaultCacheResetFunctor<ObjectType>>
ResetFunctorType XalanObjectCache< ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType >::m_resetFunctor

Definition at line 337 of file XalanObjectCache.hpp.


The documentation for this class was generated from the following file:

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

Xalan-C++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.

Apache Logo