Xalan-C++ API Reference 1.12.0
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

namespace  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

◆ XALAN_DEFAULT_MEMMGR

#define XALAN_DEFAULT_MEMMGR   = XalanMemMgrs::getDefaultXercesMemMgr()

Definition at line 516 of file XalanMemoryManagement.hpp.

Referenced by xalanc::AttributesImpl::AttributesImpl(), xalanc::XalanSourceTreeWrapperParsedSource::createHelper(), xalanc::XercesDOMWrapperParsedSource::createHelper(), xalanc::ElementPrefixResolverProxy::ElementPrefixResolverProxy(), xalanc::ElementPrefixResolverProxy::ElementPrefixResolverProxy(), xalanc::FormatterToHTML::FormatterToHTML(), xalanc::FormatterToSourceTree::FormatterToSourceTree(), xalanc::FormatterToText::FormatterToText(), xalanc::FormatterToText::FormatterToText(), xalanc::FormatterToXercesDOM::FormatterToXercesDOM(), xalanc::FormatterToXercesDOM::FormatterToXercesDOM(), xalanc::FormatterToXML::FormatterToXML(), xalanc::FormatterTreeWalker::FormatterTreeWalker(), xalanc::XPathEvaluator::initialize(), xalanc::PrintWriter::PrintWriter(), xalanc::XalanDefaultParsedSource::XalanDefaultParsedSource(), xalanc::XalanDefaultParsedSourceHelper::XalanDefaultParsedSourceHelper(), xalanc::XalanDocumentPrefixResolver::XalanDocumentPrefixResolver(), xalanc::XalanDOMString::XalanDOMString(), xalanc::XalanDOMString::XalanDOMString(), xalanc::XalanDOMString::XalanDOMString(), xalanc::XalanSourceTreeInit::XalanSourceTreeInit(), xalanc::XalanSourceTreeParserLiaison::XalanSourceTreeParserLiaison(), xalanc::XalanSourceTreeParserLiaison::XalanSourceTreeParserLiaison(), xalanc::XalanSourceTreeWrapperParsedSource::XalanSourceTreeWrapperParsedSource(), xalanc::XalanStdOutputStream::XalanStdOutputStream(), xalanc::XercesDOMParsedSource::XercesDOMParsedSource(), xalanc::XercesDOMWrapperParsedSource::XercesDOMWrapperParsedSource(), xalanc::XercesParserLiaison::XercesParserLiaison(), xalanc::XercesParserLiaison::XercesParserLiaison(), xalanc::XMLSupportInit::XMLSupportInit(), xalanc::XObjectFactoryDefault::XObjectFactoryDefault(), xalanc::XPathConstructionContextDefault::XPathConstructionContextDefault(), xalanc::XPathEnvSupportDefault::XPathEnvSupportDefault(), xalanc::XPathEvaluator::XPathEvaluator(), xalanc::XPathFactoryDefault::XPathFactoryDefault(), xalanc::XPathInit::XPathInit(), and xalanc::XPathProcessorImpl::XPathProcessorImpl().

◆ 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.

Referenced by xalanc::TranscodeFromLocalCodePage().