Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


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

#include <XalanObjectStackCache.hpp>

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 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 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*> 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>>
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>>
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* XalanObjectStackCache< ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType >::get ( )
inline

Definition at line 80 of file XalanObjectStackCache.hpp.

◆ release()

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

Definition at line 105 of file XalanObjectStackCache.hpp.

◆ reset()

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

Definition at line 113 of file XalanObjectStackCache.hpp.

◆ top()

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

Definition at line 97 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 XalanObjectStackCache< ObjectType, CreateFunctorType, DeleteFunctorType, ResetFunctorType >::m_createFunctor

Definition at line 124 of file XalanObjectStackCache.hpp.

◆ m_deleteFunctor

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

Definition at line 126 of file XalanObjectStackCache.hpp.

◆ m_resetFunctor

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

Definition at line 128 of file XalanObjectStackCache.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