source: NonGTP/Xerces/xerces/doc/html/apiDocs/classXMemory.html @ 358

Revision 358, 25.1 KB checked in by bittner, 19 years ago (diff)

xerces added

Line 
1<HTML><HEAD><SCRIPT language="JavaScript" src="../resources/script.js" type="text/javascript"></SCRIPT><TITLE>XMemory class Reference</TITLE><link href="XercesApi.css" rel="stylesheet" type="text/css"></HEAD><BODY alink="#ff0000" bgcolor="#ffffff" leftmargin="4" link="#0000ff" marginheight="4" marginwidth="4" text="#000000" topmargin="4" vlink="#0000aa"><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" height="60" rowspan="3" valign="top" width="135"><IMG border="0" height="60" hspace="0" src="../resources/logo.gif" vspace="0" width="135"></TD><TD align="left" colspan="4" height="5" valign="top" width="456"><IMG border="0" height="5" hspace="0" src="../resources/line.gif" vspace="0" width="456"></TD><TD align="left" height="60" rowspan="3" valign="top" width="29"><IMG border="0" height="60" hspace="0" src="../resources/right.gif" vspace="0" width="29"></TD></TR><TR><TD align="left" bgcolor="#0086b2" colspan="4" height="35" valign="top" width="456"><IMG alt="" border="0" height="35" hspace="0" src="../graphics/api-header.jpg" vspace="0" width="456"></TD></TR><TR><TD align="left" height="20" valign="top" width="168"><IMG border="0" height="20" hspace="0" src="../resources/bottom.gif" vspace="0" width="168"></TD><TD align="left" height="20" valign="top" width="96"><A href="http://xml.apache.org/" onMouseOut="rolloverOff('xml');" onMouseOver="rolloverOn('xml');" target="new"><IMG alt="http://xml.apache.org/" border="0" height="20" hspace="0" name="xml" onLoad="rolloverLoad('xml','../resources/button-xml-hi.gif','../resources/button-xml-lo.gif');" src="../resources/button-xml-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.apache.org/" onMouseOut="rolloverOff('asf');" onMouseOver="rolloverOn('asf');" target="new"><IMG alt="http://www.apache.org/" border="0" height="20" hspace="0" name="asf" onLoad="rolloverLoad('asf','../resources/button-asf-hi.gif','../resources/button-asf-lo.gif');" src="../resources/button-asf-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.w3.org/" onMouseOut="rolloverOff('w3c');" onMouseOver="rolloverOn('w3c');" target="new"><IMG alt="http://www.w3.org/" border="0" height="20" hspace="0" name="w3c" onLoad="rolloverLoad('w3c','../resources/button-w3c-hi.gif','../resources/button-w3c-lo.gif');" src="../resources/button-w3c-lo.gif" vspace="0" width="96"></A></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" valign="top" width="120"><IMG border="0" height="14" hspace="0" src="../resources/join.gif" vspace="0" width="120"><BR>
2  <A href="../../index.html" onMouseOut="rolloverOff('side-ext-2');" onMouseOver="rolloverOn('side-ext-2');"><IMG alt="Home" border="0" height="12" hspace="0" name="side-ext-2" onLoad="rolloverLoad('side-ext-2','../graphics/ext-2-label-2.jpg','../graphics/ext-2-label-3.jpg');" src="../graphics/ext-2-label-3.jpg" vspace="0" width="120"></A><BR>
3
4  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
5
6  <A href="../index.html" onMouseOut="rolloverOff('side-index');" onMouseOver="rolloverOn('side-index');"><IMG alt="Readme" border="0" height="12" hspace="0" name="side-index" onLoad="rolloverLoad('side-index','../graphics/index-label-2.jpg','../graphics/index-label-3.jpg');" src="../graphics/index-label-3.jpg" vspace="0" width="120"></A><BR>
7  <A href="../releases.html" onMouseOut="rolloverOff('side-releases');" onMouseOver="rolloverOn('side-releases');"><IMG alt="Release Info" border="0" height="12" hspace="0" name="side-releases" onLoad="rolloverLoad('side-releases','../graphics/releases-label-2.jpg','../graphics/releases-label-3.jpg');" src="../graphics/releases-label-3.jpg" vspace="0" width="120"></A><BR>
8  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
9  <A href="../install.html" onMouseOut="rolloverOff('side-install');" onMouseOver="rolloverOn('side-install');"><IMG alt="Installation" border="0" height="12" hspace="0" name="side-install" onLoad="rolloverLoad('side-install','../graphics/install-label-2.jpg','../graphics/install-label-3.jpg');" src="../graphics/install-label-3.jpg" vspace="0" width="120"></A><BR>
10  <A href="http://xml.apache.org/dist/xerces-c/" onMouseOut="rolloverOff('side-ext-18');" onMouseOver="rolloverOn('side-ext-18');"><IMG alt="Download" border="0" height="12" hspace="0" name="side-ext-18" onLoad="rolloverLoad('side-ext-18','../graphics/ext-18-label-2.jpg','../graphics/ext-18-label-3.jpg');" src="../graphics/ext-18-label-3.jpg" vspace="0" width="120"></A><BR>
11  <A href="../build.html" onMouseOut="rolloverOff('side-build');" onMouseOver="rolloverOn('side-build');"><IMG alt="Build" border="0" height="12" hspace="0" name="side-build" onLoad="rolloverLoad('side-build','../graphics/build-label-2.jpg','../graphics/build-label-3.jpg');" src="../graphics/build-label-3.jpg" vspace="0" width="120"></A><BR>
12
13  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
14  <A href="../faqs.html" onMouseOut="rolloverOff('side-faqs');" onMouseOver="rolloverOn('side-faqs');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faqs" onLoad="rolloverLoad('side-faqs','../graphics/faqs-label-2.jpg','../graphics/faqs-label-3.jpg');" src="../graphics/faqs-label-3.jpg" vspace="0" width="120"></A><BR> 
15  <A href="../samples.html" onMouseOut="rolloverOff('side-samples');" onMouseOver="rolloverOn('side-samples');"><IMG alt="Samples" border="0" height="12" hspace="0" name="side-samples" onLoad="rolloverLoad('side-samples','../graphics/samples-label-2.jpg','../graphics/samples-label-3.jpg');" src="../graphics/samples-label-3.jpg" vspace="0" width="120"></A><BR>
16  <A href="../api.html" onMouseOut="rolloverOff('side-api');" onMouseOver="rolloverOn('side-api');"><IMG alt="API Docs" border="0" height="12" hspace="0" name="side-api" onLoad="rolloverLoad('side-api','../graphics/api-label-2.jpg','../graphics/api-label-3.jpg');" src="../graphics/api-label-3.jpg" vspace="0" width="120"></A><BR> 
17
18  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR> 
19  <A href="../ApacheDOMC++Binding.html" onMouseOut="rolloverOff('side-ext-68');" onMouseOver="rolloverOn('side-ext-68');"><IMG alt="DOM C++ Binding" border="0" height="12" hspace="0" name="side-ext-68" onLoad="rolloverLoad('side-ext-68','../graphics/ext-68-label-2.jpg','../graphics/ext-68-label-3.jpg');" src="../graphics/ext-68-label-3.jpg" vspace="0" width="120"></A><BR>
20
21  <A href="../program.html" onMouseOut="rolloverOff('side-program');" onMouseOver="rolloverOn('side-program');"><IMG alt="Programming" border="0" height="12" hspace="0" name="side-program" onLoad="rolloverLoad('side-program','../graphics/program-label-2.jpg','../graphics/program-label-3.jpg');" src="../graphics/program-label-3.jpg" vspace="0" width="120"></A><BR>
22  <A href="../migrate.html" onMouseOut="rolloverOff('side-migrate');" onMouseOver="rolloverOn('side-migrate');"><IMG alt="Migration Guide" border="0" height="12" hspace="0" name="side-migrate" onLoad="rolloverLoad('side-migrate','../graphics/migrate-label-2.jpg','../graphics/migrate-label-3.jpg');" src="../graphics/migrate-label-3.jpg" vspace="0" width="120"></A><BR>
23
24  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
25
26  <A href="../feedback.html" onMouseOut="rolloverOff('side-feedback');" onMouseOver="rolloverOn('side-feedback');"><IMG alt="Feedback" border="0" height="12" hspace="0" name="side-feedback" onLoad="rolloverLoad('side-feedback','../graphics/feedback-label-2.jpg','../graphics/feedback-label-3.jpg');" src="../graphics/feedback-label-3.jpg" vspace="0" width="120"></A><BR>
27  <A href="../bug-report.html" onMouseOut="rolloverOff('side-bug-report');" onMouseOver="rolloverOn('side-bug-report');"><IMG alt="Bug-Reporting" border="0" height="12" hspace="0" name="side-bug-report" onLoad="rolloverLoad('side-bug-report','../graphics/bug-report-label-2.jpg','../graphics/bug-report-label-3.jpg');" src="../graphics/bug-report-label-3.jpg" vspace="0" width="120"></A><BR> 
28  <A href="../pdf.html" onMouseOut="rolloverOff('side-pdf');" onMouseOver="rolloverOn('side-pdf');"><IMG alt="PDF Document" border="0" height="12" hspace="0" name="side-pdf" onLoad="rolloverLoad('side-pdf','../graphics/pdf-label-2.jpg','../graphics/pdf-label-3.jpg');" src="../graphics/pdf-label-3.jpg" vspace="0" width="120"></A><BR>
29
30  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
31
32  <A href="http://xml.apache.org/websrc/cvsweb.cgi/xml-xerces/c/" onMouseOut="rolloverOff('side-ext-100');" onMouseOver="rolloverOn('side-ext-100');"><IMG alt="CVS Repository" border="0" height="12" hspace="0" name="side-ext-100" onLoad="rolloverLoad('side-ext-100','../graphics/ext-100-label-2.jpg','../graphics/ext-100-label-3.jpg');" src="../graphics/ext-100-label-3.jpg" vspace="0" width="120"></A><BR>
33
34  <A href="http://marc.theaimsgroup.com/?l=xerces-c-dev" onMouseOut="rolloverOff('side-ext-102');" onMouseOver="rolloverOn('side-ext-102');"><IMG alt="Mail Archive" border="0" height="12" hspace="0" name="side-ext-102" onLoad="rolloverLoad('side-ext-102','../graphics/ext-102-label-2.jpg','../graphics/ext-102-label-3.jpg');" src="../graphics/ext-102-label-3.jpg" vspace="0" width="120"></A><BR>
35
36
37<IMG border="0" height="14" hspace="0" src="../resources/close.gif" vspace="0" width="120"><BR></TD><TD align="left" valign="top" width="500"><TABLE border="0" cellpadding="3" cellspacing="0"><TR><TD>
38    <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#FFFFFF" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="../resources/void.gif" vspace="0" width="2"><B>API Docs for SAX and DOM</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif">
39
40            <P>
41<!-- Generated by Doxygen 1.2.14 -->
42<center>
43<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
44<hr><h1>XMemory  Class Reference</h1>This class makes it possible to override the C++ memory management by adding new/delete operators to this base class.
45<a href="#_details">More...</a>
46<p>
47Inheritance diagram for XMemory:<p><center><img src="classXMemory__inherit__graph.gif" border="0" usemap="#XMemory__inherit__map" alt="Inheritance graph"></center>
48<map name="XMemory__inherit__map">
49<area href="classAbstractDOMParser.html" shape="rect" coords="153,27,287,9" alt="">
50<area href="classBinInputStream.html" shape="rect" coords="169,78,271,59" alt="">
51<area href="classBinOutputStream.html" shape="rect" coords="163,129,277,110" alt="">
52<area href="classDefaultPanicHandler.html" shape="rect" coords="153,179,287,161" alt="">
53<area href="classInputSource.html" shape="rect" coords="179,230,261,211" alt="">
54<area href="classOutOfMemoryException.html" shape="rect" coords="143,281,297,262" alt="">
55<area href="classPSVIAttributeList.html" shape="rect" coords="164,331,276,313" alt="">
56<area href="classPSVIItem.html" shape="rect" coords="187,382,253,363" alt="">
57<area href="classQName.html" shape="rect" coords="192,433,248,414" alt="">
58<area href="classSAXException.html" shape="rect" coords="171,483,269,465" alt="">
59<area href="classSAXParser.html" shape="rect" coords="180,534,260,515" alt="">
60<area href="classValidationContext.html" shape="rect" coords="163,585,277,566" alt="">
61<area href="classXMLAttDef.html" shape="rect" coords="181,635,259,617" alt="">
62<area href="classXMLAttDefList.html" shape="rect" coords="172,686,268,667" alt="">
63<area href="classXMLAttr.html" shape="rect" coords="189,737,251,718" alt="">
64<area href="classXMLBigInteger.html" shape="rect" coords="171,787,269,769" alt="">
65<area href="classXMLContentModel.html" shape="rect" coords="160,838,280,819" alt="">
66<area href="classXMLElementDecl.html" shape="rect" coords="163,889,277,870" alt="">
67<area href="classXMLEntityDecl.html" shape="rect" coords="169,939,271,921" alt="">
68<area href="classXMLException.html" shape="rect" coords="171,990,269,971" alt="">
69<area href="classXMLFormatTarget.html" shape="rect" coords="160,1041,280,1022" alt="">
70<area href="classXMLFormatter.html" shape="rect" coords="171,1091,269,1073" alt="">
71<area href="classXMLGrammarDescription.html" shape="rect" coords="137,1142,303,1123" alt="">
72<area href="classXMLGrammarPool.html" shape="rect" coords="159,1193,281,1174" alt="">
73<area href="classXMLInteger.html" shape="rect" coords="180,1243,260,1225" alt="">
74<area href="classXMLLCPTranscoder.html" shape="rect" coords="153,1294,287,1275" alt="">
75<area href="classXMLNetAccessor.html" shape="rect" coords="161,1345,279,1326" alt="">
76<area href="classXMLNotationDecl.html" shape="rect" coords="161,1395,279,1377" alt="">
77<area href="classXMLNumber.html" shape="rect" coords="176,1446,264,1427" alt="">
78<area href="classXMLStringTokenizer.html" shape="rect" coords="153,1497,287,1478" alt="">
79<area href="classXMLTranscoder.html" shape="rect" coords="167,1547,273,1529" alt="">
80<area href="classXMLTransService.html" shape="rect" coords="160,1598,280,1579" alt="">
81<area href="classXMLUri.html" shape="rect" coords="192,1649,248,1630" alt="">
82<area href="classXMLURL.html" shape="rect" coords="187,1699,253,1681" alt="">
83<area href="classXMLValidator.html" shape="rect" coords="173,1750,267,1731" alt="">
84<area href="classXSModel.html" shape="rect" coords="187,1801,253,1782" alt="">
85<area href="classXSNamedMap.html" shape="rect" coords="145,1902,295,1883" alt="">
86<area href="classXSNamedMap.html" shape="rect" coords="503,1854,684,1835" alt="">
87<area href="classXSNamedMap.html" shape="rect" coords="484,1981,703,1962" alt="">
88<area href="classXSNamespaceItem.html" shape="rect" coords="157,2042,283,2023" alt="">
89<area href="classXSObject.html" shape="rect" coords="185,2093,255,2074" alt="">
90<area href="classXSValue.html" shape="rect" coords="188,2143,252,2125" alt="">
91</map>
92<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classXMemory-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
93<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
94<tr><td colspan="2"><div class="groupHeader">The C++ memory management</div></td></tr>
95<tr><td nowrap align=right valign=top>void *&nbsp;</td><td valign=bottom><a class="el" href="classXMemory.html#z507_0">operator new</a> (size_t size)</td></tr>
96<tr><td>&nbsp;</td><td><font size=-1><em>This method overrides operator new.</em> <a href="#z507_0">More...</a><em></em></font><br><br></td></tr>
97<tr><td nowrap align=right valign=top>void *&nbsp;</td><td valign=bottom><a class="el" href="classXMemory.html#z507_1">operator new</a> (size_t size, <a class="el" href="classMemoryManager.html">MemoryManager</a> *memMgr)</td></tr>
98<tr><td>&nbsp;</td><td><font size=-1><em>This method overrides placement operator new.</em> <a href="#z507_1">More...</a><em></em></font><br><br></td></tr>
99<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classXMemory.html#z507_2">operator delete</a> (void *p)</td></tr>
100<tr><td>&nbsp;</td><td><font size=-1><em>This method overrides operator delete.</em> <a href="#z507_2">More...</a><em></em></font><br><br></td></tr>
101<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classXMemory.html#z507_3">operator delete</a> (void *p, <a class="el" href="classMemoryManager.html">MemoryManager</a> *memMgr)</td></tr>
102<tr><td>&nbsp;</td><td><font size=-1><em>This method provides a matching delete for the placement new.</em> <a href="#z507_3">More...</a><em></em></font><br><br></td></tr>
103<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr>
104<tr><td colspan="2"><div class="groupHeader">Constructor</div></td></tr>
105<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classXMemory.html#z508_0">XMemory</a> ()</td></tr>
106<tr><td>&nbsp;</td><td><font size=-1><em>Protected default constructor and copy constructor.</em> <a href="#z508_0">More...</a><em></em></font><br><br></td></tr>
107<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classXMemory.html#z508_1">XMemory</a> (const XMemory &amp;)</td></tr>
108</table>
109<hr><a name="_details"></a><h2>Detailed Description</h2>
110This class makes it possible to override the C++ memory management by adding new/delete operators to this base class.
111<p>
112This class is used in conjuction with the pluggable memory manager. It allows applications to control Xerces memory management.
113<p>
114<hr><h2>Constructor &amp; Destructor Documentation</h2>
115<a name="z508_0" doxytag="XMemory::XMemory"></a><p>
116<table width="100%" cellpadding="2" cellspacing="0" border="0">
117  <tr>
118    <td class="md">
119      <table cellpadding="0" cellspacing="0" border="0">
120        <tr>
121          <td class="md" nowrap valign="top"> XMemory::XMemory </td>
122          <td class="md" valign="top">(&nbsp;</td>
123          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
124          <td class="md" valign="top">)&nbsp;</td>
125          <td class="md" nowrap><code> [protected]</code></td>
126        </tr>
127
128      </table>
129    </td>
130  </tr>
131</table>
132<table cellspacing=5 cellpadding=0 border=0>
133  <tr>
134    <td>
135      &nbsp;
136    </td>
137    <td>
138
139<p>
140Protected default constructor and copy constructor.
141<p>
142    </td>
143  </tr>
144</table>
145<a name="z508_1" doxytag="XMemory::XMemory"></a><p>
146<table width="100%" cellpadding="2" cellspacing="0" border="0">
147  <tr>
148    <td class="md">
149      <table cellpadding="0" cellspacing="0" border="0">
150        <tr>
151          <td class="md" nowrap valign="top"> XMemory::XMemory </td>
152          <td class="md" valign="top">(&nbsp;</td>
153          <td class="md" nowrap valign="top">const XMemory &amp;&nbsp;</td>
154          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
155          <td class="md" valign="top">)&nbsp;</td>
156          <td class="md" nowrap><code> [protected]</code></td>
157        </tr>
158
159      </table>
160    </td>
161  </tr>
162</table>
163<table cellspacing=5 cellpadding=0 border=0>
164  <tr>
165    <td>
166      &nbsp;
167    </td>
168    <td>
169
170<p>
171    </td>
172  </tr>
173</table>
174<hr><h2>Member Function Documentation</h2>
175<a name="z507_3" doxytag="XMemory::operator delete"></a><p>
176<table width="100%" cellpadding="2" cellspacing="0" border="0">
177  <tr>
178    <td class="md">
179      <table cellpadding="0" cellspacing="0" border="0">
180        <tr>
181          <td class="md" nowrap valign="top"> void XMemory::operator delete </td>
182          <td class="md" valign="top">(&nbsp;</td>
183          <td class="md" nowrap valign="top">void *&nbsp;</td>
184          <td class="mdname" nowrap>&nbsp; <em>p</em>, </td>
185        </tr>
186        <tr>
187          <td></td>
188          <td></td>
189          <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *&nbsp;</td>
190          <td class="mdname" nowrap>&nbsp; <em>memMgr</em></td>
191        </tr>
192        <tr>
193          <td></td>
194          <td class="md">)&nbsp;</td>
195          <td class="md" colspan="2"></td>
196        </tr>
197
198      </table>
199    </td>
200  </tr>
201</table>
202<table cellspacing=5 cellpadding=0 border=0>
203  <tr>
204    <td>
205      &nbsp;
206    </td>
207    <td>
208
209<p>
210This method provides a matching delete for the placement new.
211<p>
212<dl compact><dt><b>
213Parameters: </b><dd>
214<table border=0 cellspacing=2 cellpadding=0>
215<tr><td valign=top><em>p</em>&nbsp;</td><td>
216The pointer to the allocated memory </td></tr>
217<tr><td valign=top><em>memMgr</em>&nbsp;</td><td>
218An application's memory manager </td></tr>
219</table>
220</dl>    </td>
221  </tr>
222</table>
223<a name="z507_2" doxytag="XMemory::operator delete"></a><p>
224<table width="100%" cellpadding="2" cellspacing="0" border="0">
225  <tr>
226    <td class="md">
227      <table cellpadding="0" cellspacing="0" border="0">
228        <tr>
229          <td class="md" nowrap valign="top"> void XMemory::operator delete </td>
230          <td class="md" valign="top">(&nbsp;</td>
231          <td class="md" nowrap valign="top">void *&nbsp;</td>
232          <td class="mdname1" valign="top" nowrap>&nbsp; <em>p</em>          </td>
233          <td class="md" valign="top">)&nbsp;</td>
234          <td class="md" nowrap></td>
235        </tr>
236
237      </table>
238    </td>
239  </tr>
240</table>
241<table cellspacing=5 cellpadding=0 border=0>
242  <tr>
243    <td>
244      &nbsp;
245    </td>
246    <td>
247
248<p>
249This method overrides operator delete.
250<p>
251<dl compact><dt><b>
252Parameters: </b><dd>
253<table border=0 cellspacing=2 cellpadding=0>
254<tr><td valign=top><em>p</em>&nbsp;</td><td>
255The pointer to the allocated memory </td></tr>
256</table>
257</dl>    </td>
258  </tr>
259</table>
260<a name="z507_1" doxytag="XMemory::operator new"></a><p>
261<table width="100%" cellpadding="2" cellspacing="0" border="0">
262  <tr>
263    <td class="md">
264      <table cellpadding="0" cellspacing="0" border="0">
265        <tr>
266          <td class="md" nowrap valign="top"> void* XMemory::operator new </td>
267          <td class="md" valign="top">(&nbsp;</td>
268          <td class="md" nowrap valign="top">size_t&nbsp;</td>
269          <td class="mdname" nowrap>&nbsp; <em>size</em>, </td>
270        </tr>
271        <tr>
272          <td></td>
273          <td></td>
274          <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *&nbsp;</td>
275          <td class="mdname" nowrap>&nbsp; <em>memMgr</em></td>
276        </tr>
277        <tr>
278          <td></td>
279          <td class="md">)&nbsp;</td>
280          <td class="md" colspan="2"></td>
281        </tr>
282
283      </table>
284    </td>
285  </tr>
286</table>
287<table cellspacing=5 cellpadding=0 border=0>
288  <tr>
289    <td>
290      &nbsp;
291    </td>
292    <td>
293
294<p>
295This method overrides placement operator new.
296<p>
297<dl compact><dt><b>
298Parameters: </b><dd>
299<table border=0 cellspacing=2 cellpadding=0>
300<tr><td valign=top><em>size</em>&nbsp;</td><td>
301The requested memory size </td></tr>
302<tr><td valign=top><em>memMgr</em>&nbsp;</td><td>
303An application's memory manager </td></tr>
304</table>
305</dl>    </td>
306  </tr>
307</table>
308<a name="z507_0" doxytag="XMemory::operator new"></a><p>
309<table width="100%" cellpadding="2" cellspacing="0" border="0">
310  <tr>
311    <td class="md">
312      <table cellpadding="0" cellspacing="0" border="0">
313        <tr>
314          <td class="md" nowrap valign="top"> void* XMemory::operator new </td>
315          <td class="md" valign="top">(&nbsp;</td>
316          <td class="md" nowrap valign="top">size_t&nbsp;</td>
317          <td class="mdname1" valign="top" nowrap>&nbsp; <em>size</em>          </td>
318          <td class="md" valign="top">)&nbsp;</td>
319          <td class="md" nowrap></td>
320        </tr>
321
322      </table>
323    </td>
324  </tr>
325</table>
326<table cellspacing=5 cellpadding=0 border=0>
327  <tr>
328    <td>
329      &nbsp;
330    </td>
331    <td>
332
333<p>
334This method overrides operator new.
335<p>
336<dl compact><dt><b>
337Parameters: </b><dd>
338<table border=0 cellspacing=2 cellpadding=0>
339<tr><td valign=top><em>size</em>&nbsp;</td><td>
340The requested memory size </td></tr>
341</table>
342</dl>    </td>
343  </tr>
344</table>
345<hr>The documentation for this class was generated from the following file:<ul>
346<li><a class="el" href="XMemory_8hpp-source.html">XMemory.hpp</a></ul>
347    </FONT></TD></TR></TABLE><BR>
348</TD></TR></TABLE></TD></TR></TABLE><BR><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD bgcolor="#0086b2"><IMG height="1" src="images/dot.gif" width="1" alt=""></TD></TR><TR><TD align="center"><FONT color="#0086b2" size="-1"><I>
349              Copyright &copy; 1994-2004 The Apache Software Foundation.
350              All Rights Reserved.
351            </I></FONT></TD></TR></TABLE></BODY></HTML>
Note: See TracBrowser for help on using the repository browser.