2020-02-17 22:05:20 +01:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
< html > < head > < meta http-equiv = "Content-Type" content = "text/html;charset=iso-8859-1" >
2020-02-17 22:11:31 +01:00
< title > XQilla Simple API Documentation< / title >
2020-02-17 22:05:20 +01:00
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" >
< / head > < body >
2020-02-17 22:11:31 +01:00
< a style = "float:right;" href = "http://sourceforge.net/projects/xqilla" > < img src = "http://sflogo.sourceforge.net/sflogo.php?group_id=152021&type=2" border = "0" alt = "SourceForge.net Logo" / > < / a >
2020-02-17 22:17:06 +01:00
<!-- Generated by Doxygen 1.5.5 -->
< div class = "navigation" id = "top" >
< div class = "tabs" >
< ul >
< li > < a href = "index.html" > < span > Main Page< / span > < / a > < / li >
< li > < a href = "namespaces.html" > < span > Namespaces< / span > < / a > < / li >
< li class = "current" > < a href = "classes.html" > < span > Classes< / span > < / a > < / li >
< li > < a href = "files.html" > < span > Files< / span > < / a > < / li >
< li > < a href = "examples.html" > < span > Examples< / span > < / a > < / li >
< / ul >
< / div >
< div class = "tabs" >
< ul >
< li > < a href = "classes.html" > < span > Alphabetical List< / span > < / a > < / li >
< li > < a href = "annotated.html" > < span > Class List< / span > < / a > < / li >
< li > < a href = "hierarchy.html" > < span > Class Hierarchy< / span > < / a > < / li >
< li > < a href = "functions.html" > < span > Class Members< / span > < / a > < / li >
< / ul >
< / div >
< div class = "navpath" > < a class = "el" href = "namespacexercesc.html" > xercesc< / a > ::< a class = "el" href = "classxercesc_1_1MemoryManager.html" > MemoryManager< / a >
< / div >
< / div >
< div class = "contents" >
2020-02-17 22:05:20 +01:00
< h1 > xercesc::MemoryManager Class Reference< / h1 > <!-- doxytag: class="xercesc::MemoryManager" --> Configurable memory manager.
< a href = "#_details" > More...< / a >
< p >
< code > #include < < a class = "el" href = "MemoryManager_8hpp-source.html" > MemoryManager.hpp< / a > > < / code >
< p >
2020-02-17 22:17:06 +01:00
< div class = "dynheader" >
Inheritance diagram for xercesc::MemoryManager:< / div >
< div class = "dynsection" >
< p > < center > < img src = "classxercesc_1_1MemoryManager__inherit__graph.png" border = "0" usemap = "#xercesc_1_1MemoryManager__inherit__map" alt = "Inheritance graph" > < / center >
2020-02-17 22:05:20 +01:00
< map name = "xercesc_1_1MemoryManager__inherit__map" >
2020-02-17 22:17:06 +01:00
< area shape = "rect" href = "classXPath2MemoryManager.html" title = "XPath2MemoryManager" alt = "" coords = "11,81,171,105" > < / map >
< center > < font size = "2" > [< a href = "graph_legend.html" > legend< / a > ]< / font > < / center > < / div >
< p >
< a href = "classxercesc_1_1MemoryManager-members.html" > List of all members.< / a > < table border = "0" cellpadding = "0" cellspacing = "0" >
2020-02-17 22:05:20 +01:00
< tr > < td > < / td > < / tr >
< tr > < td colspan = "2" > < br > < h2 > Public Member Functions< / h2 > < / td > < / tr >
2020-02-17 22:17:06 +01:00
< tr > < td class = "memItemLeft" nowrap align = "right" valign = "top" > virtual < a class = "el" href = "classxercesc_1_1MemoryManager.html" > MemoryManager< / a > * < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classxercesc_1_1MemoryManager.html#348edcfe431c8ca3efdd05db58a4674c" > getExceptionMemoryManager< / a > ()=0< / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > This method is called to obtain the memory manager that should be used to allocate memory used in exceptions. < a href = "#348edcfe431c8ca3efdd05db58a4674c" > < / a > < br > < / td > < / tr >
< tr > < td colspan = "2" > < div class = "groupHeader" > Destructor< / div > < / td > < / tr >
< tr > < td class = "memItemLeft" nowrap align = "right" valign = "top" > virtual < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classxercesc_1_1MemoryManager.html#1b429deba7d9333cac7a6ade9b45ca16" > ~MemoryManager< / a > ()< / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > Default destructor. < a href = "#1b429deba7d9333cac7a6ade9b45ca16" > < / a > < br > < / td > < / tr >
2020-02-17 22:05:20 +01:00
< tr > < td colspan = "2" > < div class = "groupHeader" > The pure virtual methods in this interface.< / div > < / td > < / tr >
2020-02-17 22:17:06 +01:00
< tr > < td class = "memItemLeft" nowrap align = "right" valign = "top" > virtual void * < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classxercesc_1_1MemoryManager.html#b6bbb5b604d2159e7ccc4532e4f422af" > allocate< / a > (XMLSize_t size)=0< / td > < / tr >
2020-02-17 22:05:20 +01:00
2020-02-17 22:17:06 +01:00
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > This method allocates requested memory. < a href = "#b6bbb5b604d2159e7ccc4532e4f422af" > < / a > < br > < / td > < / tr >
2020-02-17 22:05:20 +01:00
< tr > < td class = "memItemLeft" nowrap align = "right" valign = "top" > virtual void < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classxercesc_1_1MemoryManager.html#4fd46b0b3634cf5540170ff3dcdfc414" > deallocate< / a > (void *p)=0< / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > This method deallocates memory. < a href = "#4fd46b0b3634cf5540170ff3dcdfc414" > < / a > < br > < / td > < / tr >
2020-02-17 22:17:06 +01:00
< tr > < td colspan = "2" > < br > < h2 > Protected Member Functions< / h2 > < / td > < / tr >
< tr > < td colspan = "2" > < div class = "groupHeader" > Constructor< / div > < / td > < / tr >
< tr > < td class = "memItemLeft" nowrap align = "right" valign = "top" > < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classxercesc_1_1MemoryManager.html#e4805ff1bfd80116c7321e3336b8613e" > MemoryManager< / a > ()< / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > Protected default constructor. < a href = "#e4805ff1bfd80116c7321e3336b8613e" > < / a > < br > < / td > < / tr >
2020-02-17 22:05:20 +01:00
< / table >
< hr > < a name = "_details" > < / a > < h2 > Detailed Description< / h2 >
Configurable memory manager.
< p >
2020-02-17 22:17:06 +01:00
This interface allows outside applications to plug in their own memory manager to be used by Xerces for memory allocation/deallocation. < hr > < h2 > Constructor & Destructor Documentation< / h2 >
2020-02-17 22:10:06 +01:00
< a class = "anchor" name = "1b429deba7d9333cac7a6ade9b45ca16" > < / a > <!-- doxytag: member="xercesc::MemoryManager::~MemoryManager" ref="1b429deba7d9333cac7a6ade9b45ca16" args="()" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2020-02-17 22:05:20 +01:00
< tr >
2020-02-17 22:10:06 +01:00
< td class = "memname" > virtual xercesc::MemoryManager::~MemoryManager < / td >
< td > (< / td >
< td class = "paramname" > < / td >
< td > ) < / td >
< td width = "100%" > < code > [inline, virtual]< / code > < / td >
2020-02-17 22:05:20 +01:00
< / tr >
< / table >
2020-02-17 22:10:06 +01:00
< / div >
< div class = "memdoc" >
2020-02-17 22:05:20 +01:00
< p >
Default destructor.
< p >
2020-02-17 22:10:06 +01:00
< / div >
< / div > < p >
< a class = "anchor" name = "e4805ff1bfd80116c7321e3336b8613e" > < / a > <!-- doxytag: member="xercesc::MemoryManager::MemoryManager" ref="e4805ff1bfd80116c7321e3336b8613e" args="()" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2020-02-17 22:05:20 +01:00
< tr >
2020-02-17 22:10:06 +01:00
< td class = "memname" > xercesc::MemoryManager::MemoryManager < / td >
< td > (< / td >
< td class = "paramname" > < / td >
< td > ) < / td >
< td width = "100%" > < code > [inline, protected]< / code > < / td >
2020-02-17 22:05:20 +01:00
< / tr >
< / table >
2020-02-17 22:10:06 +01:00
< / div >
< div class = "memdoc" >
2020-02-17 22:05:20 +01:00
< p >
Protected default constructor.
< p >
2020-02-17 22:10:06 +01:00
< / div >
< / div > < p >
2020-02-17 22:17:06 +01:00
< hr > < h2 > Member Function Documentation< / h2 >
< a class = "anchor" name = "348edcfe431c8ca3efdd05db58a4674c" > < / a > <!-- doxytag: member="xercesc::MemoryManager::getExceptionMemoryManager" ref="348edcfe431c8ca3efdd05db58a4674c" args="()=0" -->
2020-02-17 22:10:06 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2020-02-17 22:17:06 +01:00
< td class = "memname" > virtual < a class = "el" href = "classxercesc_1_1MemoryManager.html" > MemoryManager< / a > * xercesc::MemoryManager::getExceptionMemoryManager < / td >
2020-02-17 22:10:06 +01:00
< td > (< / td >
< td class = "paramname" > < / td >
< td > ) < / td >
2020-02-17 22:17:06 +01:00
< td width = "100%" > < code > [pure virtual]< / code > < / td >
2020-02-17 22:10:06 +01:00
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p >
2020-02-17 22:17:06 +01:00
This method is called to obtain the memory manager that should be used to allocate memory used in exceptions.
2020-02-17 22:10:06 +01:00
< p >
2020-02-17 22:17:06 +01:00
If the same memory manager can be used, simply return 'this' from this function. Note, however, that if there is a possibility that an exception thrown can outlive the memory manager (for example, because the memory manager object is allocated on the stack or is managed by a stack-bound object), it is recommended that you return < a class = "el" href = "classxercesc_1_1XMLPlatformUtils.html#2521473ea52894e9313573d330a264b4" title = "The configurable memory manager." > XMLPlatformUtils::fgMemoryManager< / a > .< p >
< dl class = "return" compact > < dt > < b > Returns:< / b > < / dt > < dd > A pointer to the memory manager < / dd > < / dl >
2020-02-17 22:10:06 +01:00
< / div >
< / div > < p >
2020-02-17 22:17:06 +01:00
< a class = "anchor" name = "b6bbb5b604d2159e7ccc4532e4f422af" > < / a > <!-- doxytag: member="xercesc::MemoryManager::allocate" ref="b6bbb5b604d2159e7ccc4532e4f422af" args="(XMLSize_t size)=0" -->
2020-02-17 22:10:06 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2020-02-17 22:05:20 +01:00
< tr >
2020-02-17 22:10:06 +01:00
< td class = "memname" > virtual void* xercesc::MemoryManager::allocate < / td >
< td > (< / td >
2020-02-17 22:17:06 +01:00
< td class = "paramtype" > XMLSize_t < / td >
2020-02-17 22:10:06 +01:00
< td class = "paramname" > < em > size< / em > < / td >
< td > ) < / td >
< td width = "100%" > < code > [pure virtual]< / code > < / td >
2020-02-17 22:05:20 +01:00
< / tr >
< / table >
2020-02-17 22:10:06 +01:00
< / div >
< div class = "memdoc" >
2020-02-17 22:05:20 +01:00
< p >
This method allocates requested memory.
< p >
< dl compact > < dt > < b > Parameters:< / b > < / dt > < dd >
< table border = "0" cellspacing = "2" cellpadding = "0" >
< tr > < td valign = "top" > < / td > < td valign = "top" > < em > size< / em > < / td > < td > The requested memory size< / td > < / tr >
< / table >
< / dl >
2020-02-17 22:10:06 +01:00
< dl class = "return" compact > < dt > < b > Returns:< / b > < / dt > < dd > A pointer to the allocated memory < / dd > < / dl >
2020-02-17 22:05:20 +01:00
2020-02-17 22:17:06 +01:00
< p > Referenced by < a class = "el" href = "XPath2MemoryManager_8hpp-source.html#l00124" > XQillaAllocator< _Tp > ::allocate()< / a > , and < a class = "el" href = "XPath2MemoryManager_8hpp-source.html#l00351" > AutoDeallocate< TYPE > ::AutoDeallocate()< / a > .< / p >
2020-02-17 22:10:06 +01:00
< / div >
< / div > < p >
< a class = "anchor" name = "4fd46b0b3634cf5540170ff3dcdfc414" > < / a > <!-- doxytag: member="xercesc::MemoryManager::deallocate" ref="4fd46b0b3634cf5540170ff3dcdfc414" args="(void *p)=0" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2020-02-17 22:05:20 +01:00
< tr >
2020-02-17 22:10:06 +01:00
< td class = "memname" > virtual void xercesc::MemoryManager::deallocate < / td >
< td > (< / td >
< td class = "paramtype" > void * < / td >
< td class = "paramname" > < em > p< / em > < / td >
< td > ) < / td >
< td width = "100%" > < code > [pure virtual]< / code > < / td >
2020-02-17 22:05:20 +01:00
< / tr >
< / table >
2020-02-17 22:10:06 +01:00
< / div >
< div class = "memdoc" >
2020-02-17 22:05:20 +01:00
< p >
This method deallocates memory.
< p >
< dl compact > < dt > < b > Parameters:< / b > < / dt > < dd >
< table border = "0" cellspacing = "2" cellpadding = "0" >
< tr > < td valign = "top" > < / td > < td valign = "top" > < em > p< / em > < / td > < td > The pointer to the allocated memory to be deleted < / td > < / tr >
< / table >
< / dl >
2020-02-17 22:17:06 +01:00
< p > Implemented in < a class = "el" href = "classXPath2MemoryManager.html#ef477327c5b541f370ec190f921a418b" > XPath2MemoryManager< / a > .< / p >
< p > Referenced by < a class = "el" href = "XPath2MemoryManager_8hpp-source.html#l00135" > XQillaAllocator< _Tp > ::deallocate()< / a > , < a class = "el" href = "XPath2MemoryManager_8hpp-source.html#l00391" > AutoDeallocate< TYPE > ::set()< / a > , and < a class = "el" href = "XPath2MemoryManager_8hpp-source.html#l00357" > AutoDeallocate< TYPE > ::~AutoDeallocate()< / a > .< / p >
2020-02-17 22:10:06 +01:00
< / div >
< / div > < p >
2020-02-17 22:05:20 +01:00
< hr > The documentation for this class was generated from the following file:< ul >
< li > < a class = "el" href = "MemoryManager_8hpp-source.html" > MemoryManager.hpp< / a > < / ul >
2020-02-17 22:17:06 +01:00
< / div >
< hr size = "1" > < address style = "text-align: right;" > < small > Generated on Mon Jan 5 19:54:31 2009 for XQilla Simple API by
2020-02-17 22:05:20 +01:00
< a href = "http://www.doxygen.org/index.html" >
2020-02-17 22:17:06 +01:00
< img src = "doxygen.png" alt = "doxygen" align = "middle" border = "0" > < / a > 1.5.5 < / small > < / address >
2020-02-17 22:05:20 +01:00
< / body >
< / html >