Sophie

Sophie

distrib > Mageia > 6 > armv5tl > media > core-updates > by-pkgid > 21683c2052716543063aae9960d9aef7 > files > 802

xerces-c-doc-3.1.4-2.1.mga6.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>Xerces-C++: XMLPlatformUtils Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Xerces-C++
   &#160;<span id="projectnumber">3.1.4</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 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="pages.html"><span>Related&#160;Pages</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>
    </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="hierarchy.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="classXMLPlatformUtils-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">XMLPlatformUtils Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Utilities that must be implemented in a platform-specific way.  
 <a href="classXMLPlatformUtils.html#details">More...</a></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:ae692e83677b7480f1f169450b8634e70"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#ae692e83677b7480f1f169450b8634e70">alignPointerForNewBlockAllocation</a> (<a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> ptrSize)</td></tr>
<tr class="memdesc:ae692e83677b7480f1f169450b8634e70"><td class="mdescLeft">&#160;</td><td class="mdescRight">Aligns the specified pointer per platform block allocation requirements.  <a href="#ae692e83677b7480f1f169450b8634e70">More...</a><br/></td></tr>
<tr class="separator:ae692e83677b7480f1f169450b8634e70"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Initialization and Panic methods</div></td></tr>
<tr class="memitem:aaa98f8d1346b8b531ee8886d9ce36173"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#aaa98f8d1346b8b531ee8886d9ce36173">Initialize</a> (const char *const locale=<a class="el" href="classXMLUni.html#a65fb61efef197f1387836a339477ab5e">XMLUni::fgXercescDefaultLocale</a>, const char *const nlsHome=0, <a class="el" href="classPanicHandler.html">PanicHandler</a> *const panicHandler=0, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const memoryManager=0)</td></tr>
<tr class="memdesc:aaa98f8d1346b8b531ee8886d9ce36173"><td class="mdescLeft">&#160;</td><td class="mdescRight">Perform per-process parser initialization.  <a href="#aaa98f8d1346b8b531ee8886d9ce36173">More...</a><br/></td></tr>
<tr class="separator:aaa98f8d1346b8b531ee8886d9ce36173"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a369d3584567fc54c582b2074aed43f18"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#a369d3584567fc54c582b2074aed43f18">Initialize</a> (<a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> initialDOMHeapAllocSize, <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> maxDOMHeapAllocSize, <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> maxDOMSubAllocationSize, const char *const locale=<a class="el" href="classXMLUni.html#a65fb61efef197f1387836a339477ab5e">XMLUni::fgXercescDefaultLocale</a>, const char *const nlsHome=0, <a class="el" href="classPanicHandler.html">PanicHandler</a> *const panicHandler=0, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const memoryManager=0)</td></tr>
<tr class="memdesc:a369d3584567fc54c582b2074aed43f18"><td class="mdescLeft">&#160;</td><td class="mdescRight">Perform per-process parser initialization.  <a href="#a369d3584567fc54c582b2074aed43f18">More...</a><br/></td></tr>
<tr class="separator:a369d3584567fc54c582b2074aed43f18"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc0dcc57907126e06a2f5e376b392794"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#adc0dcc57907126e06a2f5e376b392794">Terminate</a> ()</td></tr>
<tr class="memdesc:adc0dcc57907126e06a2f5e376b392794"><td class="mdescLeft">&#160;</td><td class="mdescRight">Perform per-process parser termination.  <a href="#adc0dcc57907126e06a2f5e376b392794">More...</a><br/></td></tr>
<tr class="separator:adc0dcc57907126e06a2f5e376b392794"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab07bdc9abed13b76519c88b166cd6442"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#ab07bdc9abed13b76519c88b166cd6442">panic</a> (const <a class="el" href="classPanicHandler.html#aace4c4f408d68f168e1c2537e0ba5be2">PanicHandler::PanicReasons</a> reason)</td></tr>
<tr class="memdesc:ab07bdc9abed13b76519c88b166cd6442"><td class="mdescLeft">&#160;</td><td class="mdescRight">The panic mechanism.  <a href="#ab07bdc9abed13b76519c88b166cd6442">More...</a><br/></td></tr>
<tr class="separator:ab07bdc9abed13b76519c88b166cd6442"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">File Methods</div></td></tr>
<tr class="memitem:a001e511067dc6ac8941e34732b8fa7cb"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classXMLFileMgr.html">XMLFileMgr</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#a001e511067dc6ac8941e34732b8fa7cb">makeFileMgr</a> (<a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager)</td></tr>
<tr class="memdesc:a001e511067dc6ac8941e34732b8fa7cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Make a new file object appropriate for the platform.  <a href="#a001e511067dc6ac8941e34732b8fa7cb">More...</a><br/></td></tr>
<tr class="separator:a001e511067dc6ac8941e34732b8fa7cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2acb4b2eec3a5ddb579c6d410c7873e9"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a7647261a546ac47bda863a51d24ad898">XMLFilePos</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#a2acb4b2eec3a5ddb579c6d410c7873e9">curFilePos</a> (<a class="el" href="XMLFileMgr_8hpp.html#a6738b6a1cc86fbf4c231eac94e357446">FileHandle</a> theFile, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
<tr class="memdesc:a2acb4b2eec3a5ddb579c6d410c7873e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current file position.  <a href="#a2acb4b2eec3a5ddb579c6d410c7873e9">More...</a><br/></td></tr>
<tr class="separator:a2acb4b2eec3a5ddb579c6d410c7873e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0398de86ccca867efb18f73ec8a82f4"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#aa0398de86ccca867efb18f73ec8a82f4">closeFile</a> (<a class="el" href="XMLFileMgr_8hpp.html#a6738b6a1cc86fbf4c231eac94e357446">FileHandle</a> theFile, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
<tr class="memdesc:aa0398de86ccca867efb18f73ec8a82f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Closes the file handle.  <a href="#aa0398de86ccca867efb18f73ec8a82f4">More...</a><br/></td></tr>
<tr class="separator:aa0398de86ccca867efb18f73ec8a82f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a788a3664405357f0004a1d55c4dc02df"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a7647261a546ac47bda863a51d24ad898">XMLFilePos</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#a788a3664405357f0004a1d55c4dc02df">fileSize</a> (<a class="el" href="XMLFileMgr_8hpp.html#a6738b6a1cc86fbf4c231eac94e357446">FileHandle</a> theFile, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
<tr class="memdesc:a788a3664405357f0004a1d55c4dc02df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the file size.  <a href="#a788a3664405357f0004a1d55c4dc02df">More...</a><br/></td></tr>
<tr class="separator:a788a3664405357f0004a1d55c4dc02df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98eadae95169c66853c8264438505907"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="XMLFileMgr_8hpp.html#a6738b6a1cc86fbf4c231eac94e357446">FileHandle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#a98eadae95169c66853c8264438505907">openFile</a> (const char *const fileName, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
<tr class="memdesc:a98eadae95169c66853c8264438505907"><td class="mdescLeft">&#160;</td><td class="mdescRight">Opens the file.  <a href="#a98eadae95169c66853c8264438505907">More...</a><br/></td></tr>
<tr class="separator:a98eadae95169c66853c8264438505907"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5632167e9027b6def671ed4571ccf0bf"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="XMLFileMgr_8hpp.html#a6738b6a1cc86fbf4c231eac94e357446">FileHandle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#a5632167e9027b6def671ed4571ccf0bf">openFile</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const fileName, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
<tr class="memdesc:a5632167e9027b6def671ed4571ccf0bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Opens a named file.  <a href="#a5632167e9027b6def671ed4571ccf0bf">More...</a><br/></td></tr>
<tr class="separator:a5632167e9027b6def671ed4571ccf0bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5939d893ef7399d9d770be562bea6cfb"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="XMLFileMgr_8hpp.html#a6738b6a1cc86fbf4c231eac94e357446">FileHandle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#a5939d893ef7399d9d770be562bea6cfb">openFileToWrite</a> (const char *const fileName, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
<tr class="memdesc:a5939d893ef7399d9d770be562bea6cfb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Open a named file to write.  <a href="#a5939d893ef7399d9d770be562bea6cfb">More...</a><br/></td></tr>
<tr class="separator:a5939d893ef7399d9d770be562bea6cfb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e96c30edcbe8b1fa570fe2de0d5c31b"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="XMLFileMgr_8hpp.html#a6738b6a1cc86fbf4c231eac94e357446">FileHandle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#a6e96c30edcbe8b1fa570fe2de0d5c31b">openFileToWrite</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const fileName, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
<tr class="memdesc:a6e96c30edcbe8b1fa570fe2de0d5c31b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Open a named file to write.  <a href="#a6e96c30edcbe8b1fa570fe2de0d5c31b">More...</a><br/></td></tr>
<tr class="separator:a6e96c30edcbe8b1fa570fe2de0d5c31b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a627be718689157e44f73da8fd23ee004"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="XMLFileMgr_8hpp.html#a6738b6a1cc86fbf4c231eac94e357446">FileHandle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#a627be718689157e44f73da8fd23ee004">openStdInHandle</a> (<a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
<tr class="memdesc:a627be718689157e44f73da8fd23ee004"><td class="mdescLeft">&#160;</td><td class="mdescRight">Opens the standard input as a file.  <a href="#a627be718689157e44f73da8fd23ee004">More...</a><br/></td></tr>
<tr class="separator:a627be718689157e44f73da8fd23ee004"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f24a6b4b6c097ab66617f48349527dd"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#a1f24a6b4b6c097ab66617f48349527dd">readFileBuffer</a> (<a class="el" href="XMLFileMgr_8hpp.html#a6738b6a1cc86fbf4c231eac94e357446">FileHandle</a> theFile, const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> toRead, <a class="el" href="XercesDefs_8hpp.html#a7470c7a32c59355685ebcd878a33f126">XMLByte</a> *const toFill, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
<tr class="memdesc:a1f24a6b4b6c097ab66617f48349527dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the file buffer.  <a href="#a1f24a6b4b6c097ab66617f48349527dd">More...</a><br/></td></tr>
<tr class="separator:a1f24a6b4b6c097ab66617f48349527dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c77c874c1c3c04773c5d7c16056f874"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#a6c77c874c1c3c04773c5d7c16056f874">writeBufferToFile</a> (<a class="el" href="XMLFileMgr_8hpp.html#a6738b6a1cc86fbf4c231eac94e357446">FileHandle</a> const theFile, <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> toWrite, const <a class="el" href="XercesDefs_8hpp.html#a7470c7a32c59355685ebcd878a33f126">XMLByte</a> *const toFlush, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
<tr class="memdesc:a6c77c874c1c3c04773c5d7c16056f874"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the buffer to the file.  <a href="#a6c77c874c1c3c04773c5d7c16056f874">More...</a><br/></td></tr>
<tr class="separator:a6c77c874c1c3c04773c5d7c16056f874"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e64b2526936ae010a69cb42ba44c5c8"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#a3e64b2526936ae010a69cb42ba44c5c8">resetFile</a> (<a class="el" href="XMLFileMgr_8hpp.html#a6738b6a1cc86fbf4c231eac94e357446">FileHandle</a> theFile, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
<tr class="memdesc:a3e64b2526936ae010a69cb42ba44c5c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resets the file handle.  <a href="#a3e64b2526936ae010a69cb42ba44c5c8">More...</a><br/></td></tr>
<tr class="separator:a3e64b2526936ae010a69cb42ba44c5c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">File System Methods</div></td></tr>
<tr class="memitem:a41d767f41350edd2bd8853714b9124d8"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#a41d767f41350edd2bd8853714b9124d8">getFullPath</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const srcPath, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
<tr class="memdesc:a41d767f41350edd2bd8853714b9124d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the full path from a relative path.  <a href="#a41d767f41350edd2bd8853714b9124d8">More...</a><br/></td></tr>
<tr class="separator:a41d767f41350edd2bd8853714b9124d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8385708fc8ef23f163a09f19d378231c"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#a8385708fc8ef23f163a09f19d378231c">getCurrentDirectory</a> (<a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
<tr class="memdesc:a8385708fc8ef23f163a09f19d378231c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current working directory.  <a href="#a8385708fc8ef23f163a09f19d378231c">More...</a><br/></td></tr>
<tr class="separator:a8385708fc8ef23f163a09f19d378231c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a381a005feb529e59f65a4cbd5fe39c11"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#a381a005feb529e59f65a4cbd5fe39c11">isAnySlash</a> (<a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> c)</td></tr>
<tr class="memdesc:a381a005feb529e59f65a4cbd5fe39c11"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if a character is a slash.  <a href="#a381a005feb529e59f65a4cbd5fe39c11">More...</a><br/></td></tr>
<tr class="separator:a381a005feb529e59f65a4cbd5fe39c11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff1af43494b60e1783124747f291b6a0"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#aff1af43494b60e1783124747f291b6a0">removeDotSlash</a> (<a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const srcPath, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
<tr class="memdesc:aff1af43494b60e1783124747f291b6a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Remove occurrences of the pair of dot slash.  <a href="#aff1af43494b60e1783124747f291b6a0">More...</a><br/></td></tr>
<tr class="separator:aff1af43494b60e1783124747f291b6a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b90b8d2129bdcdfa4bf615db8dd85a7"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#a1b90b8d2129bdcdfa4bf615db8dd85a7">removeDotDotSlash</a> (<a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const srcPath, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
<tr class="memdesc:a1b90b8d2129bdcdfa4bf615db8dd85a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Remove occurrences of the dot dot slash.  <a href="#a1b90b8d2129bdcdfa4bf615db8dd85a7">More...</a><br/></td></tr>
<tr class="separator:a1b90b8d2129bdcdfa4bf615db8dd85a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c865f3209cf6e05712c0d1ba7d3e589"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#a8c865f3209cf6e05712c0d1ba7d3e589">isRelative</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const toCheck, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
<tr class="memdesc:a8c865f3209cf6e05712c0d1ba7d3e589"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines if a path is relative or absolute.  <a href="#a8c865f3209cf6e05712c0d1ba7d3e589">More...</a><br/></td></tr>
<tr class="separator:a8c865f3209cf6e05712c0d1ba7d3e589"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5773fab0f689e5befc627d515818d46"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#ae5773fab0f689e5befc627d515818d46">weavePaths</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const basePath, const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const relativePath, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
<tr class="memdesc:ae5773fab0f689e5befc627d515818d46"><td class="mdescLeft">&#160;</td><td class="mdescRight">Utility to join two paths.  <a href="#ae5773fab0f689e5befc627d515818d46">More...</a><br/></td></tr>
<tr class="separator:ae5773fab0f689e5befc627d515818d46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Timing Methods</div></td></tr>
<tr class="memitem:a4d315cfa7b9ec38b47b458fde5f2f443"><td class="memItemLeft" align="right" valign="top">static unsigned long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#a4d315cfa7b9ec38b47b458fde5f2f443">getCurrentMillis</a> ()</td></tr>
<tr class="memdesc:a4d315cfa7b9ec38b47b458fde5f2f443"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the system time in milliseconds.  <a href="#a4d315cfa7b9ec38b47b458fde5f2f443">More...</a><br/></td></tr>
<tr class="separator:a4d315cfa7b9ec38b47b458fde5f2f443"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Mutex Methods</div></td></tr>
<tr class="memitem:ad41fe916bbe6e7594bdc103ebe24c2fd"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classXMLMutexMgr.html">XMLMutexMgr</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#ad41fe916bbe6e7594bdc103ebe24c2fd">makeMutexMgr</a> (<a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager)</td></tr>
<tr class="memdesc:ad41fe916bbe6e7594bdc103ebe24c2fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Factory method for creating MutexMgr object.  <a href="#ad41fe916bbe6e7594bdc103ebe24c2fd">More...</a><br/></td></tr>
<tr class="separator:ad41fe916bbe6e7594bdc103ebe24c2fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a411987d4230f48888c23aa3d293c3fa5"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#a411987d4230f48888c23aa3d293c3fa5">closeMutex</a> (void *const mtxHandle, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
<tr class="memdesc:a411987d4230f48888c23aa3d293c3fa5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Closes a mutex handle.  <a href="#a411987d4230f48888c23aa3d293c3fa5">More...</a><br/></td></tr>
<tr class="separator:a411987d4230f48888c23aa3d293c3fa5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15fd7d673d0c6ce193b5c068d0c4b872"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#a15fd7d673d0c6ce193b5c068d0c4b872">lockMutex</a> (void *const mtxHandle)</td></tr>
<tr class="memdesc:a15fd7d673d0c6ce193b5c068d0c4b872"><td class="mdescLeft">&#160;</td><td class="mdescRight">Locks a mutex handle.  <a href="#a15fd7d673d0c6ce193b5c068d0c4b872">More...</a><br/></td></tr>
<tr class="separator:a15fd7d673d0c6ce193b5c068d0c4b872"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add15292f2ae75911a2d64781f1787629"><td class="memItemLeft" align="right" valign="top">static void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#add15292f2ae75911a2d64781f1787629">makeMutex</a> (<a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
<tr class="memdesc:add15292f2ae75911a2d64781f1787629"><td class="mdescLeft">&#160;</td><td class="mdescRight">Make a new mutex.  <a href="#add15292f2ae75911a2d64781f1787629">More...</a><br/></td></tr>
<tr class="separator:add15292f2ae75911a2d64781f1787629"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0213591d1ba763a82bd25197e22a89b"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#ae0213591d1ba763a82bd25197e22a89b">unlockMutex</a> (void *const mtxHandle)</td></tr>
<tr class="memdesc:ae0213591d1ba763a82bd25197e22a89b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unlocks a mutex.  <a href="#ae0213591d1ba763a82bd25197e22a89b">More...</a><br/></td></tr>
<tr class="separator:ae0213591d1ba763a82bd25197e22a89b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">External Message Support</div></td></tr>
<tr class="memitem:af1981b8cfbf3b2d13e2debfd1eac634e"><td class="memItemLeft" align="right" valign="top">static XMLMsgLoader *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#af1981b8cfbf3b2d13e2debfd1eac634e">loadMsgSet</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const msgDomain)</td></tr>
<tr class="memdesc:af1981b8cfbf3b2d13e2debfd1eac634e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Loads the message set from among the available domains.  <a href="#af1981b8cfbf3b2d13e2debfd1eac634e">More...</a><br/></td></tr>
<tr class="separator:af1981b8cfbf3b2d13e2debfd1eac634e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">NEL Character Handling</div></td></tr>
<tr class="memitem:a92246fafe4d841516c48b88f10d62a4a"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#a92246fafe4d841516c48b88f10d62a4a">recognizeNEL</a> (bool state, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
<tr class="memdesc:a92246fafe4d841516c48b88f10d62a4a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables the recognition of NEL(0x85) char and LSEP (0x2028) as newline chars which is disabled by default.  <a href="#a92246fafe4d841516c48b88f10d62a4a">More...</a><br/></td></tr>
<tr class="separator:a92246fafe4d841516c48b88f10d62a4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4367daf991397024b918fb0ab1a0389d"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#a4367daf991397024b918fb0ab1a0389d">isNELRecognized</a> ()</td></tr>
<tr class="memdesc:a4367daf991397024b918fb0ab1a0389d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the value of fgNEL flag.  <a href="#a4367daf991397024b918fb0ab1a0389d">More...</a><br/></td></tr>
<tr class="separator:a4367daf991397024b918fb0ab1a0389d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Strict IANA Encoding Checking</div></td></tr>
<tr class="memitem:a467744b197025769630c61e940336434"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#a467744b197025769630c61e940336434">strictIANAEncoding</a> (const bool state)</td></tr>
<tr class="memdesc:a467744b197025769630c61e940336434"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables/disables strict IANA encoding names checking.  <a href="#a467744b197025769630c61e940336434">More...</a><br/></td></tr>
<tr class="separator:a467744b197025769630c61e940336434"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a996f16ad1aad195eb2e7e618b5f89f94"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#a996f16ad1aad195eb2e7e618b5f89f94">isStrictIANAEncoding</a> ()</td></tr>
<tr class="memdesc:a996f16ad1aad195eb2e7e618b5f89f94"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether a strict IANA encoding name check is enabled or disabled.  <a href="#a996f16ad1aad195eb2e7e618b5f89f94">More...</a><br/></td></tr>
<tr class="separator:a996f16ad1aad195eb2e7e618b5f89f94"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Public Static Data</div></td></tr>
<tr class="memitem:a6bbba118a3327b2e7c1952bf04de2787"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classXMLNetAccessor.html">XMLNetAccessor</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#a6bbba118a3327b2e7c1952bf04de2787">fgNetAccessor</a></td></tr>
<tr class="memdesc:a6bbba118a3327b2e7c1952bf04de2787"><td class="mdescLeft">&#160;</td><td class="mdescRight">The network accessor.  <a href="#a6bbba118a3327b2e7c1952bf04de2787">More...</a><br/></td></tr>
<tr class="separator:a6bbba118a3327b2e7c1952bf04de2787"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb0ad83db922cbf891a70319b2e6702b"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classXMLTransService.html">XMLTransService</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#abb0ad83db922cbf891a70319b2e6702b">fgTransService</a></td></tr>
<tr class="memdesc:abb0ad83db922cbf891a70319b2e6702b"><td class="mdescLeft">&#160;</td><td class="mdescRight">The transcoding service.  <a href="#abb0ad83db922cbf891a70319b2e6702b">More...</a><br/></td></tr>
<tr class="separator:abb0ad83db922cbf891a70319b2e6702b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac6484e7073d5fb515ea791ee873b5bd"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classPanicHandler.html">PanicHandler</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#aac6484e7073d5fb515ea791ee873b5bd">fgUserPanicHandler</a></td></tr>
<tr class="memdesc:aac6484e7073d5fb515ea791ee873b5bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">The Panic Handler.  <a href="#aac6484e7073d5fb515ea791ee873b5bd">More...</a><br/></td></tr>
<tr class="separator:aac6484e7073d5fb515ea791ee873b5bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb96471b53887380718f80e54934925f"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classPanicHandler.html">PanicHandler</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#adb96471b53887380718f80e54934925f">fgDefaultPanicHandler</a></td></tr>
<tr class="memdesc:adb96471b53887380718f80e54934925f"><td class="mdescLeft">&#160;</td><td class="mdescRight">The Panic Handler.  <a href="#adb96471b53887380718f80e54934925f">More...</a><br/></td></tr>
<tr class="separator:adb96471b53887380718f80e54934925f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97eff0d9fff3567bea3acd3ca4d95252"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classMemoryManager.html">MemoryManager</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">fgMemoryManager</a></td></tr>
<tr class="memdesc:a97eff0d9fff3567bea3acd3ca4d95252"><td class="mdescLeft">&#160;</td><td class="mdescRight">The configurable memory manager.  <a href="#a97eff0d9fff3567bea3acd3ca4d95252">More...</a><br/></td></tr>
<tr class="separator:a97eff0d9fff3567bea3acd3ca4d95252"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14ce4194a811184a9e1e17ca2adeee9d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classXMLFileMgr.html">XMLFileMgr</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#a14ce4194a811184a9e1e17ca2adeee9d">fgFileMgr</a></td></tr>
<tr class="separator:a14ce4194a811184a9e1e17ca2adeee9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28f0c7e21b0ccf29bb38c90a544ebc8f"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classXMLMutexMgr.html">XMLMutexMgr</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#a28f0c7e21b0ccf29bb38c90a544ebc8f">fgMutexMgr</a></td></tr>
<tr class="separator:a28f0c7e21b0ccf29bb38c90a544ebc8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa3859ca77bec01d7c5c4da4632ab761"><td class="memItemLeft" align="right" valign="top">static XMLMutex *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#aaa3859ca77bec01d7c5c4da4632ab761">fgAtomicMutex</a></td></tr>
<tr class="memdesc:aaa3859ca77bec01d7c5c4da4632ab761"><td class="mdescLeft">&#160;</td><td class="mdescRight">Global mutex for fast or infrequent operations.  <a href="#aaa3859ca77bec01d7c5c4da4632ab761">More...</a><br/></td></tr>
<tr class="separator:aaa3859ca77bec01d7c5c4da4632ab761"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d963ab2acfd08abcfcaab3a7e5819d2"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#a5d963ab2acfd08abcfcaab3a7e5819d2">fgXMLChBigEndian</a></td></tr>
<tr class="separator:a5d963ab2acfd08abcfcaab3a7e5819d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41b2fc50c55ad21172a8e649d441aec0"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#a41b2fc50c55ad21172a8e649d441aec0">fgSSE2ok</a></td></tr>
<tr class="separator:a41b2fc50c55ad21172a8e649d441aec0"><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>Utilities that must be implemented in a platform-specific way. </p>
<p>This class contains methods that must be implemented in a platform specific manner. The actual implementations of these methods are available in the per-platform files inside <code>src/util/Platforms </code>. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ae692e83677b7480f1f169450b8634e70"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> XMLPlatformUtils::alignPointerForNewBlockAllocation </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>&#160;</td>
          <td class="paramname"><em>ptrSize</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>Aligns the specified pointer per platform block allocation requirements. </p>
<p>The results of this function may be altered by defining XML_PLATFORM_NEW_BLOCK_ALIGNMENT. </p>

</div>
</div>
<a class="anchor" id="aa0398de86ccca867efb18f73ec8a82f4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void XMLPlatformUtils::closeFile </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="XMLFileMgr_8hpp.html#a6738b6a1cc86fbf4c231eac94e357446">FileHandle</a>&#160;</td>
          <td class="paramname"><em>theFile</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
          <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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>Closes the file handle. </p>
<p>This must be implemented by the per-platform driver, which should use local file services to close the passed file handle, and to destroy the passed file handle and any allocated data or system resources it contains.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">theFile</td><td>The file handle to close </td></tr>
    <tr><td class="paramname">manager</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager. ">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a411987d4230f48888c23aa3d293c3fa5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void XMLPlatformUtils::closeMutex </td>
          <td>(</td>
          <td class="paramtype">void *const&#160;</td>
          <td class="paramname"><em>mtxHandle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
          <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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>Closes a mutex handle. </p>
<p>Each per-platform driver must implement this. Only it knows what the actual content of the passed mutex handle is.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">mtxHandle</td><td>The mutex handle that you want to close </td></tr>
    <tr><td class="paramname">manager</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager. ">MemoryManager</a> used to allocate the object </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2acb4b2eec3a5ddb579c6d410c7873e9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a7647261a546ac47bda863a51d24ad898">XMLFilePos</a> XMLPlatformUtils::curFilePos </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="XMLFileMgr_8hpp.html#a6738b6a1cc86fbf4c231eac94e357446">FileHandle</a>&#160;</td>
          <td class="paramname"><em>theFile</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
          <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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>Get the current file position. </p>
<p>This must be implemented by the per-platform driver, which should use local file services to determine the current position within the passed file.</p>
<p>Since the file API provided here only reads, if the host platform supports separate read/write positions, only the read position is of any interest, and hence should be the one returned.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">theFile</td><td>The file handle </td></tr>
    <tr><td class="paramname">manager</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager. ">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a788a3664405357f0004a1d55c4dc02df"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a7647261a546ac47bda863a51d24ad898">XMLFilePos</a> XMLPlatformUtils::fileSize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="XMLFileMgr_8hpp.html#a6738b6a1cc86fbf4c231eac94e357446">FileHandle</a>&#160;</td>
          <td class="paramname"><em>theFile</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
          <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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>Returns the file size. </p>
<p>This must be implemented by the per-platform driver, which should use local file services to determine the current size of the file represented by the passed handle.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">theFile</td><td>The file handle whose size you want </td></tr>
    <tr><td class="paramname">manager</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager. ">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns the size of the file in bytes </dd></dl>

</div>
</div>
<a class="anchor" id="a8385708fc8ef23f163a09f19d378231c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* XMLPlatformUtils::getCurrentDirectory </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
          <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></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>Gets the current working directory. </p>
<p>This must be implemented by the per-platform driver. It returns the current working directory is. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">manager</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager. ">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns the current working directory. This is dyanmically allocated and must be deleted by the caller when its no longer needed! The memory returned will be allocated using the static memory manager, if users do not supply a memory manager. Users then need to make sure to use either the default or user specific memory manager to deallocate the memory. </dd></dl>

</div>
</div>
<a class="anchor" id="a4d315cfa7b9ec38b47b458fde5f2f443"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static unsigned long XMLPlatformUtils::getCurrentMillis </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>Gets the system time in milliseconds. </p>
<p>This must be implemented by the per-platform driver, which should use local services to return the current value of a running millisecond timer. Note that the value returned is only as accurate as the millisecond time of the underlying host system.</p>
<dl class="section return"><dt>Returns</dt><dd>Returns the system time as an unsigned long </dd></dl>

</div>
</div>
<a class="anchor" id="a41d767f41350edd2bd8853714b9124d8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* XMLPlatformUtils::getFullPath </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
          <td class="paramname"><em>srcPath</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
          <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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>Gets the full path from a relative path. </p>
<p>This must be implemented by the per-platform driver. It should complete a relative path using the 'current directory', or whatever the local equivalent of a current directory is. If the passed source path is actually fully qualified, then a straight copy of it will be returned.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">srcPath</td><td>The path of the file for which you want the full path</td></tr>
    <tr><td class="paramname">manager</td><td>Pointer to the memory manager to be used to allocate objects.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns the fully qualified path of the file name including the file name. This is dyanmically allocated and must be deleted by the caller when its no longer needed! The memory returned will beallocated using the static memory manager, if user do not supply a memory manager. Users then need to make sure to use either the default or user specific memory manager to deallocate the memory. </dd></dl>

</div>
</div>
<a class="anchor" id="aaa98f8d1346b8b531ee8886d9ce36173"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void XMLPlatformUtils::Initialize </td>
          <td>(</td>
          <td class="paramtype">const char *const&#160;</td>
          <td class="paramname"><em>locale</em> = <code><a class="el" href="classXMLUni.html#a65fb61efef197f1387836a339477ab5e">XMLUni::fgXercescDefaultLocale</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *const&#160;</td>
          <td class="paramname"><em>nlsHome</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPanicHandler.html">PanicHandler</a> *const&#160;</td>
          <td class="paramname"><em>panicHandler</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
          <td class="paramname"><em>memoryManager</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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 per-process parser initialization. </p>
<p>Initialization <b>must</b> be called first in any client code.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">locale</td><td>The locale to use for messages.</td></tr>
  </table>
  </dd>
</dl>
<p>The locale is set iff the <a class="el" href="classXMLPlatformUtils.html#aaa98f8d1346b8b531ee8886d9ce36173" title="Perform per-process parser initialization. ">Initialize()</a> is invoked for the very first time, to ensure that each and every message loader, in the process space, share the same locale.</p>
<p>All subsequent invocations of <a class="el" href="classXMLPlatformUtils.html#aaa98f8d1346b8b531ee8886d9ce36173" title="Perform per-process parser initialization. ">Initialize()</a>, with a different locale, have no effect on the message loaders, either instantiated, or to be instantiated.</p>
<p>To set to a different locale, client application needs to <a class="el" href="classXMLPlatformUtils.html#adc0dcc57907126e06a2f5e376b392794" title="Perform per-process parser termination. ">Terminate()</a> (or multiple <a class="el" href="classXMLPlatformUtils.html#adc0dcc57907126e06a2f5e376b392794" title="Perform per-process parser termination. ">Terminate()</a> in the case where multiple <a class="el" href="classXMLPlatformUtils.html#aaa98f8d1346b8b531ee8886d9ce36173" title="Perform per-process parser initialization. ">Initialize()</a> have been invoked before), followed by Initialize(new_locale).</p>
<p>The default locale is "en_US".</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">nlsHome</td><td>User specified location where MsgLoader retrieves error message files. the discussion above with regard to locale, applies to nlsHome as well.</td></tr>
    <tr><td class="paramname">panicHandler</td><td>Application's panic handler, application owns this handler. Application shall make sure that the plugged panic handler persists through the call to <a class="el" href="classXMLPlatformUtils.html#adc0dcc57907126e06a2f5e376b392794" title="Perform per-process parser termination. ">XMLPlatformUtils::Terminate()</a>.</td></tr>
    <tr><td class="paramname">memoryManager</td><td>Plugged-in memory manager which is owned by the application. Applications must make sure that the plugged-in memory manager persist through the call to <a class="el" href="classXMLPlatformUtils.html#adc0dcc57907126e06a2f5e376b392794" title="Perform per-process parser termination. ">XMLPlatformUtils::Terminate()</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a369d3584567fc54c582b2074aed43f18"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void XMLPlatformUtils::Initialize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>&#160;</td>
          <td class="paramname"><em>initialDOMHeapAllocSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>&#160;</td>
          <td class="paramname"><em>maxDOMHeapAllocSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>&#160;</td>
          <td class="paramname"><em>maxDOMSubAllocationSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *const&#160;</td>
          <td class="paramname"><em>locale</em> = <code><a class="el" href="classXMLUni.html#a65fb61efef197f1387836a339477ab5e">XMLUni::fgXercescDefaultLocale</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *const&#160;</td>
          <td class="paramname"><em>nlsHome</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPanicHandler.html">PanicHandler</a> *const&#160;</td>
          <td class="paramname"><em>panicHandler</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
          <td class="paramname"><em>memoryManager</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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 per-process parser initialization. </p>
<p>Initialization <b>must</b> be called first in any client code.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">initialDOMHeapAllocSize</td><td>The size of the first memory block allocated by the <a class="el" href="classDOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a> heap. Note that changing this parameter may result in poor performance and/or excessive memory usage. For the default value refer to dom/impl/DOMDocumentImpl.cpp.</td></tr>
    <tr><td class="paramname">maxDOMHeapAllocSize</td><td>The maximum size of the memory block allocated by the <a class="el" href="classDOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a> heap. As the document grows, the allocated by the heap memory blocks grow from initialDOMHeapAllocSize to maxDOMHeapAllocSize. Note that changing this parameter may result in poor performance and/or excessive memory usage. For the default value refer to dom/impl/DOMDocumentImpl.cpp.</td></tr>
    <tr><td class="paramname">maxDOMSubAllocationSize</td><td>The maximum size of the memory block requested that is handled by the <a class="el" href="classDOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a> heap. A request for a larger block is handled directly by the memory manager. Note that changing this parameter may result in poor performance and/or excessive memory usage. For the default value refer to dom/impl/DOMDocumentImpl.cpp.</td></tr>
    <tr><td class="paramname">locale</td><td>The locale to use for messages.</td></tr>
  </table>
  </dd>
</dl>
<p>The locale is set iff the <a class="el" href="classXMLPlatformUtils.html#aaa98f8d1346b8b531ee8886d9ce36173" title="Perform per-process parser initialization. ">Initialize()</a> is invoked for the very first time, to ensure that each and every message loader, in the process space, share the same locale.</p>
<p>All subsequent invocations of <a class="el" href="classXMLPlatformUtils.html#aaa98f8d1346b8b531ee8886d9ce36173" title="Perform per-process parser initialization. ">Initialize()</a>, with a different locale, have no effect on the message loaders, either instantiated, or to be instantiated.</p>
<p>To set to a different locale, client application needs to <a class="el" href="classXMLPlatformUtils.html#adc0dcc57907126e06a2f5e376b392794" title="Perform per-process parser termination. ">Terminate()</a> (or multiple <a class="el" href="classXMLPlatformUtils.html#adc0dcc57907126e06a2f5e376b392794" title="Perform per-process parser termination. ">Terminate()</a> in the case where multiple <a class="el" href="classXMLPlatformUtils.html#aaa98f8d1346b8b531ee8886d9ce36173" title="Perform per-process parser initialization. ">Initialize()</a> have been invoked before), followed by Initialize(new_locale).</p>
<p>The default locale is "en_US".</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">nlsHome</td><td>User specified location where MsgLoader retrieves error message files. the discussion above with regard to locale, applies to nlsHome as well.</td></tr>
    <tr><td class="paramname">panicHandler</td><td>Application's panic handler, application owns this handler. Application shall make sure that the plugged panic handler persists through the call to <a class="el" href="classXMLPlatformUtils.html#adc0dcc57907126e06a2f5e376b392794" title="Perform per-process parser termination. ">XMLPlatformUtils::Terminate()</a>.</td></tr>
    <tr><td class="paramname">memoryManager</td><td>Plugged-in memory manager which is owned by the application. Applications must make sure that the plugged-in memory manager persist through the call to <a class="el" href="classXMLPlatformUtils.html#adc0dcc57907126e06a2f5e376b392794" title="Perform per-process parser termination. ">XMLPlatformUtils::Terminate()</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a381a005feb529e59f65a4cbd5fe39c11"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool XMLPlatformUtils::isAnySlash </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>&#160;</td>
          <td class="paramname"><em>c</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>Check if a character is a slash. </p>
<p>This must be implemented by the per-platform driver.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">c</td><td>the character to be examined</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the character examined is a slash false otherwise </dd></dl>

</div>
</div>
<a class="anchor" id="a4367daf991397024b918fb0ab1a0389d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool XMLPlatformUtils::isNELRecognized </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>Return the value of fgNEL flag. </p>

</div>
</div>
<a class="anchor" id="a8c865f3209cf6e05712c0d1ba7d3e589"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool XMLPlatformUtils::isRelative </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
          <td class="paramname"><em>toCheck</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
          <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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>Determines if a path is relative or absolute. </p>
<p>This must be implemented by the per-platform driver, which should determine whether the passed path is relative or not. The concept of relative and absolute might be... well relative on different platforms. But, as long as the determination is made consistently and in coordination with the <a class="el" href="classXMLPlatformUtils.html#ae5773fab0f689e5befc627d515818d46" title="Utility to join two paths. ">weavePaths()</a> method, it should work for any platform.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">toCheck</td><td>The file name which you want to check </td></tr>
    <tr><td class="paramname">manager</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager. ">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns true if the filename appears to be relative </dd></dl>

</div>
</div>
<a class="anchor" id="a996f16ad1aad195eb2e7e618b5f89f94"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool XMLPlatformUtils::isStrictIANAEncoding </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>Returns whether a strict IANA encoding name check is enabled or disabled. </p>

</div>
</div>
<a class="anchor" id="af1981b8cfbf3b2d13e2debfd1eac634e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static XMLMsgLoader* XMLPlatformUtils::loadMsgSet </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
          <td class="paramname"><em>msgDomain</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>Loads the message set from among the available domains. </p>
<p>The returned object must be dynamically allocated and the caller becomes responsible for cleaning it up.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">msgDomain</td><td>The message domain which you want to load </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a15fd7d673d0c6ce193b5c068d0c4b872"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void XMLPlatformUtils::lockMutex </td>
          <td>(</td>
          <td class="paramtype">void *const&#160;</td>
          <td class="paramname"><em>mtxHandle</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>Locks a mutex handle. </p>
<p>Each per-platform driver must implement this. Only it knows what the actual content of the passed mutex handle is.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">mtxHandle</td><td>The mutex handle that you want to lock </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a001e511067dc6ac8941e34732b8fa7cb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classXMLFileMgr.html">XMLFileMgr</a>* XMLPlatformUtils::makeFileMgr </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
          <td class="paramname"><em>manager</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>Make a new file object appropriate for the platform. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">manager</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager. ">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="add15292f2ae75911a2d64781f1787629"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void* XMLPlatformUtils::makeMutex </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
          <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></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>Make a new mutex. </p>
<p>Each per-platform driver must implement this. Only it knows what the actual content of the passed mutex handle is. The returned handle pointer will be eventually passed to <a class="el" href="classXMLPlatformUtils.html#a411987d4230f48888c23aa3d293c3fa5" title="Closes a mutex handle. ">closeMutex()</a> which is also implemented by the platform driver.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">manager</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager. ">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad41fe916bbe6e7594bdc103ebe24c2fd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classXMLMutexMgr.html">XMLMutexMgr</a>* XMLPlatformUtils::makeMutexMgr </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
          <td class="paramname"><em>manager</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>Factory method for creating MutexMgr object. </p>
<p>This factory method creates a mutexmgr that will be used on the particular platform.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">manager</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager. ">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a98eadae95169c66853c8264438505907"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="XMLFileMgr_8hpp.html#a6738b6a1cc86fbf4c231eac94e357446">FileHandle</a> XMLPlatformUtils::openFile </td>
          <td>(</td>
          <td class="paramtype">const char *const&#160;</td>
          <td class="paramname"><em>fileName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
          <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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>Opens the file. </p>
<p>This must be implemented by the per-platform driver, which should use local file services to open passed file. If it fails, a null handle pointer should be returned.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fileName</td><td>The string containing the name of the file </td></tr>
    <tr><td class="paramname">manager</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager. ">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The file handle of the opened file </dd></dl>

</div>
</div>
<a class="anchor" id="a5632167e9027b6def671ed4571ccf0bf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="XMLFileMgr_8hpp.html#a6738b6a1cc86fbf4c231eac94e357446">FileHandle</a> XMLPlatformUtils::openFile </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
          <td class="paramname"><em>fileName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
          <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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>Opens a named file. </p>
<p>This must be implemented by the per-platform driver, which should use local file services to open the passed file. If it fails, a null handle pointer should be returned.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fileName</td><td>The string containing the name of the file </td></tr>
    <tr><td class="paramname">manager</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager. ">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The file handle of the opened file </dd></dl>

</div>
</div>
<a class="anchor" id="a5939d893ef7399d9d770be562bea6cfb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="XMLFileMgr_8hpp.html#a6738b6a1cc86fbf4c231eac94e357446">FileHandle</a> XMLPlatformUtils::openFileToWrite </td>
          <td>(</td>
          <td class="paramtype">const char *const&#160;</td>
          <td class="paramname"><em>fileName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
          <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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>Open a named file to write. </p>
<p>This must be implemented by the per-platform driver, which should use local file services to open passed file. If it fails, a null handle pointer should be returned.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fileName</td><td>The string containing the name of the file </td></tr>
    <tr><td class="paramname">manager</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager. ">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The file handle of the opened file </dd></dl>

</div>
</div>
<a class="anchor" id="a6e96c30edcbe8b1fa570fe2de0d5c31b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="XMLFileMgr_8hpp.html#a6738b6a1cc86fbf4c231eac94e357446">FileHandle</a> XMLPlatformUtils::openFileToWrite </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
          <td class="paramname"><em>fileName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
          <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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>Open a named file to write. </p>
<p>This must be implemented by the per-platform driver, which should use local file services to open the passed file. If it fails, a null handle pointer should be returned.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fileName</td><td>The string containing the name of the file </td></tr>
    <tr><td class="paramname">manager</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager. ">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The file handle of the opened file </dd></dl>

</div>
</div>
<a class="anchor" id="a627be718689157e44f73da8fd23ee004"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="XMLFileMgr_8hpp.html#a6738b6a1cc86fbf4c231eac94e357446">FileHandle</a> XMLPlatformUtils::openStdInHandle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
          <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></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>Opens the standard input as a file. </p>
<p>This must be implemented by the per-platform driver, which should use local file services to open a handle to the standard input. It should be a copy of the standard input handle, since it will be closed later!</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">manager</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager. ">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The file handle of the standard input stream </dd></dl>

</div>
</div>
<a class="anchor" id="ab07bdc9abed13b76519c88b166cd6442"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void XMLPlatformUtils::panic </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPanicHandler.html#aace4c4f408d68f168e1c2537e0ba5be2">PanicHandler::PanicReasons</a>&#160;</td>
          <td class="paramname"><em>reason</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>The panic mechanism. </p>
<p>If, during initialization, we cannot even get far enough along to get transcoding up or get message loading working, we call this method.</p>
<p>Each platform can implement it however they want. This method will delegate the panic handling to a user specified panic handler or in the absence of it, the default panic handler.</p>
<p>In case the default panic handler does not support a particular platform, the platform specific panic handling shall be implemented here </p>
<p>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">reason</td><td>The enumeration that defines the cause of the failure </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1f24a6b4b6c097ab66617f48349527dd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> XMLPlatformUtils::readFileBuffer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="XMLFileMgr_8hpp.html#a6738b6a1cc86fbf4c231eac94e357446">FileHandle</a>&#160;</td>
          <td class="paramname"><em>theFile</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>&#160;</td>
          <td class="paramname"><em>toRead</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="XercesDefs_8hpp.html#a7470c7a32c59355685ebcd878a33f126">XMLByte</a> *const&#160;</td>
          <td class="paramname"><em>toFill</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
          <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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>Reads the file buffer. </p>
<p>This must be implemented by the per-platform driver, which should use local file services to read up to 'toRead' bytes of data from the passed file, and return those bytes in the 'toFill' buffer. It is not an error not to read the requested number of bytes. When the end of file is reached, zero should be returned.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">theFile</td><td>The file handle to be read from. </td></tr>
    <tr><td class="paramname">toRead</td><td>The maximum number of byte to read from the current position </td></tr>
    <tr><td class="paramname">toFill</td><td>The byte buffer to fill </td></tr>
    <tr><td class="paramname">manager</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager. ">MemoryManager</a> to use to allocate objects</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns the number of bytes read from the stream or file </dd></dl>

</div>
</div>
<a class="anchor" id="a92246fafe4d841516c48b88f10d62a4a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void XMLPlatformUtils::recognizeNEL </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>state</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
          <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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>This function enables the recognition of NEL(0x85) char and LSEP (0x2028) as newline chars which is disabled by default. </p>
<p>It is only called once per process. Once it is set, any subsequent calls will result in exception being thrown.</p>
<p>Note: 1. Turning this option on will make the parser non compliant to XML 1.0.</p>
<ol type="1">
<li>This option has no effect to document conforming to XML 1.1 compliant, which always recognize these two chars (0x85 and 0x2028) as newline characters. </li>
</ol>

</div>
</div>
<a class="anchor" id="a1b90b8d2129bdcdfa4bf615db8dd85a7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void XMLPlatformUtils::removeDotDotSlash </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
          <td class="paramname"><em>srcPath</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
          <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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>Remove occurrences of the dot dot slash. </p>
<p>To remove the sequence, slash dot dot slash and its preceding path segment if and only if the preceding path segment is not slash dot dot slash.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">srcPath</td><td>The path for which you want to remove the slash dot dot slash sequence and its preceding path segment. </td></tr>
    <tr><td class="paramname">manager</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager. ">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="aff1af43494b60e1783124747f291b6a0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void XMLPlatformUtils::removeDotSlash </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
          <td class="paramname"><em>srcPath</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
          <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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>Remove occurrences of the pair of dot slash. </p>
<p>To remove the sequence, dot slash if it is part of the sequence, slash dot slash.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">srcPath</td><td>The path for which you want to remove the dot slash sequence. </td></tr>
    <tr><td class="paramname">manager</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager. ">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a3e64b2526936ae010a69cb42ba44c5c8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void XMLPlatformUtils::resetFile </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="XMLFileMgr_8hpp.html#a6738b6a1cc86fbf4c231eac94e357446">FileHandle</a>&#160;</td>
          <td class="paramname"><em>theFile</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
          <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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>Resets the file handle. </p>
<p>This must be implemented by the per-platform driver which will use local file services to reset the file position to the start of the the file.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">theFile</td><td>The file handle that you want to reset </td></tr>
    <tr><td class="paramname">manager</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager. ">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a467744b197025769630c61e940336434"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void XMLPlatformUtils::strictIANAEncoding </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>state</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>This function enables/disables strict IANA encoding names checking. </p>
<p>The strict checking is disabled by default.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">state</td><td>If true, a strict IANA encoding name check is performed, otherwise, no checking. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="adc0dcc57907126e06a2f5e376b392794"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void XMLPlatformUtils::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 per-process parser termination. </p>
<p>The termination call is currently optional, to aid those dynamically loading the parser to clean up before exit, or to avoid spurious reports from leak detectors. </p>

</div>
</div>
<a class="anchor" id="ae0213591d1ba763a82bd25197e22a89b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void XMLPlatformUtils::unlockMutex </td>
          <td>(</td>
          <td class="paramtype">void *const&#160;</td>
          <td class="paramname"><em>mtxHandle</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>Unlocks a mutex. </p>
<p>Each per-platform driver must implement this. Only it knows what the actual content of the passed mutex handle is.</p>
<p>Note that, since the underlying system synchronization services are used, Xerces cannot guarantee that lock/unlock operations are correctly enforced on a per-thread basis or that incorrect nesting of lock/unlock operations will be caught.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">mtxHandle</td><td>The mutex handle that you want to unlock </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae5773fab0f689e5befc627d515818d46"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* XMLPlatformUtils::weavePaths </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
          <td class="paramname"><em>basePath</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
          <td class="paramname"><em>relativePath</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
          <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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>Utility to join two paths. </p>
<p>This must be implemented by the per-platform driver, and should weave the relative path part together with the base part and return a new path that represents this combination.</p>
<p>If the relative part turns out to be fully qualified, it will be returned as is. If it is not, then it will be woven onto the passed base path, by removing one path component for each leading "../" (or whatever is the equivalent in the local system) in the relative path.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">basePath</td><td>The string containing the base path </td></tr>
    <tr><td class="paramname">relativePath</td><td>The string containing the relative path </td></tr>
    <tr><td class="paramname">manager</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager. ">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns a string containing the 'woven' path. It should be dynamically allocated and becomes the responsibility of the caller to delete. </dd></dl>

</div>
</div>
<a class="anchor" id="a6c77c874c1c3c04773c5d7c16056f874"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void XMLPlatformUtils::writeBufferToFile </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="XMLFileMgr_8hpp.html#a6738b6a1cc86fbf4c231eac94e357446">FileHandle</a> const&#160;</td>
          <td class="paramname"><em>theFile</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>&#160;</td>
          <td class="paramname"><em>toWrite</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="XercesDefs_8hpp.html#a7470c7a32c59355685ebcd878a33f126">XMLByte</a> *const&#160;</td>
          <td class="paramname"><em>toFlush</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
          <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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>Writes the buffer to the file. </p>
<p>This must be implemented by the per-platform driver, which should use local file services to write up to 'toWrite' bytes of data to the passed file. Unless exception raised by local file services, 'toWrite' bytes of data is to be written to the passed file.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">theFile</td><td>The file handle to be written to. </td></tr>
    <tr><td class="paramname">toWrite</td><td>The maximum number of byte to write from the current position </td></tr>
    <tr><td class="paramname">toFlush</td><td>The byte buffer to flush </td></tr>
    <tr><td class="paramname">manager</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager. ">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="aaa3859ca77bec01d7c5c4da4632ab761"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">XMLMutex* XMLPlatformUtils::fgAtomicMutex</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>Global mutex for fast or infrequent operations. </p>
<p>Use this mutex only for fast (e.g., increment an integer, check flag, etc.) or infrequent (e.g., once-off initialization) operations. </p>

</div>
</div>
<a class="anchor" id="adb96471b53887380718f80e54934925f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPanicHandler.html">PanicHandler</a>* XMLPlatformUtils::fgDefaultPanicHandler</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>The Panic Handler. </p>
<p>This is the default panic handler. </p>

</div>
</div>
<a class="anchor" id="a14ce4194a811184a9e1e17ca2adeee9d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classXMLFileMgr.html">XMLFileMgr</a>* XMLPlatformUtils::fgFileMgr</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a97eff0d9fff3567bea3acd3ca4d95252"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classMemoryManager.html">MemoryManager</a>* XMLPlatformUtils::fgMemoryManager</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>The configurable memory manager. </p>
<p>This is the pluggable memory manager. If it is not provided by an application, a default implementation is used. </p>

</div>
</div>
<a class="anchor" id="a28f0c7e21b0ccf29bb38c90a544ebc8f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classXMLMutexMgr.html">XMLMutexMgr</a>* XMLPlatformUtils::fgMutexMgr</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a6bbba118a3327b2e7c1952bf04de2787"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classXMLNetAccessor.html">XMLNetAccessor</a>* XMLPlatformUtils::fgNetAccessor</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>The network accessor. </p>
<p>This is provided by the per-platform driver, so each platform can choose what actual implementation it wants to use. The object must be dynamically allocated.</p>
<p><em>Note that you may optionally, if your platform driver does not install a network accessor, set it manually from your client code after calling <a class="el" href="classXMLPlatformUtils.html#aaa98f8d1346b8b531ee8886d9ce36173" title="Perform per-process parser initialization. ">Initialize()</a>. This works because this object is not required during initialization, and only comes into play during actual XML parsing.</em> </p>

</div>
</div>
<a class="anchor" id="a41b2fc50c55ad21172a8e649d441aec0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool XMLPlatformUtils::fgSSE2ok</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="abb0ad83db922cbf891a70319b2e6702b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classXMLTransService.html">XMLTransService</a>* XMLPlatformUtils::fgTransService</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>The transcoding service. </p>
<p>This is provided by the per platform driver, so each platform can choose what implementation it wants to use. When the platform independent initialization code needs to get a transcoding service object, it will call <code>makeTransService()</code> to ask the per-platform code to create one. Only one transcoding service object is requested per-process, so it is shared and synchronized among parser instances within that process. </p>

</div>
</div>
<a class="anchor" id="aac6484e7073d5fb515ea791ee873b5bd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPanicHandler.html">PanicHandler</a>* XMLPlatformUtils::fgUserPanicHandler</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>The Panic Handler. </p>
<p>This is the application provided panic handler. </p>

</div>
</div>
<a class="anchor" id="a5d963ab2acfd08abcfcaab3a7e5819d2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool XMLPlatformUtils::fgXMLChBigEndian</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="PlatformUtils_8hpp_source.html">PlatformUtils.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>