You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
<!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.9.1"/> <title>Xerces-C++: XMLGrammarPool 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++  <span id="projectnumber">3.1.2</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.9.1 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related 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 List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="classXMLGrammarPool-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">XMLGrammarPool Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div> </div><!--header--> <div class="contents"> <div class="dynheader"> Inheritance diagram for XMLGrammarPool:</div> <div class="dyncontent"> <div class="center"> <img src="classXMLGrammarPool.png" usemap="#XMLGrammarPool_map" alt=""/> <map id="XMLGrammarPool_map" name="XMLGrammarPool_map"> <area href="classXMemory.html" title="This class makes it possible to override the C++ memory management by adding new/delete operators to ..." alt="XMemory" shape="rect" coords="0,0,115,24"/> </map> </div></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a911e64476593684402942f1328be063d"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLGrammarPool.html#a911e64476593684402942f1328be063d">serializeGrammars</a> (<a class="el" href="classBinOutputStream.html">BinOutputStream</a> *const)=0</td></tr> <tr class="memdesc:a911e64476593684402942f1328be063d"><td class="mdescLeft"> </td><td class="mdescRight">serialization and deserialization support <a href="#a911e64476593684402942f1328be063d">More...</a><br /></td></tr> <tr class="separator:a911e64476593684402942f1328be063d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a49c9d8b945202dc52efac9a49777b76c"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLGrammarPool.html#a49c9d8b945202dc52efac9a49777b76c">deserializeGrammars</a> (<a class="el" href="classBinInputStream.html">BinInputStream</a> *const)=0</td></tr> <tr class="separator:a49c9d8b945202dc52efac9a49777b76c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af320d13b44ba404c9653e5934ddd782a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLGrammarPool.html#af320d13b44ba404c9653e5934ddd782a">setIgnoreSerializedAnnotations</a> (const bool flag)</td></tr> <tr class="separator:af320d13b44ba404c9653e5934ddd782a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9b8187ba62782cc03c0ad1fc6a658023"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLGrammarPool.html#a9b8187ba62782cc03c0ad1fc6a658023">getIgnoreSerializedAnnotations</a> () const </td></tr> <tr class="separator:a9b8187ba62782cc03c0ad1fc6a658023"><td class="memSeparator" colspan="2"> </td></tr> <tr><td colspan="2"><div class="groupHeader">Virtual destructor for derived classes</div></td></tr> <tr class="memitem:a792b7f4329e5f5879e697267e1f77045"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLGrammarPool.html#a792b7f4329e5f5879e697267e1f77045">~XMLGrammarPool</a> ()</td></tr> <tr class="memdesc:a792b7f4329e5f5879e697267e1f77045"><td class="mdescLeft"> </td><td class="mdescRight">virtual destructor <a href="#a792b7f4329e5f5879e697267e1f77045">More...</a><br /></td></tr> <tr class="separator:a792b7f4329e5f5879e697267e1f77045"><td class="memSeparator" colspan="2"> </td></tr> <tr><td colspan="2"><div class="groupHeader">The Grammar Pool Interface</div></td></tr> <tr class="memitem:a08e026b224ce673351399e5aa89986a4"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLGrammarPool.html#a08e026b224ce673351399e5aa89986a4">cacheGrammar</a> (Grammar *const gramToCache)=0</td></tr> <tr class="memdesc:a08e026b224ce673351399e5aa89986a4"><td class="mdescLeft"> </td><td class="mdescRight">cacheGrammar <a href="#a08e026b224ce673351399e5aa89986a4">More...</a><br /></td></tr> <tr class="separator:a08e026b224ce673351399e5aa89986a4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4d46fe203456ff60dd6018f314703c30"><td class="memItemLeft" align="right" valign="top">virtual Grammar * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLGrammarPool.html#a4d46fe203456ff60dd6018f314703c30">retrieveGrammar</a> (<a class="el" href="classXMLGrammarDescription.html">XMLGrammarDescription</a> *const gramDesc)=0</td></tr> <tr class="memdesc:a4d46fe203456ff60dd6018f314703c30"><td class="mdescLeft"> </td><td class="mdescRight">retrieveGrammar <a href="#a4d46fe203456ff60dd6018f314703c30">More...</a><br /></td></tr> <tr class="separator:a4d46fe203456ff60dd6018f314703c30"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad0254f88ff391922562f98f1c9d221df"><td class="memItemLeft" align="right" valign="top">virtual Grammar * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLGrammarPool.html#ad0254f88ff391922562f98f1c9d221df">orphanGrammar</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const nameSpaceKey)=0</td></tr> <tr class="memdesc:ad0254f88ff391922562f98f1c9d221df"><td class="mdescLeft"> </td><td class="mdescRight">orphanGrammar <a href="#ad0254f88ff391922562f98f1c9d221df">More...</a><br /></td></tr> <tr class="separator:ad0254f88ff391922562f98f1c9d221df"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3cc5ab2ad55b562cb636871b7d9895e8"><td class="memItemLeft" align="right" valign="top">virtual RefHashTableOfEnumerator< Grammar > </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLGrammarPool.html#a3cc5ab2ad55b562cb636871b7d9895e8">getGrammarEnumerator</a> () const =0</td></tr> <tr class="memdesc:a3cc5ab2ad55b562cb636871b7d9895e8"><td class="mdescLeft"> </td><td class="mdescRight">Get an enumeration of the cached Grammars in the Grammar pool. <a href="#a3cc5ab2ad55b562cb636871b7d9895e8">More...</a><br /></td></tr> <tr class="separator:a3cc5ab2ad55b562cb636871b7d9895e8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab85574c2179f8093fc0332e9687effd7"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLGrammarPool.html#ab85574c2179f8093fc0332e9687effd7">clear</a> ()=0</td></tr> <tr class="memdesc:ab85574c2179f8093fc0332e9687effd7"><td class="mdescLeft"> </td><td class="mdescRight">clear <a href="#ab85574c2179f8093fc0332e9687effd7">More...</a><br /></td></tr> <tr class="separator:ab85574c2179f8093fc0332e9687effd7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a31c136f2bee3a151004b51901342798e"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLGrammarPool.html#a31c136f2bee3a151004b51901342798e">lockPool</a> ()=0</td></tr> <tr class="memdesc:a31c136f2bee3a151004b51901342798e"><td class="mdescLeft"> </td><td class="mdescRight">lockPool <a href="#a31c136f2bee3a151004b51901342798e">More...</a><br /></td></tr> <tr class="separator:a31c136f2bee3a151004b51901342798e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a787f93c1c88fb9c95d9547869e217a0a"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLGrammarPool.html#a787f93c1c88fb9c95d9547869e217a0a">unlockPool</a> ()=0</td></tr> <tr class="memdesc:a787f93c1c88fb9c95d9547869e217a0a"><td class="mdescLeft"> </td><td class="mdescRight">unlockPool <a href="#a787f93c1c88fb9c95d9547869e217a0a">More...</a><br /></td></tr> <tr class="separator:a787f93c1c88fb9c95d9547869e217a0a"><td class="memSeparator" colspan="2"> </td></tr> <tr><td colspan="2"><div class="groupHeader">Factory interface</div></td></tr> <tr class="memitem:a981598e2cb25c0143405bf4c33ab141c"><td class="memItemLeft" align="right" valign="top">virtual DTDGrammar * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLGrammarPool.html#a981598e2cb25c0143405bf4c33ab141c">createDTDGrammar</a> ()=0</td></tr> <tr class="memdesc:a981598e2cb25c0143405bf4c33ab141c"><td class="mdescLeft"> </td><td class="mdescRight">createDTDGrammar <a href="#a981598e2cb25c0143405bf4c33ab141c">More...</a><br /></td></tr> <tr class="separator:a981598e2cb25c0143405bf4c33ab141c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad2de4f22719bf51d9b642f808b5f06fe"><td class="memItemLeft" align="right" valign="top">virtual SchemaGrammar * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLGrammarPool.html#ad2de4f22719bf51d9b642f808b5f06fe">createSchemaGrammar</a> ()=0</td></tr> <tr class="memdesc:ad2de4f22719bf51d9b642f808b5f06fe"><td class="mdescLeft"> </td><td class="mdescRight">createSchemaGrammar <a href="#ad2de4f22719bf51d9b642f808b5f06fe">More...</a><br /></td></tr> <tr class="separator:ad2de4f22719bf51d9b642f808b5f06fe"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad492ce388622e955d1a629e3892e0793"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classXMLDTDDescription.html">XMLDTDDescription</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLGrammarPool.html#ad492ce388622e955d1a629e3892e0793">createDTDDescription</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const systemId)=0</td></tr> <tr class="memdesc:ad492ce388622e955d1a629e3892e0793"><td class="mdescLeft"> </td><td class="mdescRight">createDTDDescription <a href="#ad492ce388622e955d1a629e3892e0793">More...</a><br /></td></tr> <tr class="separator:ad492ce388622e955d1a629e3892e0793"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1f922708efaa4e4fafee6ed5af04a306"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classXMLSchemaDescription.html">XMLSchemaDescription</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLGrammarPool.html#a1f922708efaa4e4fafee6ed5af04a306">createSchemaDescription</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const targetNamespace)=0</td></tr> <tr class="memdesc:a1f922708efaa4e4fafee6ed5af04a306"><td class="mdescLeft"> </td><td class="mdescRight">createSchemaDescription <a href="#a1f922708efaa4e4fafee6ed5af04a306">More...</a><br /></td></tr> <tr class="separator:a1f922708efaa4e4fafee6ed5af04a306"><td class="memSeparator" colspan="2"> </td></tr> <tr><td colspan="2"><div class="groupHeader">schema component model support</div></td></tr> <tr class="memitem:ad4ae5730d543a4525421d1b5e920a736"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classXSModel.html">XSModel</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLGrammarPool.html#ad4ae5730d543a4525421d1b5e920a736">getXSModel</a> (bool &XSModelWasChanged)=0</td></tr> <tr class="separator:ad4ae5730d543a4525421d1b5e920a736"><td class="memSeparator" colspan="2"> </td></tr> <tr><td colspan="2"><div class="groupHeader">Getter</div></td></tr> <tr class="memitem:ae12c5153eb902652d3ebd5c8d504e5b3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classMemoryManager.html">MemoryManager</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLGrammarPool.html#ae12c5153eb902652d3ebd5c8d504e5b3">getMemoryManager</a> ()</td></tr> <tr class="memdesc:ae12c5153eb902652d3ebd5c8d504e5b3"><td class="mdescLeft"> </td><td class="mdescRight">getMemoryManager <a href="#ae12c5153eb902652d3ebd5c8d504e5b3">More...</a><br /></td></tr> <tr class="separator:ae12c5153eb902652d3ebd5c8d504e5b3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af9f72a65d9b8b15b6f94b9e526e2acd1"><td class="memItemLeft" align="right" valign="top">virtual XMLStringPool * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLGrammarPool.html#af9f72a65d9b8b15b6f94b9e526e2acd1">getURIStringPool</a> ()=0</td></tr> <tr class="memdesc:af9f72a65d9b8b15b6f94b9e526e2acd1"><td class="mdescLeft"> </td><td class="mdescRight">Return an XMLStringPool for use by validation routines. <a href="#af9f72a65d9b8b15b6f94b9e526e2acd1">More...</a><br /></td></tr> <tr class="separator:af9f72a65d9b8b15b6f94b9e526e2acd1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classXMemory"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classXMemory')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classXMemory.html">XMemory</a></td></tr> <tr class="memitem:a717678d9deadc627a41fe0dddede9f7f inherit pub_methods_classXMemory"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMemory.html#a717678d9deadc627a41fe0dddede9f7f">operator new</a> (size_t size)</td></tr> <tr class="memdesc:a717678d9deadc627a41fe0dddede9f7f inherit pub_methods_classXMemory"><td class="mdescLeft"> </td><td class="mdescRight">This method overrides operator new. <a href="#a717678d9deadc627a41fe0dddede9f7f">More...</a><br /></td></tr> <tr class="separator:a717678d9deadc627a41fe0dddede9f7f inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac3022fcc968c684a31c1e6a9ede83c10 inherit pub_methods_classXMemory"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMemory.html#ac3022fcc968c684a31c1e6a9ede83c10">operator new</a> (size_t size, <a class="el" href="classMemoryManager.html">MemoryManager</a> *memMgr)</td></tr> <tr class="memdesc:ac3022fcc968c684a31c1e6a9ede83c10 inherit pub_methods_classXMemory"><td class="mdescLeft"> </td><td class="mdescRight">This method defines a custom operator new, that will use the provided memory manager to perform the allocation. <a href="#ac3022fcc968c684a31c1e6a9ede83c10">More...</a><br /></td></tr> <tr class="separator:ac3022fcc968c684a31c1e6a9ede83c10 inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aeaad885b799ac2188ffd28f76182339c inherit pub_methods_classXMemory"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMemory.html#aeaad885b799ac2188ffd28f76182339c">operator new</a> (size_t size, void *ptr)</td></tr> <tr class="memdesc:aeaad885b799ac2188ffd28f76182339c inherit pub_methods_classXMemory"><td class="mdescLeft"> </td><td class="mdescRight">This method overrides placement operator new. <a href="#aeaad885b799ac2188ffd28f76182339c">More...</a><br /></td></tr> <tr class="separator:aeaad885b799ac2188ffd28f76182339c inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9da30f1601ea458908cbf150fc2f8f8b inherit pub_methods_classXMemory"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMemory.html#a9da30f1601ea458908cbf150fc2f8f8b">operator delete</a> (void *p)</td></tr> <tr class="memdesc:a9da30f1601ea458908cbf150fc2f8f8b inherit pub_methods_classXMemory"><td class="mdescLeft"> </td><td class="mdescRight">This method overrides operator delete. <a href="#a9da30f1601ea458908cbf150fc2f8f8b">More...</a><br /></td></tr> <tr class="separator:a9da30f1601ea458908cbf150fc2f8f8b inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a22efbc6459bdbe79f83b7791bba4d1f6 inherit pub_methods_classXMemory"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMemory.html#a22efbc6459bdbe79f83b7791bba4d1f6">operator delete</a> (void *p, <a class="el" href="classMemoryManager.html">MemoryManager</a> *memMgr)</td></tr> <tr class="memdesc:a22efbc6459bdbe79f83b7791bba4d1f6 inherit pub_methods_classXMemory"><td class="mdescLeft"> </td><td class="mdescRight">This method provides a matching delete for the custom operator new. <a href="#a22efbc6459bdbe79f83b7791bba4d1f6">More...</a><br /></td></tr> <tr class="separator:a22efbc6459bdbe79f83b7791bba4d1f6 inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a32ee38b70d412e12f669cfbd86adf623 inherit pub_methods_classXMemory"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMemory.html#a32ee38b70d412e12f669cfbd86adf623">operator delete</a> (void *p, void *ptr)</td></tr> <tr class="memdesc:a32ee38b70d412e12f669cfbd86adf623 inherit pub_methods_classXMemory"><td class="mdescLeft"> </td><td class="mdescRight">This method provides a matching delete for the placement new. <a href="#a32ee38b70d412e12f669cfbd86adf623">More...</a><br /></td></tr> <tr class="separator:a32ee38b70d412e12f669cfbd86adf623 inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr class="memitem:a0dc250a1820cebb8aa99449d1c57e502"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLGrammarPool.html#a0dc250a1820cebb8aa99449d1c57e502">XMLGrammarPool</a> (<a class="el" href="classMemoryManager.html">MemoryManager</a> *const memMgr=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr> <tr class="memdesc:a0dc250a1820cebb8aa99449d1c57e502"><td class="mdescLeft"> </td><td class="mdescRight">Hidden Constructors. <a href="#a0dc250a1820cebb8aa99449d1c57e502">More...</a><br /></td></tr> <tr class="separator:a0dc250a1820cebb8aa99449d1c57e502"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pro_methods_classXMemory"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classXMemory')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classXMemory.html">XMemory</a></td></tr> <tr class="memitem:ae5b8adaa10d5d9276b42823f47e06858 inherit pro_methods_classXMemory"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMemory.html#ae5b8adaa10d5d9276b42823f47e06858">XMemory</a> ()</td></tr> <tr class="memdesc:ae5b8adaa10d5d9276b42823f47e06858 inherit pro_methods_classXMemory"><td class="mdescLeft"> </td><td class="mdescRight">Protected default constructor. <a href="#ae5b8adaa10d5d9276b42823f47e06858">More...</a><br /></td></tr> <tr class="separator:ae5b8adaa10d5d9276b42823f47e06858 inherit pro_methods_classXMemory"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="a792b7f4329e5f5879e697267e1f77045"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual XMLGrammarPool::~XMLGrammarPool </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc">
<p>virtual destructor </p>
</div> </div> <a class="anchor" id="a0dc250a1820cebb8aa99449d1c57e502"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">XMLGrammarPool::XMLGrammarPool </td> <td>(</td> <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td> <td class="paramname"><em>memMgr</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">protected</span></span> </td> </tr> </table> </div><div class="memdoc">
<p>Hidden Constructors. </p>
</div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a08e026b224ce673351399e5aa89986a4"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual bool XMLGrammarPool::cacheGrammar </td> <td>(</td> <td class="paramtype">Grammar *const </td> <td class="paramname"><em>gramToCache</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> </tr> </table> </div><div class="memdoc">
<p>cacheGrammar </p> <p>Provide the grammar pool with an opportunity to cache the given grammar. If the pool does not choose to do so, it should return false; otherwise, it should return true, so that the caller knows whether the grammar has been adopted.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">gramToCache</td><td>the Grammar to be cached in the grammar pool </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true if the grammar pool has elected to cache the grammar (in which case it is assumed to have adopted it); false if it does not cache it </dd></dl>
</div> </div> <a class="anchor" id="ab85574c2179f8093fc0332e9687effd7"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual bool XMLGrammarPool::clear </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> </tr> </table> </div><div class="memdoc">
<p>clear </p> <p>all grammars are removed from the grammar pool and deleted. </p><dl class="section return"><dt>Returns</dt><dd>true if the grammar pool was cleared. false if it did not. </dd></dl>
</div> </div> <a class="anchor" id="ad492ce388622e955d1a629e3892e0793"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classXMLDTDDescription.html">XMLDTDDescription</a>* XMLGrammarPool::createDTDDescription </td> <td>(</td> <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const </td> <td class="paramname"><em>systemId</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> </tr> </table> </div><div class="memdoc">
<p>createDTDDescription </p>
</div> </div> <a class="anchor" id="a981598e2cb25c0143405bf4c33ab141c"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual DTDGrammar* XMLGrammarPool::createDTDGrammar </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> </tr> </table> </div><div class="memdoc">
<p>createDTDGrammar </p>
</div> </div> <a class="anchor" id="a1f922708efaa4e4fafee6ed5af04a306"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classXMLSchemaDescription.html">XMLSchemaDescription</a>* XMLGrammarPool::createSchemaDescription </td> <td>(</td> <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const </td> <td class="paramname"><em>targetNamespace</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> </tr> </table> </div><div class="memdoc">
<p>createSchemaDescription </p>
</div> </div> <a class="anchor" id="ad2de4f22719bf51d9b642f808b5f06fe"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual SchemaGrammar* XMLGrammarPool::createSchemaGrammar </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> </tr> </table> </div><div class="memdoc">
<p>createSchemaGrammar </p>
</div> </div> <a class="anchor" id="a49c9d8b945202dc52efac9a49777b76c"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual void XMLGrammarPool::deserializeGrammars </td> <td>(</td> <td class="paramtype"><a class="el" href="classBinInputStream.html">BinInputStream</a> * </td> <td class="paramname"><em>const</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> </tr> </table> </div><div class="memdoc">
</div> </div> <a class="anchor" id="a3cc5ab2ad55b562cb636871b7d9895e8"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual RefHashTableOfEnumerator<Grammar> XMLGrammarPool::getGrammarEnumerator </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> </tr> </table> </div><div class="memdoc">
<p>Get an enumeration of the cached Grammars in the Grammar pool. </p> <dl class="section return"><dt>Returns</dt><dd>enumeration of the cached Grammars in Grammar pool </dd></dl>
</div> </div> <a class="anchor" id="a9b8187ba62782cc03c0ad1fc6a658023"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool XMLGrammarPool::getIgnoreSerializedAnnotations </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc">
</div> </div> <a class="anchor" id="ae12c5153eb902652d3ebd5c8d504e5b3"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classMemoryManager.html">MemoryManager</a>* XMLGrammarPool::getMemoryManager </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc">
<p>getMemoryManager </p>
</div> </div> <a class="anchor" id="af9f72a65d9b8b15b6f94b9e526e2acd1"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual XMLStringPool* XMLGrammarPool::getURIStringPool </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> </tr> </table> </div><div class="memdoc">
<p>Return an XMLStringPool for use by validation routines. </p> <p>Implementations should not create a string pool on each call to this method, but should maintain one string pool for all grammars for which this pool is responsible. </p>
</div> </div> <a class="anchor" id="ad4ae5730d543a4525421d1b5e920a736"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classXSModel.html">XSModel</a>* XMLGrammarPool::getXSModel </td> <td>(</td> <td class="paramtype">bool & </td> <td class="paramname"><em>XSModelWasChanged</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> </tr> </table> </div><div class="memdoc">
</div> </div> <a class="anchor" id="a31c136f2bee3a151004b51901342798e"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual void XMLGrammarPool::lockPool </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> </tr> </table> </div><div class="memdoc">
<p>lockPool </p> <p>When this method is called by the application, the grammar pool should stop adding new grammars to the cache. This should result in the grammar pool being sharable among parsers operating in different threads. </p>
</div> </div> <a class="anchor" id="ad0254f88ff391922562f98f1c9d221df"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual Grammar* XMLGrammarPool::orphanGrammar </td> <td>(</td> <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const </td> <td class="paramname"><em>nameSpaceKey</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> </tr> </table> </div><div class="memdoc">
<p>orphanGrammar </p> <p>grammar removed from the grammar pool and owned by the caller</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">nameSpaceKey</td><td>Key used to search for grammar in the grammar pool </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the grammar that was removed from the pool (0 if none) </dd></dl>
</div> </div> <a class="anchor" id="a4d46fe203456ff60dd6018f314703c30"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual Grammar* XMLGrammarPool::retrieveGrammar </td> <td>(</td> <td class="paramtype"><a class="el" href="classXMLGrammarDescription.html">XMLGrammarDescription</a> *const </td> <td class="paramname"><em>gramDesc</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> </tr> </table> </div><div class="memdoc">
<p>retrieveGrammar </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">gramDesc</td><td>the Grammar Description used to search for grammar cached in the grammar pool </td></tr> </table> </dd> </dl>
</div> </div> <a class="anchor" id="a911e64476593684402942f1328be063d"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual void XMLGrammarPool::serializeGrammars </td> <td>(</td> <td class="paramtype"><a class="el" href="classBinOutputStream.html">BinOutputStream</a> * </td> <td class="paramname"><em>const</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> </tr> </table> </div><div class="memdoc">
<p>serialization and deserialization support </p>
</div> </div> <a class="anchor" id="af320d13b44ba404c9653e5934ddd782a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void XMLGrammarPool::setIgnoreSerializedAnnotations </td> <td>(</td> <td class="paramtype">const bool </td> <td class="paramname"><em>flag</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc">
</div> </div> <a class="anchor" id="a787f93c1c88fb9c95d9547869e217a0a"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual void XMLGrammarPool::unlockPool </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> </tr> </table> </div><div class="memdoc">
<p>unlockPool </p> <p>After this method has been called, the grammar pool implementation should return to its default behaviour when cacheGrammars(...) is called. One effect, depending on the underlying implementation, is that the grammar pool may no longer be thread-safe (even on read operations).</p> <p>For PSVI support any previous <a class="el" href="classXSModel.html">XSModel</a> that was produced will be deleted. </p>
</div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="XMLGrammarPool_8hpp_source.html">XMLGrammarPool.hpp</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Wed Mar 18 2015 10:43:39 for Xerces-C++ by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.9.1 </small></address> </body> </html>
|