Xalan-C++ API Reference  1.12.0
Classes | Namespaces | Macros | Typedefs | Functions
XalanMemoryManagement.hpp File Reference
#include <xalanc/Include/PlatformDefinitions.hpp>
#include <cassert>
#include <cstddef>
#include <new>
#include <xercesc/framework/MemoryManager.hpp>
Include dependency graph for XalanMemoryManagement.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  xalanc::XalanMemoryManager
 
class  xalanc::XalanAllocationGuard
 
class  xalanc::XalanMemMgrs
 
struct  xalanc::ConstructValueWithNoMemoryManager< C >
 
struct  xalanc::ConstructValueWithMemoryManager< C >
 
struct  xalanc::ConstructWithNoMemoryManager< C >
 
struct  xalanc::ConstructWithMemoryManager< C >
 
struct  xalanc::MemoryManagedConstructionTraits< C >
 
struct  xalanc::ExplicitMemoryManagedConstructionTraits< C >
 
struct  xalanc::ConstructWithMemoryManagerTraits< C >
 
struct  xalanc::ConstructWithNoMemoryManagerTraits< C >
 

Namespaces

 xalanc
 Simple empty elem to push on the stack when nothing else got pushed, so that pop() works correctly.
 

Macros

#define XALAN_DEFAULT_CONSTRUCTOR_MEMMGR   = XalanMemMgrs::getDefaultXercesMemMgr()
 
#define XALAN_DEFAULT_MEMMGR   = XalanMemMgrs::getDefaultXercesMemMgr()
 
#define XALAN_USES_MEMORY_MANAGER(Type)
 

Typedefs

typedef MemoryManager xalanc::MemoryManagerType
 

Functions

template<class Type >
void xalanc::XalanDestroy (Type &theArg)
 
template<class Type >
void xalanc::XalanDestroy (Type *theArg)
 
template<class Type >
void xalanc::XalanDestroy (MemoryManager &theMemoryManager, Type *theArg)
 
template<class Type >
void xalanc::XalanDestroy (MemoryManager &theMemoryManager, Type &theArg)
 
template<class Type >
Type * xalanc::XalanConstruct (MemoryManager &theMemoryManager, Type *&theInstance)
 
template<class Type , class Param1Type >
Type * xalanc::XalanConstruct (MemoryManager &theMemoryManager, Type *&theInstance, const Param1Type &theParam1)
 
template<class Type , class Param1Type >
Type * xalanc::XalanConstruct (MemoryManager &theMemoryManager, Type *&theInstance, Param1Type &theParam1)
 
template<class Type , class Param1Type , class Param2Type >
Type * xalanc::XalanConstruct (MemoryManager &theMemoryManager, Type *&theInstance, Param1Type &theParam1, const Param2Type &theParam2)
 
template<class Type , class Param1Type , class Param2Type , class Param3Type , class Param4Type >
Type * xalanc::XalanConstruct (MemoryManager &theMemoryManager, Type *&theInstance, const Param1Type *theParam1, const Param2Type *theParam2, const Param3Type *theParam3, Param4Type &theParam4)
 
template<class Type , class Param1Type , class Param2Type , class Param3Type , class Param4Type , class Param5Type , class Param6Type >
Type * xalanc::XalanConstruct (MemoryManager &theMemoryManager, Type *&theInstance, const Param1Type *theParam1, const Param2Type *theParam2, const Param3Type *theParam3, const Param4Type *theParam4, const Param5Type *theParam5, Param6Type &theParam6)
 
template<class Type , class Param1Type , class Param2Type , class Param3Type >
Type * xalanc::XalanConstruct (MemoryManager &theMemoryManager, Type *&theInstance, Param1Type &theParam1, const Param2Type &theParam2, Param3Type &theParam3)
 
template<class Type , class Param1Type , class Param2Type , class Param3Type , class Param4Type , class Param5Type >
Type * xalanc::XalanConstruct (MemoryManager &theMemoryManager, Type *&theInstance, Param1Type &theParam1, Param2Type &theParam2, const Param3Type &theParam3, const Param4Type &theParam4, const Param5Type &theParam5)
 
template<class Type , class Param1Type , class Param2Type , class Param3Type , class Param4Type , class Param5Type , class Param6Type >
Type * xalanc::XalanConstruct (MemoryManager &theMemoryManager, Type *&theInstance, Param1Type &theParam1, Param2Type &theParam2, const Param3Type &theParam3, const Param4Type &theParam4, const Param5Type &theParam5, const Param6Type &theParam6)
 
template<class Type >
Type * xalanc::XalanCopyConstruct (MemoryManager &theMemoryManager, const Type &theSource)
 
template<class Type , class Param1Type >
Type * xalanc::XalanCopyConstruct (MemoryManager &theMemoryManager, const Type &theSource, Param1Type &theParam1)
 

Macro Definition Documentation

◆ XALAN_DEFAULT_CONSTRUCTOR_MEMMGR

#define XALAN_DEFAULT_CONSTRUCTOR_MEMMGR   = XalanMemMgrs::getDefaultXercesMemMgr()

Definition at line 515 of file XalanMemoryManagement.hpp.

◆ XALAN_DEFAULT_MEMMGR

#define XALAN_DEFAULT_MEMMGR   = XalanMemMgrs::getDefaultXercesMemMgr()

Definition at line 516 of file XalanMemoryManagement.hpp.

◆ XALAN_USES_MEMORY_MANAGER

#define XALAN_USES_MEMORY_MANAGER (   Type)
Value:
template<> \
struct MemoryManagedConstructionTraits<Type> \
{ \
typedef ConstructWithMemoryManager<Type> Constructor; \
};

Definition at line 589 of file XalanMemoryManagement.hpp.