Xalan-C++ API Reference  1.12.0
Public Types | Public Member Functions | Public Attributes | List of all members
xalanc::XalanObjectStackCache< ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType > Class Template Reference

#include <xalanc/Include/XalanObjectStackCache.hpp>

Inheritance diagram for xalanc::XalanObjectStackCache< ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType >:
[legend]
Collaboration diagram for xalanc::XalanObjectStackCache< ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType >:
[legend]

Public Types

typedef XalanVector< ObjectType * > VectorType
 
typedef ObjectType CacheObjectType
 

Public Member Functions

 XalanObjectStackCache (MemoryManager &theManager, XalanSize_t initialListSize=0)
 
 ~XalanObjectStackCache ()
 
ObjectType * get ()
 
ObjectType * top ()
 
ObjectType * release ()
 
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 xalanc::XalanObjectStackCache< ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType >

Definition at line 48 of file XalanObjectStackCache.hpp.

Member Typedef Documentation

◆ CacheObjectType

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

Definition at line 54 of file XalanObjectStackCache.hpp.

◆ VectorType

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

Definition at line 52 of file XalanObjectStackCache.hpp.

Constructor & Destructor Documentation

◆ XalanObjectStackCache()

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

Definition at line 57 of file XalanObjectStackCache.hpp.

◆ ~XalanObjectStackCache()

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

Definition at line 68 of file XalanObjectStackCache.hpp.

Member Function Documentation

◆ get()

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

Definition at line 79 of file XalanObjectStackCache.hpp.

◆ release()

template<class ObjectType , class CreateFunctorType = DefaultCacheCreateFunctor<ObjectType>, class DeleteFunctorType = DeleteFunctor<ObjectType>, class ResetFunctorType = DefaultCacheResetFunctor<ObjectType>>
ObjectType* xalanc::XalanObjectStackCache< ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType >::release ( )
inline

Definition at line 104 of file XalanObjectStackCache.hpp.

◆ reset()

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

Definition at line 112 of file XalanObjectStackCache.hpp.

◆ top()

template<class ObjectType , class CreateFunctorType = DefaultCacheCreateFunctor<ObjectType>, class DeleteFunctorType = DeleteFunctor<ObjectType>, class ResetFunctorType = DefaultCacheResetFunctor<ObjectType>>
ObjectType* xalanc::XalanObjectStackCache< ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType >::top ( )
inline

Definition at line 96 of file XalanObjectStackCache.hpp.

Member Data Documentation

◆ m_createFunctor

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

Definition at line 123 of file XalanObjectStackCache.hpp.

◆ m_deleteFunctor

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

Definition at line 125 of file XalanObjectStackCache.hpp.

◆ m_resetFunctor

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

Definition at line 127 of file XalanObjectStackCache.hpp.


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