Xalan-C++ API Reference  1.12.0
Classes | Public Types | Public Member Functions | List of all members
xalanc::XalanMemMgrAutoPtr< Type > Class Template Reference

#include <xalanc/Include/XalanMemMgrAutoPtr.hpp>

Inheritance diagram for xalanc::XalanMemMgrAutoPtr< Type >:
[legend]

Classes

class  MemMgrAutoPtrData
 

Public Types

typedef std::pair< MemoryManager *, Type * > AutoPtrPairType
 

Public Member Functions

 XalanMemMgrAutoPtr (MemoryManager &theManager, Type *ptr)
 
 XalanMemMgrAutoPtr ()
 
 XalanMemMgrAutoPtr (const XalanMemMgrAutoPtr< Type > &theSource)
 
XalanMemMgrAutoPtr< Type > & operator= (XalanMemMgrAutoPtr< Type > &theRHS)
 
 ~XalanMemMgrAutoPtr ()
 
Type & operator* () const
 
Type * operator-> () const
 
Type * get () const
 
MemoryManager * getMemoryManager ()
 
const MemoryManager * getMemoryManager () const
 
MemMgrAutoPtrData release ()
 
Type * releasePtr ()
 
void reset (MemoryManager *theManager=0, Type *thePointer=0)
 

Detailed Description

template<class Type>
class xalanc::XalanMemMgrAutoPtr< Type >

Definition at line 46 of file XalanMemMgrAutoPtr.hpp.

Member Typedef Documentation

◆ AutoPtrPairType

template<class Type >
typedef std::pair<MemoryManager*, Type*> xalanc::XalanMemMgrAutoPtr< Type >::AutoPtrPairType

Definition at line 50 of file XalanMemMgrAutoPtr.hpp.

Constructor & Destructor Documentation

◆ XalanMemMgrAutoPtr() [1/3]

template<class Type >
xalanc::XalanMemMgrAutoPtr< Type >::XalanMemMgrAutoPtr ( MemoryManager &  theManager,
Type *  ptr 
)
inline

Definition at line 114 of file XalanMemMgrAutoPtr.hpp.

◆ XalanMemMgrAutoPtr() [2/3]

template<class Type >
xalanc::XalanMemMgrAutoPtr< Type >::XalanMemMgrAutoPtr ( )
inline

Definition at line 121 of file XalanMemMgrAutoPtr.hpp.

◆ XalanMemMgrAutoPtr() [3/3]

template<class Type >
xalanc::XalanMemMgrAutoPtr< Type >::XalanMemMgrAutoPtr ( const XalanMemMgrAutoPtr< Type > &  theSource)
inline

Definition at line 126 of file XalanMemMgrAutoPtr.hpp.

◆ ~XalanMemMgrAutoPtr()

template<class Type >
xalanc::XalanMemMgrAutoPtr< Type >::~XalanMemMgrAutoPtr ( )
inline

Definition at line 144 of file XalanMemMgrAutoPtr.hpp.

Member Function Documentation

◆ get()

template<class Type >
Type* xalanc::XalanMemMgrAutoPtr< Type >::get ( ) const
inline

Definition at line 162 of file XalanMemMgrAutoPtr.hpp.

◆ getMemoryManager() [1/2]

template<class Type >
MemoryManager* xalanc::XalanMemMgrAutoPtr< Type >::getMemoryManager ( )
inline

Definition at line 168 of file XalanMemMgrAutoPtr.hpp.

◆ getMemoryManager() [2/2]

template<class Type >
const MemoryManager* xalanc::XalanMemMgrAutoPtr< Type >::getMemoryManager ( ) const
inline

Definition at line 174 of file XalanMemMgrAutoPtr.hpp.

◆ operator*()

template<class Type >
Type& xalanc::XalanMemMgrAutoPtr< Type >::operator* ( ) const
inline

Definition at line 150 of file XalanMemMgrAutoPtr.hpp.

◆ operator->()

template<class Type >
Type* xalanc::XalanMemMgrAutoPtr< Type >::operator-> ( ) const
inline

Definition at line 156 of file XalanMemMgrAutoPtr.hpp.

◆ operator=()

template<class Type >
XalanMemMgrAutoPtr<Type>& xalanc::XalanMemMgrAutoPtr< Type >::operator= ( XalanMemMgrAutoPtr< Type > &  theRHS)
inline

Definition at line 132 of file XalanMemMgrAutoPtr.hpp.

◆ release()

template<class Type >
MemMgrAutoPtrData xalanc::XalanMemMgrAutoPtr< Type >::release ( )
inline

◆ releasePtr()

template<class Type >
Type* xalanc::XalanMemMgrAutoPtr< Type >::releasePtr ( )
inline

Definition at line 190 of file XalanMemMgrAutoPtr.hpp.

◆ reset()

template<class Type >
void xalanc::XalanMemMgrAutoPtr< Type >::reset ( MemoryManager *  theManager = 0,
Type *  thePointer = 0 
)
inline

Definition at line 198 of file XalanMemMgrAutoPtr.hpp.


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