PageRenderTime 34ms CodeModel.GetById 1ms RepoModel.GetById 0ms app.codeStats 0ms

/libstdc++-v3/doc/html/ext/pb_ds/sample_trie_node_update.html

https://bitbucket.org/pizzafactory/pf-gcc
HTML | 194 lines | 151 code | 43 blank | 0 comment | 0 complexity | 70fdb0d12efdf5a950e642cf97e49eb5 MD5 | raw file
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4. <head>
  5. <meta name="generator" content=
  6. "HTML Tidy for Linux/x86 (vers 12 April 2005), see www.w3.org" />
  7. <title>sample_trie_node_update Interface</title>
  8. <meta http-equiv="Content-Type" content=
  9. "text/html; charset=us-ascii" />
  10. </head>
  11. <body>
  12. <div id="page">
  13. <h1><tt>sample_trie_node_update</tt> Interface</h1>
  14. <p>A sample node updater.</p>
  15. <p>This class serves to show the interface a node update
  16. functor needs to support.</p>
  17. <p>Defined in: <a href=
  18. "http://gcc.gnu.org/viewcvs/*checkout*/trunk/libstdc%2B%2B-v3/include/ext/pb_ds/detail/trie_policy/sample_trie_node_update.hpp"><tt>
  19. sample_trie_node_update.hpp</tt></a></p>
  20. <h2><a name="link1" id="link1">Template Parameters</a></h2>
  21. <table class="c1" width="100%" border="1" summary=
  22. "Template Parameters">
  23. <tr>
  24. <td width="20%" align="left"><b>Parameter</b></td>
  25. <td width="50%" align="left"><b>Description</b></td>
  26. <td width="30%" align="left"><b>Default Value</b></td>
  27. </tr>
  28. <tr>
  29. <td>
  30. <pre>
  31. <a name="Const_Node_Iterator1933878761" id=
  32. "Const_Node_Iterator1933878761"><b>class</b> Const_Node_Iterator</a>
  33. </pre>
  34. </td>
  35. <td>
  36. <p>Const node iterator type.</p>
  37. </td>
  38. <td>-</td>
  39. </tr>
  40. <tr>
  41. <td>
  42. <pre>
  43. <a name="Node_Iterator4206909839" id=
  44. "Node_Iterator4206909839"><b>class</b> Node_Iterator</a>
  45. </pre>
  46. </td>
  47. <td>
  48. <p>Node iterator type.</p>
  49. </td>
  50. <td>-</td>
  51. </tr>
  52. <tr>
  53. <td>
  54. <pre>
  55. <a name="E_Access_Traits686553840" id=
  56. "E_Access_Traits686553840"><b>class</b> E_Access_Traits</a>
  57. </pre>
  58. </td>
  59. <td>
  60. <p>Comparison functor.</p>
  61. </td>
  62. <td>-</td>
  63. </tr>
  64. <tr>
  65. <td>
  66. <pre>
  67. <a name="Allocator35940069" id=
  68. "Allocator35940069"><b>class</b> Allocator</a>
  69. </pre>
  70. </td>
  71. <td>
  72. <p>Allocator type.</p>
  73. </td>
  74. <td>-</td>
  75. </tr>
  76. </table>
  77. <h2><a name="link2" id="link2">Public Types and
  78. Constants</a></h2>
  79. <h3><a name="link3" id="link3">Metadata definitions.</a></h3>
  80. <table class="c1" width="100%" border="1" summary="Types">
  81. <tr>
  82. <td width="30%" align="left"><b>Type</b></td>
  83. <td width="55%" align="left"><b>Definition</b></td>
  84. <td width="15%" align="left"><b>Description</b></td>
  85. </tr>
  86. <tr>
  87. <td>
  88. <pre>
  89. <a name="metadata_type2849297114" id=
  90. "metadata_type2849297114">metadata_type</a>
  91. </pre>
  92. </td>
  93. <td>
  94. <pre>
  95. size_t
  96. </pre>
  97. </td>
  98. <td>
  99. <p>Metadata type.</p>
  100. <p>This can be any type; size_t is merely an example.</p>
  101. </td>
  102. </tr>
  103. </table>
  104. <h2><a name="link4" id="link4">Protected Methods</a></h2>
  105. <h3><a name="link5" id="link5">Conclassors, declassor, and
  106. related.</a></h3>
  107. <table class="c1" width="100%" border="1" summary="Methods">
  108. <tr>
  109. <td width="45%" align="left"><b>Method</b></td>
  110. <td width="55%" align="left"><b>Description</b></td>
  111. </tr>
  112. <tr>
  113. <td>
  114. <pre>
  115. sample_trie_node_update
  116. ()
  117. </pre>
  118. </td>
  119. <td>
  120. <p>Default constructor.</p>
  121. <p>Must be default constructable.</p>
  122. </td>
  123. </tr>
  124. </table>
  125. <h3><a name="link6" id="link6">Operators.</a></h3>
  126. <table class="c1" width="100%" border="1" summary="Methods">
  127. <tr>
  128. <td width="45%" align="left"><b>Method</b></td>
  129. <td width="55%" align="left"><b>Description</b></td>
  130. </tr>
  131. <tr>
  132. <td>
  133. <pre>
  134. <b>inline</b> <b>void</b>
  135. <b>operator</b>()
  136. (node_iterator node_it,
  137. const_node_iterator end_nd_it) <b>const</b>
  138. </pre>
  139. </td>
  140. <td>
  141. <p>Updates the rank of a node through a <span class=
  142. "c1"><tt>node_iterator</tt></span> <span class=
  143. "c1"><tt>node_it</tt></span>; <span class=
  144. "c1"><tt>end_nd_it</tt></span> is the end node
  145. iterator.</p>
  146. </td>
  147. </tr>
  148. </table>
  149. </div>
  150. </body>
  151. </html>