XQuilla/docs/dom3-api/classXQillaPlatformUtils.html
2020-02-17 22:24:47 +01:00

150 lines
7.6 KiB
HTML

<!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 DOM3 API Documentation</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<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.8.5 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.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 id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="classXQillaPlatformUtils-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">XQillaPlatformUtils Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Static utility methods for initializing and terminating the XQilla and Xerces environments.
<a href="classXQillaPlatformUtils.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="XQillaPlatformUtils_8hpp_source.html">XQillaPlatformUtils.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ac769d09556ec43ecb94d1822783ba0b8"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXQillaPlatformUtils.html#ac769d09556ec43ecb94d1822783ba0b8">initialize</a> (<a class="el" href="classxercesc_1_1MemoryManager.html">xercesc::MemoryManager</a> *memMgr=0)</td></tr>
<tr class="memdesc:ac769d09556ec43ecb94d1822783ba0b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Perform XQilla initialization. <a href="#ac769d09556ec43ecb94d1822783ba0b8">More...</a><br/></td></tr>
<tr class="separator:ac769d09556ec43ecb94d1822783ba0b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0bd04a35d4cb26894497c6ff4d8e2105"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXQillaPlatformUtils.html#a0bd04a35d4cb26894497c6ff4d8e2105">terminate</a> ()</td></tr>
<tr class="memdesc:a0bd04a35d4cb26894497c6ff4d8e2105"><td class="mdescLeft">&#160;</td><td class="mdescRight">Perform XQilla termination. <a href="#a0bd04a35d4cb26894497c6ff4d8e2105">More...</a><br/></td></tr>
<tr class="separator:a0bd04a35d4cb26894497c6ff4d8e2105"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c61da4e45f60a2ac63b54a152b545dc"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXQillaPlatformUtils.html#a6c61da4e45f60a2ac63b54a152b545dc">enableExtendedPrecision</a> (bool bEnable)</td></tr>
<tr class="memdesc:a6c61da4e45f60a2ac63b54a152b545dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable/disable extended precision in numeric items. <a href="#a6c61da4e45f60a2ac63b54a152b545dc">More...</a><br/></td></tr>
<tr class="separator:a6c61da4e45f60a2ac63b54a152b545dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Static utility methods for initializing and terminating the XQilla and Xerces environments. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a6c61da4e45f60a2ac63b54a152b545dc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void XQillaPlatformUtils::enableExtendedPrecision </td>
<td>(</td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>bEnable</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Enable/disable extended precision in numeric items. </p>
<p>When disabled, xs:decimal values will hold only 18 digits, xs:float 7 digits and xs:double 15 digits as mandated </p>
</div>
</div>
<a class="anchor" id="ac769d09556ec43ecb94d1822783ba0b8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void XQillaPlatformUtils::initialize </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classxercesc_1_1MemoryManager.html">xercesc::MemoryManager</a> *&#160;</td>
<td class="paramname"><em>memMgr</em> = <code>0</code></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Perform XQilla initialization. </p>
<p>Initialization should be called first in any user code.</p>
<p>Initializes Xerces and adds its own DOMImplementation to the registry </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="dom-basic_8cpp-example.html#a0">dom-basic.cpp</a>, <a class="el" href="dom-context-item_8cpp-example.html#a0">dom-context-item.cpp</a>, and <a class="el" href="dom-resolver_8cpp-example.html#a0">dom-resolver.cpp</a>.</dd>
</dl>
</div>
</div>
<a class="anchor" id="a0bd04a35d4cb26894497c6ff4d8e2105"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void XQillaPlatformUtils::terminate </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Perform XQilla termination. </p>
<p>Terminates Xerces </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="dom-basic_8cpp-example.html#a2">dom-basic.cpp</a>, <a class="el" href="dom-context-item_8cpp-example.html#a2">dom-context-item.cpp</a>, and <a class="el" href="dom-resolver_8cpp-example.html#a2">dom-resolver.cpp</a>.</dd>
</dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="XQillaPlatformUtils_8hpp_source.html">XQillaPlatformUtils.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>