This commit is contained in:
King_DuckZ 2020-02-17 22:19:08 +01:00
parent 4bc0157dcd
commit 1613a190f0
2427 changed files with 125503 additions and 133080 deletions

View file

@ -5,115 +5,107 @@
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&amp;type=2" border="0" alt="SourceForge.net Logo" /></a>
<!-- Generated by Doxygen 1.5.5 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="classes.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul>
</div>
<h1>DOMMemoryManager.hpp</h1><a href="DOMMemoryManager_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</span>
<a name="l00003"></a>00003 <span class="comment"> * contributor license agreements. See the NOTICE file distributed with</span>
<a name="l00004"></a>00004 <span class="comment"> * this work for additional information regarding copyright ownership.</span>
<a name="l00005"></a>00005 <span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span>
<a name="l00006"></a>00006 <span class="comment"> * (the "License"); you may not use this file except in compliance with</span>
<a name="l00007"></a>00007 <span class="comment"> * the License. You may obtain a copy of the License at</span>
<a name="l00008"></a>00008 <span class="comment"> * </span>
<a name="l00009"></a>00009 <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span>
<a name="l00010"></a>00010 <span class="comment"> * </span>
<a name="l00011"></a>00011 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
<a name="l00012"></a>00012 <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span>
<a name="l00013"></a>00013 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
<a name="l00014"></a>00014 <span class="comment"> * See the License for the specific language governing permissions and</span>
<a name="l00015"></a>00015 <span class="comment"> * limitations under the License.</span>
<a name="l00016"></a>00016 <span class="comment"> */</span>
<a name="l00017"></a>00017
<a name="l00018"></a>00018 <span class="preprocessor">#if !defined(XERCESC_INCLUDE_GUARD_DOMMEMORYMANAGER_HPP)</span>
<a name="l00019"></a><a class="code" href="DOMMemoryManager_8hpp.html#8afbf8cf19d1740b9f4a38529ce35f69">00019</a> <span class="preprocessor"></span><span class="preprocessor">#define XERCESC_INCLUDE_GUARD_DOMMEMORYMANAGER_HPP</span>
<a name="l00020"></a>00020 <span class="preprocessor"></span>
<a name="l00021"></a>00021 <span class="comment">//------------------------------------------------------------------------------------</span>
<a name="l00022"></a>00022 <span class="comment">// Includes</span>
<a name="l00023"></a>00023 <span class="comment">//------------------------------------------------------------------------------------</span>
<a name="l00024"></a>00024
<a name="l00025"></a>00025 XERCES_CPP_NAMESPACE_BEGIN
<a name="l00026"></a>00026
<a name="l00032"></a><a class="code" href="classxercesc_1_1DOMMemoryManager.html">00032</a> <span class="keyword">class </span>CDOM_EXPORT <a class="code" href="classxercesc_1_1DOMMemoryManager.html" title="The DOMMemoryManager interface exposes the memory allocation-related functionalities...">DOMMemoryManager</a>
<a name="l00033"></a>00033 {
<a name="l00034"></a>00034 <span class="keyword">protected</span>:
<a name="l00035"></a>00035 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00036"></a>00036 <span class="comment">// Hidden constructors</span>
<a name="l00037"></a>00037 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00040"></a><a class="code" href="classxercesc_1_1DOMMemoryManager.html#35bc5bd956ccf7fbcbfbd010f650f521">00040</a> <span class="comment"></span> <a class="code" href="classxercesc_1_1DOMMemoryManager.html" title="The DOMMemoryManager interface exposes the memory allocation-related functionalities...">DOMMemoryManager</a>() {};
<a name="l00042"></a>00042
<a name="l00043"></a>00043 <span class="keyword">private</span>:
<a name="l00044"></a>00044 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00045"></a>00045 <span class="comment">// Unimplemented constructors and operators</span>
<a name="l00046"></a>00046 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00049"></a>00049 <span class="comment"></span> <a class="code" href="classxercesc_1_1DOMMemoryManager.html" title="The DOMMemoryManager interface exposes the memory allocation-related functionalities...">DOMMemoryManager</a>(<span class="keyword">const</span> <a class="code" href="classxercesc_1_1DOMMemoryManager.html" title="The DOMMemoryManager interface exposes the memory allocation-related functionalities...">DOMMemoryManager</a> &amp;);
<a name="l00050"></a>00050 <a class="code" href="classxercesc_1_1DOMMemoryManager.html" title="The DOMMemoryManager interface exposes the memory allocation-related functionalities...">DOMMemoryManager</a> &amp; operator = (<span class="keyword">const</span> <a class="code" href="classxercesc_1_1DOMMemoryManager.html" title="The DOMMemoryManager interface exposes the memory allocation-related functionalities...">DOMMemoryManager</a> &amp;);
<a name="l00052"></a>00052
<a name="l00053"></a>00053 <span class="keyword">public</span>:
<a name="l00054"></a>00054
<a name="l00055"></a>00055 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00056"></a>00056 <span class="comment">// All constructors are hidden, just the destructor is available</span>
<a name="l00057"></a>00057 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00064"></a><a class="code" href="classxercesc_1_1DOMMemoryManager.html#9c4fe95317690357e2b186edf1231813">00064</a> <span class="comment"></span> <span class="keyword">virtual</span> ~<a class="code" href="classxercesc_1_1DOMMemoryManager.html" title="The DOMMemoryManager interface exposes the memory allocation-related functionalities...">DOMMemoryManager</a>() {};
<a name="l00066"></a>00066
<a name="l00067"></a>00067 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00068"></a>00068 <span class="comment">// data types</span>
<a name="l00069"></a>00069 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00070"></a><a class="code" href="classxercesc_1_1DOMMemoryManager.html#a691c0c6d527714510c139518b147a7d">00070</a> <span class="keyword">enum</span> <a class="code" href="classxercesc_1_1DOMMemoryManager.html#a691c0c6d527714510c139518b147a7d">NodeObjectType</a> {
<a name="l00071"></a><a class="code" href="classxercesc_1_1DOMMemoryManager.html#a691c0c6d527714510c139518b147a7d2d50a518814d853341f0b390160c2ffa">00071</a> ATTR_OBJECT = 0,
<a name="l00072"></a><a class="code" href="classxercesc_1_1DOMMemoryManager.html#a691c0c6d527714510c139518b147a7d42d6355013470f78cea56ab6b5bfc1bb">00072</a> ATTR_NS_OBJECT = 1,
<a name="l00073"></a><a class="code" href="classxercesc_1_1DOMMemoryManager.html#a691c0c6d527714510c139518b147a7d5727d654355cd3bbfccf24e825bc605f">00073</a> CDATA_SECTION_OBJECT = 2,
<a name="l00074"></a><a class="code" href="classxercesc_1_1DOMMemoryManager.html#a691c0c6d527714510c139518b147a7d94b673643df9dc17de3f616a70bc85eb">00074</a> COMMENT_OBJECT = 3,
<a name="l00075"></a><a class="code" href="classxercesc_1_1DOMMemoryManager.html#a691c0c6d527714510c139518b147a7df847743adfeaf28f8fd980596bdfc197">00075</a> DOCUMENT_FRAGMENT_OBJECT = 4,
<a name="l00076"></a><a class="code" href="classxercesc_1_1DOMMemoryManager.html#a691c0c6d527714510c139518b147a7d2081c979a449ef63f0265b18e54c43a4">00076</a> DOCUMENT_TYPE_OBJECT = 5,
<a name="l00077"></a><a class="code" href="classxercesc_1_1DOMMemoryManager.html#a691c0c6d527714510c139518b147a7d37710d79bda5f342a72318e418b313f1">00077</a> ELEMENT_OBJECT = 6,
<a name="l00078"></a><a class="code" href="classxercesc_1_1DOMMemoryManager.html#a691c0c6d527714510c139518b147a7dc595e36a55169d826d956b7ecc13e9a2">00078</a> ELEMENT_NS_OBJECT = 7,
<a name="l00079"></a><a class="code" href="classxercesc_1_1DOMMemoryManager.html#a691c0c6d527714510c139518b147a7d5622464ca5e8cada77cff4e30bb3e12d">00079</a> ENTITY_OBJECT = 8,
<a name="l00080"></a><a class="code" href="classxercesc_1_1DOMMemoryManager.html#a691c0c6d527714510c139518b147a7d2e33200c1ff2500e4680cf0fbd8cbae6">00080</a> ENTITY_REFERENCE_OBJECT = 9,
<a name="l00081"></a><a class="code" href="classxercesc_1_1DOMMemoryManager.html#a691c0c6d527714510c139518b147a7d6fbfa499e2add65db96b6f7fc9757fc8">00081</a> NOTATION_OBJECT = 10,
<a name="l00082"></a><a class="code" href="classxercesc_1_1DOMMemoryManager.html#a691c0c6d527714510c139518b147a7d3f5efa3704368d07260228f6a5b81192">00082</a> PROCESSING_INSTRUCTION_OBJECT = 11,
<a name="l00083"></a><a class="code" href="classxercesc_1_1DOMMemoryManager.html#a691c0c6d527714510c139518b147a7d2fc977612943d53260815db6a4c81ddf">00083</a> TEXT_OBJECT = 12
<a name="l00084"></a>00084 };
<a name="l00085"></a>00085
<a name="l00087"></a>00087 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00088"></a>00088 <span class="comment">// Getter methods</span>
<a name="l00089"></a>00089 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00095"></a>00095 <span class="comment"></span> <span class="keyword">virtual</span> XMLSize_t getMemoryAllocationBlockSize() <span class="keyword">const</span> = 0;
<a name="l00096"></a>00096
<a name="l00098"></a>00098
<a name="l00100"></a>00100 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00101"></a>00101 <span class="comment">// Setter methods</span>
<a name="l00102"></a>00102 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00108"></a>00108 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> setMemoryAllocationBlockSize(XMLSize_t size) = 0;
<a name="l00110"></a>00110
<a name="l00112"></a>00112 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00113"></a>00113 <span class="comment">// Operations</span>
<a name="l00114"></a>00114 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00122"></a>00122 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span>* allocate(XMLSize_t amount) = 0;
<a name="l00123"></a>00123
<a name="l00132"></a>00132 <span class="keyword">virtual</span> <span class="keywordtype">void</span>* allocate(XMLSize_t amount, <a class="code" href="classxercesc_1_1DOMMemoryManager.html#a691c0c6d527714510c139518b147a7d">DOMMemoryManager::NodeObjectType</a> type) = 0;
<a name="l00133"></a>00133
<a name="l00140"></a>00140 <span class="keyword">virtual</span> <span class="keywordtype">void</span> release(<a class="code" href="classxercesc_1_1DOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model...">DOMNode</a>* <span class="keywordtype">object</span>, <a class="code" href="classxercesc_1_1DOMMemoryManager.html#a691c0c6d527714510c139518b147a7d">DOMMemoryManager::NodeObjectType</a> type) = 0;
<a name="l00141"></a>00141
<a name="l00149"></a>00149 <span class="keyword">virtual</span> XMLCh* cloneString(<span class="keyword">const</span> XMLCh *src) = 0;
<a name="l00151"></a>00151
<a name="l00152"></a>00152 };
<a name="l00153"></a>00153
<a name="l00154"></a>00154 XERCES_CPP_NAMESPACE_END
<a name="l00155"></a>00155
<a name="l00156"></a>00156 <span class="preprocessor">#endif</span>
<a name="l00157"></a>00157 <span class="preprocessor"></span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Jan 5 19:54:34 2009 for XQilla DOM Level 3 API by&nbsp;
<!-- Generated by Doxygen 1.3.9.1 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="examples.html">Examples</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">xerces-c-3.0.1</a>&nbsp;/&nbsp;<a class="el" href="dir_000001.html">src</a>&nbsp;/&nbsp;<a class="el" href="dir_000002.html">xercesc</a>&nbsp;/&nbsp;<a class="el" href="dir_000003.html">dom</a></div>
<h1>DOMMemoryManager.hpp</h1><a href="DOMMemoryManager_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 <span class="comment">/*</span>
00002 <span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</span>
00003 <span class="comment"> * contributor license agreements. See the NOTICE file distributed with</span>
00004 <span class="comment"> * this work for additional information regarding copyright ownership.</span>
00005 <span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span>
00006 <span class="comment"> * (the "License"); you may not use this file except in compliance with</span>
00007 <span class="comment"> * the License. You may obtain a copy of the License at</span>
00008 <span class="comment"> * </span>
00009 <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span>
00010 <span class="comment"> * </span>
00011 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
00012 <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span>
00013 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
00014 <span class="comment"> * See the License for the specific language governing permissions and</span>
00015 <span class="comment"> * limitations under the License.</span>
00016 <span class="comment"> */</span>
00017
00018 <span class="preprocessor">#if !defined(XERCESC_INCLUDE_GUARD_DOMMEMORYMANAGER_HPP)</span>
<a name="l00019"></a><a class="code" href="DOMMemoryManager_8hpp.html#a0">00019</a> <span class="preprocessor"></span><span class="preprocessor">#define XERCESC_INCLUDE_GUARD_DOMMEMORYMANAGER_HPP</span>
00020 <span class="preprocessor"></span>
00021 <span class="comment">//------------------------------------------------------------------------------------</span>
00022 <span class="comment">// Includes</span>
00023 <span class="comment">//------------------------------------------------------------------------------------</span>
00024
00025 XERCES_CPP_NAMESPACE_BEGIN
00026
<a name="l00032"></a><a class="code" href="classxercesc_1_1DOMMemoryManager.html">00032</a> <span class="keyword">class </span>CDOM_EXPORT DOMMemoryManager
00033 {
00034 <span class="keyword">protected</span>:
00035 <span class="comment">// -----------------------------------------------------------------------</span>
00036 <span class="comment">// Hidden constructors</span>
00037 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00040"></a><a class="code" href="classxercesc_1_1DOMMemoryManager.html#z313_0">00040</a> <span class="comment"></span> DOMMemoryManager() {};
00042
00043 <span class="keyword">private</span>:
00044 <span class="comment">// -----------------------------------------------------------------------</span>
00045 <span class="comment">// Unimplemented constructors and operators</span>
00046 <span class="comment">// -----------------------------------------------------------------------</span>
00049 <span class="comment"></span> DOMMemoryManager(<span class="keyword">const</span> DOMMemoryManager &amp;);
00050 DOMMemoryManager &amp; operator = (<span class="keyword">const</span> DOMMemoryManager &amp;);
00052
00053 <span class="keyword">public</span>:
00054
00055 <span class="comment">// -----------------------------------------------------------------------</span>
00056 <span class="comment">// All constructors are hidden, just the destructor is available</span>
00057 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00064"></a><a class="code" href="classxercesc_1_1DOMMemoryManager.html#z317_0">00064</a> <span class="comment"></span> <span class="keyword">virtual</span> ~DOMMemoryManager() {};
00066
00067 <span class="comment">// -----------------------------------------------------------------------</span>
00068 <span class="comment">// data types</span>
00069 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00070"></a><a class="code" href="classxercesc_1_1DOMMemoryManager.html#w13">00070</a> <span class="keyword">enum</span> NodeObjectType {
00071 ATTR_OBJECT = 0,
00072 ATTR_NS_OBJECT = 1,
00073 CDATA_SECTION_OBJECT = 2,
00074 COMMENT_OBJECT = 3,
00075 DOCUMENT_FRAGMENT_OBJECT = 4,
00076 DOCUMENT_TYPE_OBJECT = 5,
00077 ELEMENT_OBJECT = 6,
00078 ELEMENT_NS_OBJECT = 7,
00079 ENTITY_OBJECT = 8,
00080 ENTITY_REFERENCE_OBJECT = 9,
00081 NOTATION_OBJECT = 10,
00082 PROCESSING_INSTRUCTION_OBJECT = 11,
00083 TEXT_OBJECT = 12
00084 };
00085
00087 <span class="comment">// -----------------------------------------------------------------------</span>
00088 <span class="comment">// Getter methods</span>
00089 <span class="comment">// -----------------------------------------------------------------------</span>
00095 <span class="comment"></span> <span class="keyword">virtual</span> XMLSize_t getMemoryAllocationBlockSize() <span class="keyword">const </span>= 0;
00096
00098
00100 <span class="comment">// -----------------------------------------------------------------------</span>
00101 <span class="comment">// Setter methods</span>
00102 <span class="comment">// -----------------------------------------------------------------------</span>
00108 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> setMemoryAllocationBlockSize(XMLSize_t size) = 0;
00110
00112 <span class="comment">// -----------------------------------------------------------------------</span>
00113 <span class="comment">// Operations</span>
00114 <span class="comment">// -----------------------------------------------------------------------</span>
00122 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span>* allocate(XMLSize_t amount) = 0;
00123
00132 <span class="keyword">virtual</span> <span class="keywordtype">void</span>* allocate(XMLSize_t amount, DOMMemoryManager::NodeObjectType type) = 0;
00133
00140 <span class="keyword">virtual</span> <span class="keywordtype">void</span> release(<a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a>* object, DOMMemoryManager::NodeObjectType type) = 0;
00141
00149 <span class="keyword">virtual</span> XMLCh* cloneString(<span class="keyword">const</span> XMLCh *src) = 0;
00151
00152 };
00153
00154 XERCES_CPP_NAMESPACE_END
00155
00156 <span class="preprocessor">#endif</span>
00157 <span class="preprocessor"></span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Sep 25 06:55:48 2009 for XQilla DOM Level 3 API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address>
</body>
</html>