<!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.14"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>SALOME - SMESH: NCollection_BaseCollection.hxx Source File</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="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtreedata.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(initResizable); /* @license-end */</script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/searchdata.js"></script> <script type="text/javascript" src="search/search.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 id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">SALOME - SMESH </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.14 --> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ var searchBox = new SearchBox("searchBox", "search",false,'Search'); /* @license-end */ </script> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('',true,false,'search.php','Search'); $(document).ready(function() { init_search(); }); }); /* @license-end */</script> <div id="main-nav"></div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('NCollection__BaseCollection_8hxx_source.html','');}); /* @license-end */ </script> <div id="doc-content"> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> </div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div class="header"> <div class="headertitle"> <div class="title">NCollection_BaseCollection.hxx</div> </div> </div><!--header--> <div class="contents"> <a href="NCollection__BaseCollection_8hxx.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// Created on: 2002-04-09</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// Created by: Alexander KARTOMIN (akm)</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// Copyright (c) 2002-2014 OPEN CASCADE SAS</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">//</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// This file is part of Open CASCADE Technology software library.</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">//</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">// This library is free software; you can redistribute it and/or modify it under</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">// the terms of the GNU Lesser General Public License version 2.1 as published</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// by the Free Software Foundation, with special exception defined in the file</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// distribution for complete text of the license and disclaimer of any warranty.</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">//</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">// Alternatively, this file may be used under the terms of Open CASCADE</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">// commercial license or contractual agreement.</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#ifndef NCollection_BaseCollection_HeaderFile</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#define NCollection_BaseCollection_HeaderFile</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include <NCollection_IncAllocator.hxx></span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <NCollection_DefineAlloc.hxx></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="classNCollection__BaseCollection.html"> 44</a></span> <span class="keyword">template</span><<span class="keyword">class</span> TheItemType> <span class="keyword">class </span><a class="code" href="classNCollection__BaseCollection.html">NCollection_BaseCollection</a></div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> {</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="comment">// **************** The interface for iterating over collections</span></div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="classNCollection__BaseCollection_1_1Iterator.html"> 48</a></span>  <span class="keyword">class </span><a class="code" href="classNCollection__BaseCollection_1_1Iterator.html">Iterator</a> </div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  {</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keyword">virtual</span> Standard_Boolean <a class="code" href="classNCollection__BaseCollection_1_1Iterator.html#a43ec7dc7e9ca2da17c93c56b13bb0188">More</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>=0;</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classNCollection__BaseCollection_1_1Iterator.html#adb8feb78084c43db298cb66b8a7b7328">Next</a>(<span class="keywordtype">void</span>)=0;</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keyword">virtual</span> <span class="keyword">const</span> TheItemType& <a class="code" href="classNCollection__BaseCollection_1_1Iterator.html#a63c8085c334f6321bead74a412c5c20b">Value</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>=0;</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keyword">virtual</span> TheItemType& <a class="code" href="classNCollection__BaseCollection_1_1Iterator.html#ab07a2e2c2a82bce6f8127081501ae263">ChangeValue</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>=0;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  DEFINE_STANDARD_ALLOC</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  DEFINE_NCOLLECTION_ALLOC</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keyword">protected</span>:</div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="classNCollection__BaseCollection_1_1Iterator.html#a3ea35863208826eaf6ff257f05524adf"> 64</a></span>  <a class="code" href="classNCollection__BaseCollection_1_1Iterator.html#a3ea35863208826eaf6ff257f05524adf">Iterator</a> (<span class="keywordtype">void</span>) {}</div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classNCollection__BaseCollection_1_1Iterator.html#add6c352c99632713269f0d4c926950a3"> 66</a></span>  <span class="keyword">virtual</span> <a class="code" href="classNCollection__BaseCollection_1_1Iterator.html#add6c352c99632713269f0d4c926950a3">~Iterator</a> (<span class="keywordtype">void</span>) {}</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keyword">protected</span>:</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keyword">const</span> <a class="code" href="classNCollection__BaseCollection_1_1Iterator.html">Iterator</a>& <a class="code" href="classNCollection__BaseCollection_1_1Iterator.html#a846d1c57eef775838cc05c1818be90d5">operator= </a>(<span class="keyword">const</span> <a class="code" href="classNCollection__BaseCollection_1_1Iterator.html">Iterator</a>&);</div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="classNCollection__BaseCollection_1_1Iterator.html#accec68f7c0a637783254f32d4ae70405"> 71</a></span>  <a class="code" href="classNCollection__BaseCollection_1_1Iterator.html#accec68f7c0a637783254f32d4ae70405">Iterator</a> (<span class="keyword">const</span> <a class="code" href="classNCollection__BaseCollection_1_1Iterator.html">Iterator</a>&) {}</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  }; <span class="comment">// End of nested class Iterator</span></div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  </div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="comment">// ---------- PUBLIC METHODS ------------</span></div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <a class="code" href="classNCollection__BaseCollection.html#a4facdf7f22c64fedc17c713f0f623e61">NCollection_BaseCollection</a></div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="classNCollection__BaseCollection.html#a4facdf7f22c64fedc17c713f0f623e61"> 79</a></span>  (<span class="keyword">const</span> <a class="code" href="classNCollection__BaseCollection.html#a41d662523651686acb6b30c92ee9e476">Handle</a>(NCollection_BaseAllocator)& theAllocator=0L) </div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  {</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keywordflow">if</span> (theAllocator.IsNull())</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  myAllocator = NCollection_BaseAllocator::CommonBaseAllocator();</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keywordflow">else</span></div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  myAllocator = theAllocator;</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  }</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keyword">virtual</span> Standard_Integer <a class="code" href="classNCollection__BaseCollection.html#a46cd55b023fb8b2c7d5b7ef5ec2b6e4f">Size</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span> </div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classNCollection__BaseCollection.html#ae6cd28af36ac7932600be1eb85c31eef">Assign</a> </div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  (<span class="keyword">const</span> <a class="code" href="classNCollection__BaseCollection.html">NCollection_BaseCollection</a>& theOther)=0;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keyword">virtual</span> Iterator& <a class="code" href="classNCollection__BaseCollection.html#a0321632d1d3ad2dbaaceebf4c9fb11d6">CreateIterator</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>=0;</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> </div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="classNCollection__BaseCollection.html#a5fb5b2c7087fc7dd7b228f31e70d7ddb"> 98</a></span>  <span class="keyword">virtual</span> <a class="code" href="classNCollection__BaseCollection.html#a5fb5b2c7087fc7dd7b228f31e70d7ddb">~NCollection_BaseCollection</a> (<span class="keywordtype">void</span>) {}</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="classNCollection__BaseCollection.html#a41d662523651686acb6b30c92ee9e476"> 101</a></span>  <span class="keyword">const</span> <a class="code" href="classNCollection__BaseCollection.html#a41d662523651686acb6b30c92ee9e476">Handle</a>(NCollection_BaseAllocator)& Allocator()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> myAllocator; }</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span> </div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keyword">protected</span>:</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="comment">// --------- PROTECTED METHOD -----------</span></div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="classNCollection__BaseCollection.html#a764637a276de4dd6cc295d92088482ee"> 105</a></span>  <span class="keyword">const</span> <a class="code" href="classNCollection__BaseCollection.html#a764637a276de4dd6cc295d92088482ee">Handle</a>(NCollection_BaseAllocator)& IterAllocator(<span class="keywordtype">void</span>)<span class="keyword"> const</span></div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span> <span class="keyword"> </span>{ </div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keywordflow">if</span> (myIterAllocator.IsNull())</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  (Handle_NCollection_BaseAllocator&) myIterAllocator =</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keyword">new</span> NCollection_IncAllocator(64);</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keywordflow">return</span> myIterAllocator;</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  }</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span> </div><div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="classNCollection__BaseCollection.html#aa4237dd7639f2f6cebebf9178a2150a2"> 114</a></span>  <span class="keywordtype">void</span> <a class="code" href="classNCollection__BaseCollection.html#aa4237dd7639f2f6cebebf9178a2150a2">exchangeAllocators</a> (<a class="code" href="classNCollection__BaseCollection.html">NCollection_BaseCollection</a>& theOther)</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  {</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  std::swap (myAllocator, theOther.myAllocator);</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  std::swap (myIterAllocator, theOther.myIterAllocator);</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  }</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span> </div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keyword">protected</span>:</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="comment">// --------- PROTECTED FIELDS -----------</span></div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <a class="code" href="classNCollection__BaseCollection.html#a41d662523651686acb6b30c92ee9e476">Handle</a>(NCollection_BaseAllocator) myAllocator;</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="comment">// ---------- PRIVATE FIELDS ------------</span></div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <a class="code" href="classNCollection__BaseCollection.html#a41d662523651686acb6b30c92ee9e476">Handle</a>(NCollection_BaseAllocator) myIterAllocator;</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span> </div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span> };</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span> </div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="classNCollection__BaseCollection_1_1Iterator_html_add6c352c99632713269f0d4c926950a3"><div class="ttname"><a href="classNCollection__BaseCollection_1_1Iterator.html#add6c352c99632713269f0d4c926950a3">NCollection_BaseCollection::Iterator::~Iterator</a></div><div class="ttdeci">virtual ~Iterator(void)</div><div class="ttdoc">Virtual destructor is necessary for classes with virtual methods. </div><div class="ttdef"><b>Definition:</b> <a href="NCollection__BaseCollection_8hxx_source.html#l00066">NCollection_BaseCollection.hxx:66</a></div></div> <div class="ttc" id="classNCollection__BaseCollection_html_a4facdf7f22c64fedc17c713f0f623e61"><div class="ttname"><a href="classNCollection__BaseCollection.html#a4facdf7f22c64fedc17c713f0f623e61">NCollection_BaseCollection::NCollection_BaseCollection</a></div><div class="ttdeci">NCollection_BaseCollection(const Handle(NCollection_BaseAllocator)&theAllocator=0L)</div><div class="ttdoc">Common for all collections constructor takes care of theAllocator. </div><div class="ttdef"><b>Definition:</b> <a href="NCollection__BaseCollection_8hxx_source.html#l00079">NCollection_BaseCollection.hxx:79</a></div></div> <div class="ttc" id="classNCollection__BaseCollection_html_aa4237dd7639f2f6cebebf9178a2150a2"><div class="ttname"><a href="classNCollection__BaseCollection.html#aa4237dd7639f2f6cebebf9178a2150a2">NCollection_BaseCollection::exchangeAllocators</a></div><div class="ttdeci">void exchangeAllocators(NCollection_BaseCollection &theOther)</div><div class="ttdoc">Exchange allocators of two collections. </div><div class="ttdef"><b>Definition:</b> <a href="NCollection__BaseCollection_8hxx_source.html#l00114">NCollection_BaseCollection.hxx:114</a></div></div> <div class="ttc" id="classNCollection__BaseCollection_html_a46cd55b023fb8b2c7d5b7ef5ec2b6e4f"><div class="ttname"><a href="classNCollection__BaseCollection.html#a46cd55b023fb8b2c7d5b7ef5ec2b6e4f">NCollection_BaseCollection::Size</a></div><div class="ttdeci">virtual Standard_Integer Size(void) const =0</div><div class="ttdoc">Number of items. </div></div> <div class="ttc" id="classNCollection__BaseCollection_1_1Iterator_html_accec68f7c0a637783254f32d4ae70405"><div class="ttname"><a href="classNCollection__BaseCollection_1_1Iterator.html#accec68f7c0a637783254f32d4ae70405">NCollection_BaseCollection::Iterator::Iterator</a></div><div class="ttdeci">Iterator(const Iterator &)</div><div class="ttdoc">Copy constructor **. </div><div class="ttdef"><b>Definition:</b> <a href="NCollection__BaseCollection_8hxx_source.html#l00071">NCollection_BaseCollection.hxx:71</a></div></div> <div class="ttc" id="classNCollection__BaseCollection_1_1Iterator_html_a3ea35863208826eaf6ff257f05524adf"><div class="ttname"><a href="classNCollection__BaseCollection_1_1Iterator.html#a3ea35863208826eaf6ff257f05524adf">NCollection_BaseCollection::Iterator::Iterator</a></div><div class="ttdeci">Iterator(void)</div><div class="ttdoc">Empty constructor. </div><div class="ttdef"><b>Definition:</b> <a href="NCollection__BaseCollection_8hxx_source.html#l00064">NCollection_BaseCollection.hxx:64</a></div></div> <div class="ttc" id="classNCollection__BaseCollection_1_1Iterator_html_a43ec7dc7e9ca2da17c93c56b13bb0188"><div class="ttname"><a href="classNCollection__BaseCollection_1_1Iterator.html#a43ec7dc7e9ca2da17c93c56b13bb0188">NCollection_BaseCollection::Iterator::More</a></div><div class="ttdeci">virtual Standard_Boolean More(void) const =0</div><div class="ttdoc">Query if the end of collection is reached by iterator. </div></div> <div class="ttc" id="classNCollection__BaseCollection_1_1Iterator_html"><div class="ttname"><a href="classNCollection__BaseCollection_1_1Iterator.html">NCollection_BaseCollection::Iterator</a></div><div class="ttdef"><b>Definition:</b> <a href="NCollection__BaseCollection_8hxx_source.html#l00048">NCollection_BaseCollection.hxx:48</a></div></div> <div class="ttc" id="classNCollection__BaseCollection_html_a764637a276de4dd6cc295d92088482ee"><div class="ttname"><a href="classNCollection__BaseCollection.html#a764637a276de4dd6cc295d92088482ee">NCollection_BaseCollection::Handle</a></div><div class="ttdeci">const Handle(NCollection_BaseAllocator) &IterAllocator(void) const</div><div class="ttdef"><b>Definition:</b> <a href="NCollection__BaseCollection_8hxx_source.html#l00105">NCollection_BaseCollection.hxx:105</a></div></div> <div class="ttc" id="classNCollection__BaseCollection_html_ae6cd28af36ac7932600be1eb85c31eef"><div class="ttname"><a href="classNCollection__BaseCollection.html#ae6cd28af36ac7932600be1eb85c31eef">NCollection_BaseCollection::Assign</a></div><div class="ttdeci">virtual void Assign(const NCollection_BaseCollection &theOther)=0</div><div class="ttdoc">Virtual assignment. </div></div> <div class="ttc" id="classNCollection__BaseCollection_1_1Iterator_html_a846d1c57eef775838cc05c1818be90d5"><div class="ttname"><a href="classNCollection__BaseCollection_1_1Iterator.html#a846d1c57eef775838cc05c1818be90d5">NCollection_BaseCollection::Iterator::operator=</a></div><div class="ttdeci">const Iterator & operator=(const Iterator &)</div><div class="ttdoc">operator= is prohibited </div></div> <div class="ttc" id="classNCollection__BaseCollection_html"><div class="ttname"><a href="classNCollection__BaseCollection.html">NCollection_BaseCollection</a></div><div class="ttdoc">Purpose: NCollection_BaseCollection is the base abstract class for all collection templates of this p...</div><div class="ttdef"><b>Definition:</b> <a href="NCollection__BaseCollection_8hxx_source.html#l00044">NCollection_BaseCollection.hxx:44</a></div></div> <div class="ttc" id="classNCollection__BaseCollection_html_a41d662523651686acb6b30c92ee9e476"><div class="ttname"><a href="classNCollection__BaseCollection.html#a41d662523651686acb6b30c92ee9e476">NCollection_BaseCollection::Handle</a></div><div class="ttdeci">const Handle(NCollection_BaseAllocator) &Allocator() const</div><div class="ttdoc">Returns attached allocator. </div><div class="ttdef"><b>Definition:</b> <a href="NCollection__BaseCollection_8hxx_source.html#l00101">NCollection_BaseCollection.hxx:101</a></div></div> <div class="ttc" id="classNCollection__BaseCollection_html_a5fb5b2c7087fc7dd7b228f31e70d7ddb"><div class="ttname"><a href="classNCollection__BaseCollection.html#a5fb5b2c7087fc7dd7b228f31e70d7ddb">NCollection_BaseCollection::~NCollection_BaseCollection</a></div><div class="ttdeci">virtual ~NCollection_BaseCollection(void)</div><div class="ttdoc">Destructor - must be implemented to release the memory. </div><div class="ttdef"><b>Definition:</b> <a href="NCollection__BaseCollection_8hxx_source.html#l00098">NCollection_BaseCollection.hxx:98</a></div></div> <div class="ttc" id="classNCollection__BaseCollection_1_1Iterator_html_ab07a2e2c2a82bce6f8127081501ae263"><div class="ttname"><a href="classNCollection__BaseCollection_1_1Iterator.html#ab07a2e2c2a82bce6f8127081501ae263">NCollection_BaseCollection::Iterator::ChangeValue</a></div><div class="ttdeci">virtual TheItemType & ChangeValue(void) const =0</div><div class="ttdoc">Value change access. </div></div> <div class="ttc" id="classNCollection__BaseCollection_1_1Iterator_html_a63c8085c334f6321bead74a412c5c20b"><div class="ttname"><a href="classNCollection__BaseCollection_1_1Iterator.html#a63c8085c334f6321bead74a412c5c20b">NCollection_BaseCollection::Iterator::Value</a></div><div class="ttdeci">virtual const TheItemType & Value(void) const =0</div><div class="ttdoc">Value inquiry. </div></div> <div class="ttc" id="classNCollection__BaseCollection_html_a0321632d1d3ad2dbaaceebf4c9fb11d6"><div class="ttname"><a href="classNCollection__BaseCollection.html#a0321632d1d3ad2dbaaceebf4c9fb11d6">NCollection_BaseCollection::CreateIterator</a></div><div class="ttdeci">virtual Iterator & CreateIterator(void) const =0</div><div class="ttdoc">Method to create iterators for base collections. </div></div> <div class="ttc" id="classNCollection__BaseCollection_1_1Iterator_html_adb8feb78084c43db298cb66b8a7b7328"><div class="ttname"><a href="classNCollection__BaseCollection_1_1Iterator.html#adb8feb78084c43db298cb66b8a7b7328">NCollection_BaseCollection::Iterator::Next</a></div><div class="ttdeci">virtual void Next(void)=0</div><div class="ttdoc">Make a step along the collection. </div></div> </div><!-- fragment --></div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="dir_bfccd401955b95cf8c75461437045ac0.html">inc</a></li><li class="navelem"><a class="el" href="NCollection__BaseCollection_8hxx.html">NCollection_BaseCollection.hxx</a></li> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li> </ul> </div> </body> </html>