2020-02-17 21:05:20 +00: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" >
< title > XQilla Simple API: xercesc::XMemory Class Reference< / title >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" >
< / head > < body >
2020-02-17 21:10:06 +00:00
<!-- Generated by Doxygen 1.5.1 -->
2020-02-17 21:05:20 +00:00
< 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 id = "current" > < a href = "classes.html" > < span > Classes< / span > < / a > < / li >
< li > < a href = "files.html" > < span > Files< / 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 = "nav" >
< a class = "el" href = "namespacexercesc.html" > xercesc< / a > ::< a class = "el" href = "classxercesc_1_1XMemory.html" > XMemory< / a > < / div >
< h1 > xercesc::XMemory Class Reference< / h1 > <!-- doxytag: class="xercesc::XMemory" --> This class makes it possible to override the C++ memory management by adding new/delete operators to this base class.
< a href = "#_details" > More...< / a >
< p >
< code > #include < < a class = "el" href = "XMemory_8hpp-source.html" > XMemory.hpp< / a > > < / code >
< p >
Inheritance diagram for xercesc::XMemory:< p > < center > < img src = "classxercesc_1_1XMemory__inherit__graph.png" border = "0" usemap = "#xercesc_1_1XMemory__inherit__map" alt = "Inheritance graph" > < / center >
< map name = "xercesc_1_1XMemory__inherit__map" >
2020-02-17 21:10:06 +00:00
< area href = "classItemFactory.html" shape = "rect" coords = "240,6,342,30" alt = "" >
< area href = "classScope.html" shape = "rect" coords = "227,54,355,78" alt = "" >
< area href = "classSequence.html" shape = "rect" coords = "247,102,335,126" alt = "" >
< area href = "classStaticContext.html" shape = "rect" coords = "235,150,347,174" alt = "" >
< area href = "classVarHashEntry.html" shape = "rect" coords = "202,198,380,222" alt = "" >
< area href = "classVariableStore.html" shape = "rect" coords = "234,246,348,270" alt = "" >
< area href = "classVariableTypeStore.html" shape = "rect" coords = "219,294,363,318" alt = "" >
< area href = "classxercesc_1_1InputSource.html" shape = "rect" coords = "210,342,372,366" alt = "" >
< area href = "classXQilla.html" shape = "rect" coords = "260,390,322,414" alt = "" >
< area href = "classXQQuery.html" shape = "rect" coords = "250,438,332,462" alt = "" >
2020-02-17 21:05:20 +00:00
< / map >
< center > < font size = "2" > [< a href = "graph_legend.html" > legend< / a > ]< / font > < / center > < a href = "classxercesc_1_1XMemory-members.html" > List of all members.< / a > < table border = "0" cellpadding = "0" cellspacing = "0" >
< tr > < td > < / td > < / tr >
< tr > < td colspan = "2" > < br > < h2 > Public Member Functions< / h2 > < / td > < / tr >
< tr > < td colspan = "2" > < div class = "groupHeader" > The C++ memory management< / div > < / td > < / tr >
< tr > < td class = "memItemLeft" nowrap align = "right" valign = "top" > void * < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classxercesc_1_1XMemory.html#6f187594d0fb37d1472dacc1a3aad3d9" > operator new< / a > (size_t size)< / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > This method overrides operator new. < a href = "#6f187594d0fb37d1472dacc1a3aad3d9" > < / a > < br > < / td > < / tr >
< tr > < td class = "memItemLeft" nowrap align = "right" valign = "top" > void * < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classxercesc_1_1XMemory.html#7f41eef0d509e5eff717599647942a0f" > operator new< / a > (size_t size, < a class = "el" href = "classxercesc_1_1MemoryManager.html" > MemoryManager< / a > *memMgr)< / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > This method defines a custom operator new, that will use the provided memory manager to perform the allocation. < a href = "#7f41eef0d509e5eff717599647942a0f" > < / a > < br > < / td > < / tr >
< tr > < td class = "memItemLeft" nowrap align = "right" valign = "top" > void * < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classxercesc_1_1XMemory.html#6beea8ceedc7e13c15c3a9f8a784396a" > operator new< / a > (size_t size, void *ptr)< / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > This method overrides placement operator new. < a href = "#6beea8ceedc7e13c15c3a9f8a784396a" > < / a > < br > < / td > < / tr >
< tr > < td class = "memItemLeft" nowrap align = "right" valign = "top" > void < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classxercesc_1_1XMemory.html#95212a8b8a0e3778c7bf3cf0f0a59aed" > operator delete< / a > (void *p)< / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > This method overrides operator delete. < a href = "#95212a8b8a0e3778c7bf3cf0f0a59aed" > < / a > < br > < / td > < / tr >
< tr > < td class = "memItemLeft" nowrap align = "right" valign = "top" > void < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classxercesc_1_1XMemory.html#f2335addd6a2bb6cc7bb1df630d05eeb" > operator delete< / a > (void *p, < a class = "el" href = "classxercesc_1_1MemoryManager.html" > MemoryManager< / a > *memMgr)< / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > This method provides a matching delete for the custom operator new. < a href = "#f2335addd6a2bb6cc7bb1df630d05eeb" > < / a > < br > < / td > < / tr >
< tr > < td class = "memItemLeft" nowrap align = "right" valign = "top" > void < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classxercesc_1_1XMemory.html#47791b65820d24581920532a88c37e75" > operator delete< / a > (void *p, void *ptr)< / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > This method provides a matching delete for the placement new. < a href = "#47791b65820d24581920532a88c37e75" > < / a > < br > < / td > < / tr >
< / table >
< hr > < a name = "_details" > < / a > < h2 > Detailed Description< / h2 >
This class makes it possible to override the C++ memory management by adding new/delete operators to this base class.
< p >
This class is used in conjuction with the pluggable memory manager. It allows applications to control Xerces memory management.
< p >
< hr > < h2 > Constructor & Destructor Documentation< / h2 >
2020-02-17 21:10:06 +00:00
< a class = "anchor" name = "c0d26f65a82ff229bc1e4dbaaac79e84" > < / a > <!-- doxytag: member="xercesc::XMemory::XMemory" ref="c0d26f65a82ff229bc1e4dbaaac79e84" args="()" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2020-02-17 21:05:20 +00:00
< tr >
2020-02-17 21:10:06 +00:00
< td class = "memname" > xercesc::XMemory::XMemory < / td >
< td > (< / td >
< td class = "paramname" > < / td >
< td > ) < / td >
< td width = "100%" > < code > [inline, protected]< / code > < / td >
2020-02-17 21:05:20 +00:00
< / tr >
< / table >
2020-02-17 21:10:06 +00:00
< / div >
< div class = "memdoc" >
2020-02-17 21:05:20 +00:00
< p >
Protected default constructor.
< p >
2020-02-17 21:10:06 +00:00
< / div >
< / div > < p >
< a class = "anchor" name = "c0d26f65a82ff229bc1e4dbaaac79e84" > < / a > <!-- doxytag: member="xercesc::XMemory::XMemory" ref="c0d26f65a82ff229bc1e4dbaaac79e84" args="()" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2020-02-17 21:05:20 +00:00
< tr >
2020-02-17 21:10:06 +00:00
< td class = "memname" > xercesc::XMemory::XMemory < / td >
< td > (< / td >
< td class = "paramname" > < / td >
< td > ) < / td >
< td width = "100%" > < code > [inline, protected]< / code > < / td >
2020-02-17 21:05:20 +00:00
< / tr >
2020-02-17 21:10:06 +00:00
< / table >
< / div >
< div class = "memdoc" >
< p >
Protected default constructor.
< p >
< / div >
< / div > < p >
< hr > < h2 > Member Function Documentation< / h2 >
< a class = "anchor" name = "6f187594d0fb37d1472dacc1a3aad3d9" > < / a > <!-- doxytag: member="xercesc::XMemory::operator new" ref="6f187594d0fb37d1472dacc1a3aad3d9" args="(size_t size)" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2020-02-17 21:05:20 +00:00
< tr >
2020-02-17 21:10:06 +00:00
< td class = "memname" > void* xercesc::XMemory::operator new < / td >
< td > (< / td >
< td class = "paramtype" > size_t < / td >
< td class = "paramname" > < em > size< / em > < / td >
< td > ) < / td >
< td width = "100%" > < / td >
2020-02-17 21:05:20 +00:00
< / tr >
< / table >
2020-02-17 21:10:06 +00:00
< / div >
< div class = "memdoc" >
2020-02-17 21:05:20 +00:00
< p >
2020-02-17 21:10:06 +00:00
This method overrides operator new.
2020-02-17 21:05:20 +00:00
< p >
< dl compact > < dt > < b > Parameters:< / b > < / dt > < dd >
< table border = "0" cellspacing = "2" cellpadding = "0" >
2020-02-17 21:10:06 +00:00
< tr > < td valign = "top" > < / td > < td valign = "top" > < em > size< / em > < / td > < td > The requested memory size < / td > < / tr >
2020-02-17 21:05:20 +00:00
< / table >
< / dl >
2020-02-17 21:10:06 +00:00
< / div >
< / div > < p >
< a class = "anchor" name = "7f41eef0d509e5eff717599647942a0f" > < / a > <!-- doxytag: member="xercesc::XMemory::operator new" ref="7f41eef0d509e5eff717599647942a0f" args="(size_t size, MemoryManager *memMgr)" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2020-02-17 21:05:20 +00:00
< tr >
2020-02-17 21:10:06 +00:00
< td class = "memname" > void* xercesc::XMemory::operator new < / td >
< td > (< / td >
< td class = "paramtype" > size_t < / td >
< td class = "paramname" > < em > size< / em > , < / td >
2020-02-17 21:05:20 +00:00
< / tr >
< tr >
2020-02-17 21:10:06 +00:00
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "classxercesc_1_1MemoryManager.html" > MemoryManager< / a > * < / td >
< td class = "paramname" > < em > memMgr< / em > < / td > < td > < / td >
2020-02-17 21:05:20 +00:00
< / tr >
< tr >
2020-02-17 21:10:06 +00:00
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td > < td width = "100%" > < / td >
2020-02-17 21:05:20 +00:00
< / tr >
< / table >
2020-02-17 21:10:06 +00:00
< / div >
< div class = "memdoc" >
2020-02-17 21:05:20 +00:00
< p >
2020-02-17 21:10:06 +00:00
This method defines a custom operator new, that will use the provided memory manager to perform the allocation.
2020-02-17 21:05:20 +00:00
< p >
< dl compact > < dt > < b > Parameters:< / b > < / dt > < dd >
< table border = "0" cellspacing = "2" cellpadding = "0" >
2020-02-17 21:10:06 +00:00
< tr > < td valign = "top" > < / td > < td valign = "top" > < em > size< / em > < / td > < td > The requested memory size < / td > < / tr >
2020-02-17 21:05:20 +00:00
< tr > < td valign = "top" > < / td > < td valign = "top" > < em > memMgr< / em > < / td > < td > An application's memory manager < / td > < / tr >
< / table >
< / dl >
2020-02-17 21:10:06 +00:00
< / div >
< / div > < p >
< a class = "anchor" name = "6beea8ceedc7e13c15c3a9f8a784396a" > < / a > <!-- doxytag: member="xercesc::XMemory::operator new" ref="6beea8ceedc7e13c15c3a9f8a784396a" args="(size_t size, void *ptr)" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2020-02-17 21:05:20 +00:00
< tr >
2020-02-17 21:10:06 +00:00
< td class = "memname" > void* xercesc::XMemory::operator new < / td >
< td > (< / td >
< td class = "paramtype" > size_t < / td >
< td class = "paramname" > < em > size< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > void * < / td >
< td class = "paramname" > < em > ptr< / em > < / td > < td > < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td > < td width = "100%" > < / td >
2020-02-17 21:05:20 +00:00
< / tr >
< / table >
2020-02-17 21:10:06 +00:00
< / div >
< div class = "memdoc" >
2020-02-17 21:05:20 +00:00
< p >
2020-02-17 21:10:06 +00:00
This method overrides placement operator new.
2020-02-17 21:05:20 +00:00
< p >
< dl compact > < dt > < b > Parameters:< / b > < / dt > < dd >
< table border = "0" cellspacing = "2" cellpadding = "0" >
2020-02-17 21:10:06 +00:00
< tr > < td valign = "top" > < / td > < td valign = "top" > < em > size< / em > < / td > < td > The requested memory size < / td > < / tr >
< tr > < td valign = "top" > < / td > < td valign = "top" > < em > ptr< / em > < / td > < td > The memory location where the object should be allocated < / td > < / tr >
2020-02-17 21:05:20 +00:00
< / table >
< / dl >
2020-02-17 21:10:06 +00:00
< / div >
< / div > < p >
< a class = "anchor" name = "95212a8b8a0e3778c7bf3cf0f0a59aed" > < / a > <!-- doxytag: member="xercesc::XMemory::operator delete" ref="95212a8b8a0e3778c7bf3cf0f0a59aed" args="(void *p)" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2020-02-17 21:05:20 +00:00
< tr >
2020-02-17 21:10:06 +00:00
< td class = "memname" > void xercesc::XMemory::operator delete < / td >
< td > (< / td >
< td class = "paramtype" > void * < / td >
< td class = "paramname" > < em > p< / em > < / td >
< td > ) < / td >
< td width = "100%" > < / td >
2020-02-17 21:05:20 +00:00
< / tr >
< / table >
2020-02-17 21:10:06 +00:00
< / div >
< div class = "memdoc" >
2020-02-17 21:05:20 +00:00
< p >
2020-02-17 21:10:06 +00:00
This method overrides operator delete.
2020-02-17 21:05:20 +00:00
< p >
< dl compact > < dt > < b > Parameters:< / b > < / dt > < dd >
< table border = "0" cellspacing = "2" cellpadding = "0" >
2020-02-17 21:10:06 +00:00
< tr > < td valign = "top" > < / td > < td valign = "top" > < em > p< / em > < / td > < td > The pointer to the allocated memory < / td > < / tr >
2020-02-17 21:05:20 +00:00
< / table >
< / dl >
2020-02-17 21:10:06 +00:00
< / div >
< / div > < p >
< a class = "anchor" name = "f2335addd6a2bb6cc7bb1df630d05eeb" > < / a > <!-- doxytag: member="xercesc::XMemory::operator delete" ref="f2335addd6a2bb6cc7bb1df630d05eeb" args="(void *p, MemoryManager *memMgr)" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2020-02-17 21:05:20 +00:00
< tr >
2020-02-17 21:10:06 +00:00
< td class = "memname" > void xercesc::XMemory::operator delete < / td >
< td > (< / td >
< td class = "paramtype" > void * < / td >
< td class = "paramname" > < em > p< / em > , < / td >
2020-02-17 21:05:20 +00:00
< / tr >
< tr >
2020-02-17 21:10:06 +00:00
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "classxercesc_1_1MemoryManager.html" > MemoryManager< / a > * < / td >
< td class = "paramname" > < em > memMgr< / em > < / td > < td > < / td >
2020-02-17 21:05:20 +00:00
< / tr >
< tr >
2020-02-17 21:10:06 +00:00
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td > < td width = "100%" > < / td >
2020-02-17 21:05:20 +00:00
< / tr >
< / table >
2020-02-17 21:10:06 +00:00
< / div >
< div class = "memdoc" >
2020-02-17 21:05:20 +00:00
< p >
2020-02-17 21:10:06 +00:00
This method provides a matching delete for the custom operator new.
2020-02-17 21:05:20 +00:00
< p >
< dl compact > < dt > < b > Parameters:< / b > < / dt > < dd >
< table border = "0" cellspacing = "2" cellpadding = "0" >
2020-02-17 21:10:06 +00:00
< tr > < td valign = "top" > < / td > < td valign = "top" > < em > p< / em > < / td > < td > The pointer to the allocated memory < / td > < / tr >
2020-02-17 21:05:20 +00:00
< tr > < td valign = "top" > < / td > < td valign = "top" > < em > memMgr< / em > < / td > < td > An application's memory manager < / td > < / tr >
< / table >
< / dl >
2020-02-17 21:10:06 +00:00
< / div >
< / div > < p >
< a class = "anchor" name = "47791b65820d24581920532a88c37e75" > < / a > <!-- doxytag: member="xercesc::XMemory::operator delete" ref="47791b65820d24581920532a88c37e75" args="(void *p, void *ptr)" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void xercesc::XMemory::operator delete < / td >
< td > (< / td >
< td class = "paramtype" > void * < / td >
< td class = "paramname" > < em > p< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > void * < / td >
< td class = "paramname" > < em > ptr< / em > < / td > < td > < / td >
< / tr >
2020-02-17 21:05:20 +00:00
< tr >
2020-02-17 21:10:06 +00:00
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td > < td width = "100%" > < / td >
2020-02-17 21:05:20 +00:00
< / tr >
< / table >
2020-02-17 21:10:06 +00:00
< / div >
< div class = "memdoc" >
2020-02-17 21:05:20 +00:00
< p >
2020-02-17 21:10:06 +00:00
This method provides a matching delete for the placement new.
2020-02-17 21:05:20 +00:00
< p >
< dl compact > < dt > < b > Parameters:< / b > < / dt > < dd >
< table border = "0" cellspacing = "2" cellpadding = "0" >
2020-02-17 21:10:06 +00:00
< tr > < td valign = "top" > < / td > < td valign = "top" > < em > p< / em > < / td > < td > The pointer to the allocated memory < / td > < / tr >
< tr > < td valign = "top" > < / td > < td valign = "top" > < em > ptr< / em > < / td > < td > The memory location where the object had to be allocated < / td > < / tr >
2020-02-17 21:05:20 +00:00
< / table >
< / dl >
2020-02-17 21:10:06 +00:00
< / div >
< / div > < p >
2020-02-17 21:05:20 +00:00
< hr > The documentation for this class was generated from the following file:< ul >
< li > < a class = "el" href = "XMemory_8hpp-source.html" > XMemory.hpp< / a > < / ul >
2020-02-17 21:10:06 +00:00
< hr size = "1" > < address style = "align: right;" > < small > Generated on Wed Dec 12 19:14:05 2007 for XQilla Simple API by
2020-02-17 21:05:20 +00:00
< a href = "http://www.doxygen.org/index.html" >
2020-02-17 21:10:06 +00:00
< img src = "doxygen.png" alt = "doxygen" align = "middle" border = "0" > < / a > 1.5.1 < / small > < / address >
2020-02-17 21:05:20 +00:00
< / body >
< / html >