diff options
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/a03733.html | 1102 |
1 files changed, 1102 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03733.html b/docs/doxygen/nel/a03733.html new file mode 100644 index 00000000..dff884c0 --- /dev/null +++ b/docs/doxygen/nel/a03733.html @@ -0,0 +1,1102 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>NeL: NLLIGO::CZoneBank class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.6 --> +<div class="qindex"> <form class="search" action="search.php" method="get"> +<a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NLLIGO::CZoneBank Class Reference</h1><code>#include <<a class="el" href="a06763.html">zone_bank.h</a>></code> +<p> +<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03733.html#NLLIGO_1_1CZoneBanka0">addAndSwitch</a> (const std::string &CategoryType, const std::string &CategoryValue)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03733.html#NLLIGO_1_1CZoneBanka1">addElement</a> (const std::string &elementName, std::string &error)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Load an element in the current directory. <a href="#NLLIGO_1_1CZoneBanka1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03733.html#NLLIGO_1_1CZoneBanka2">addOrSwitch</a> (const std::string &CategoryType, const std::string &CategoryValue)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03733.html#NLLIGO_1_1CZoneBanka3">debugInit</a> (const std::string &sPath)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03733.html#NLLIGO_1_1CZoneBanka4">debugSaveInit</a> (<a class="el" href="a03734.html">CZoneBankElement</a> &zbeTmp, const std::string &fileName)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03733.html#NLLIGO_1_1CZoneBanka5">getCategoriesType</a> (std::vector< std::string > &CategoriesType)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03733.html#NLLIGO_1_1CZoneBanka6">getCategoryValues</a> (const std::string &CategoryType, std::vector< std::string > &CategoryValues)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03734.html">CZoneBankElement</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03733.html#NLLIGO_1_1CZoneBanka7">getElementByZoneName</a> (const std::string &ZoneName)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03733.html#NLLIGO_1_1CZoneBanka8">getSelection</a> (std::vector< <a class="el" href="a03734.html">CZoneBankElement</a> * > &SelectedElements)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03733.html#NLLIGO_1_1CZoneBanka9">initFromPath</a> (const std::string &pathName, std::string &error)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Initialize the zone bank with all files present in the path given (note pathName must not end with ''). <a href="#NLLIGO_1_1CZoneBanka9"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03733.html#NLLIGO_1_1CZoneBanka10">reset</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03733.html#NLLIGO_1_1CZoneBanka11">resetSelection</a> ()</td></tr> + +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::map< std::string, <a class="el" href="a03734.html">CZoneBankElement</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a03734.html">CZoneBankElement</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="a03733.html#NLLIGO_1_1CZoneBankr1">_Selection</a></td></tr> + +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NLLIGO_1_1CZoneBanka0" doxytag="NLLIGO::CZoneBank::addAndSwitch" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLIGO::CZoneBank::addAndSwitch </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname" nowrap> <em>CategoryType</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const std::string & </td> + <td class="mdname" nowrap> <em>CategoryValue</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06762.html#l00658">658</a> of file <a class="el" href="a06762.html">zone_bank.cpp</a>. +<p> +References <a class="el" href="a06763.html#l00063">NLLIGO::CZoneBankElement::_CategoriesMap</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00659 { +00660 <a class="code" href="a04558.html#a11">uint32</a> i, j; +00661 <span class="comment">// And the selection with some constraints</span> +00662 <span class="comment">// All elements of the selection must have a catType and catValue equal to those given in parameters</span> +00663 <span class="keywordflow">for</span> (i = 0; i < <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr1">_Selection</a>.size(); ++i) +00664 { +00665 CZoneBankElement *pZBE = <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr1">_Selection</a>[i]; +00666 <span class="keywordtype">bool</span> bFound = <span class="keyword">false</span>; +00667 +00668 map<string,string>::iterator it = pZBE->_CategoriesMap.find (CategoryType); +00669 <span class="keywordflow">if</span> (it != pZBE->_CategoriesMap.end()) +00670 { +00671 <span class="keywordflow">if</span> (it->second == CategoryValue) +00672 bFound = <span class="keyword">true</span>; +00673 } +00674 <span class="keywordflow">if</span> (!bFound) +00675 { +00676 _Selection[i] = NULL; <span class="comment">// Mark this item to be removed</span> +00677 } +00678 } +00679 <span class="comment">// Remove all unused items </span> +00680 <span class="keywordflow">for</span> (i = 0, j = 0; i < <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr1">_Selection</a>.size(); ++i) +00681 { +00682 <span class="keywordflow">if</span> (<a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr1">_Selection</a>[i] != NULL) +00683 { +00684 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr1">_Selection</a>[j] = <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr1">_Selection</a>[i]; +00685 ++j; +00686 } +00687 } +00688 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr1">_Selection</a>.resize (j); +00689 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLLIGO_1_1CZoneBanka1" doxytag="NLLIGO::CZoneBank::addElement" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NLLIGO::CZoneBank::addElement </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname" nowrap> <em>elementName</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>std::string & </td> + <td class="mdname" nowrap> <em>error</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Load an element in the current directory. +<p> + +<p> +Definition at line <a class="el" href="a06762.html#l00527">527</a> of file <a class="el" href="a06762.html">zone_bank.cpp</a>. +<p> +References <a class="el" href="a06763.html#l00102">_ElementsMap</a>, <a class="el" href="a06762.html#l00059">NLLIGO::CZoneBankElement::getName()</a>, <a class="el" href="a05708.html#l00135">NLMISC::CIFile::open()</a>, and <a class="el" href="a06762.html#l00105">NLLIGO::CZoneBankElement::serial()</a>. +<p> +Referenced by <a class="el" href="a06762.html#l00502">initFromPath()</a>. +<p> +<div class="fragment"><pre>00528 { +00529 <span class="keywordflow">try</span> +00530 { +00531 CZoneBankElement zbeTmp; +00532 <a class="code" href="a02653.html">CIFile</a> fileIn; +00533 <span class="keywordflow">if</span> (fileIn.<a class="code" href="a02653.html#NLMISC_1_1CIFilea12">open</a> (elementName)) +00534 { +00535 CIXml input; +00536 input.init (fileIn); +00537 zbeTmp.serial (input); +00538 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.insert (pair<string,CZoneBankElement>(zbeTmp.getName(),zbeTmp)); +00539 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00540 } +00541 <span class="keywordflow">else</span> +00542 { +00543 error = <span class="stringliteral">"Can't open file "</span> + elementName; +00544 } +00545 } +00546 <span class="keywordflow">catch</span> (<a class="code" href="a02482.html">Exception</a>& e) +00547 { +00548 error = <span class="stringliteral">"Error while loading ligozone "</span>+elementName+<span class="stringliteral">" : "</span>+e.what(); +00549 } +00550 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00551 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLLIGO_1_1CZoneBanka2" doxytag="NLLIGO::CZoneBank::addOrSwitch" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLIGO::CZoneBank::addOrSwitch </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname" nowrap> <em>CategoryType</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const std::string & </td> + <td class="mdname" nowrap> <em>CategoryValue</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06762.html#l00627">627</a> of file <a class="el" href="a06762.html">zone_bank.cpp</a>. +<p> +References <a class="el" href="a06763.html#l00063">NLLIGO::CZoneBankElement::_CategoriesMap</a>, <a class="el" href="a06763.html#l00102">_ElementsMap</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00628 { +00629 map<string,CZoneBankElement>::iterator itElt = <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.begin(); +00630 +00631 <span class="keywordflow">while</span> (itElt != <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.end()) +00632 { +00633 CZoneBankElement &rZBE = itElt->second; +00634 +00635 map<string,string>::iterator it = rZBE._CategoriesMap.find (CategoryType); +00636 +00637 <span class="keywordflow">if</span> (it != rZBE._CategoriesMap.end()) +00638 { +00639 <span class="keywordflow">if</span> (it->second == CategoryValue) +00640 { +00641 <span class="comment">// Check if the element is not already present in the selection</span> +00642 <span class="keywordtype">bool</span> bFound = <span class="keyword">false</span>; +00643 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a11">uint32</a> k = 0; k < <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr1">_Selection</a>.size(); ++k ) +00644 <span class="keywordflow">if</span> (&rZBE == <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr1">_Selection</a>[k]) +00645 { +00646 bFound = <span class="keyword">true</span>; +00647 <span class="keywordflow">break</span>; +00648 } +00649 <span class="keywordflow">if</span> (!bFound) +00650 _Selection.push_back (&rZBE); +00651 } +00652 } +00653 ++itElt; +00654 } +00655 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLLIGO_1_1CZoneBanka3" doxytag="NLLIGO::CZoneBank::debugInit" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLIGO::CZoneBank::debugInit </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname1" valign="top" nowrap> <em>sPath</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06762.html#l00158">158</a> of file <a class="el" href="a06762.html">zone_bank.cpp</a>. +<p> +References <a class="el" href="a06763.html#l00063">NLLIGO::CZoneBankElement::_CategoriesMap</a>, <a class="el" href="a06763.html#l00102">_ElementsMap</a>, <a class="el" href="a06763.html#l00069">NLLIGO::CZoneBankElement::_Mask</a>, <a class="el" href="a06762.html#l00053">NLLIGO::CZoneBankElement::addCategory()</a>, <a class="el" href="a06762.html#l00141">debugSaveInit()</a>, and <a class="el" href="a06762.html#l00059">NLLIGO::CZoneBankElement::getName()</a>. +<p> +<div class="fragment"><pre>00159 { +00160 CZoneBankElement zbeTmp; +00161 zbeTmp.addCategory (<span class="stringliteral">"zone"</span>, <span class="stringliteral">"Zone001"</span>); +00162 zbeTmp.addCategory (<span class="stringliteral">"size"</span>, <span class="stringliteral">"1x1"</span>); +00163 zbeTmp.addCategory (<span class="stringliteral">"material"</span>, <span class="stringliteral">"titFleur"</span>); +00164 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00165 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.insert (pair<string,CZoneBankElement>(zbeTmp.getName(), zbeTmp)); +00166 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBanka4">debugSaveInit</a> (zbeTmp, sPath + <span class="stringliteral">"Zone001.ligozone"</span>); +00167 zbeTmp._CategoriesMap.clear (); +00168 zbeTmp._Mask.clear (); +00169 +00170 +00171 zbeTmp.addCategory (<span class="stringliteral">"zone"</span>, <span class="stringliteral">"Zone002"</span>); +00172 zbeTmp.addCategory (<span class="stringliteral">"size"</span>, <span class="stringliteral">"1x1"</span>); +00173 zbeTmp.addCategory (<span class="stringliteral">"material"</span>, <span class="stringliteral">"titFleur"</span>); +00174 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00175 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.insert (pair<string,CZoneBankElement>(zbeTmp.getName(), zbeTmp)); +00176 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBanka4">debugSaveInit</a> (zbeTmp, sPath + <span class="stringliteral">"Zone002.ligozone"</span>); +00177 zbeTmp._CategoriesMap.clear (); +00178 zbeTmp._Mask.clear (); +00179 +00180 zbeTmp.addCategory (<span class="stringliteral">"zone"</span>, <span class="stringliteral">"Zone003"</span>); +00181 zbeTmp.addCategory (<span class="stringliteral">"size"</span>, <span class="stringliteral">"2x2"</span>); +00182 zbeTmp.addCategory (<span class="stringliteral">"material"</span>, <span class="stringliteral">"titFleur"</span>); +00183 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00184 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00185 zbeTmp._Mask.push_back (<span class="keyword">false</span>); +00186 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00187 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.insert (pair<string,CZoneBankElement>(zbeTmp.getName(), zbeTmp)); +00188 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBanka4">debugSaveInit</a> (zbeTmp, sPath + <span class="stringliteral">"Zone003.ligozone"</span>); +00189 zbeTmp._CategoriesMap.clear (); +00190 zbeTmp._Mask.clear (); +00191 +00192 zbeTmp.addCategory (<span class="stringliteral">"zone"</span>, <span class="stringliteral">"Zone004"</span>); +00193 zbeTmp.addCategory (<span class="stringliteral">"size"</span>, <span class="stringliteral">"2x2"</span>); +00194 zbeTmp.addCategory (<span class="stringliteral">"material"</span>, <span class="stringliteral">"grozFleur"</span>); +00195 zbeTmp._Mask.push_back (<span class="keyword">false</span>); +00196 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00197 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00198 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00199 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.insert (pair<string,CZoneBankElement>(zbeTmp.getName(), zbeTmp)); +00200 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBanka4">debugSaveInit</a> (zbeTmp, sPath + <span class="stringliteral">"Zone004.ligozone"</span>); +00201 zbeTmp._CategoriesMap.clear (); +00202 zbeTmp._Mask.clear (); +00203 +00204 zbeTmp.addCategory (<span class="stringliteral">"zone"</span>, <span class="stringliteral">"Zone005"</span>); +00205 zbeTmp.addCategory (<span class="stringliteral">"size"</span>, <span class="stringliteral">"1x1"</span>); +00206 zbeTmp.addCategory (<span class="stringliteral">"material"</span>, <span class="stringliteral">"grozFleur"</span>); +00207 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00208 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.insert (pair<string,CZoneBankElement>(zbeTmp.getName(), zbeTmp)); +00209 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBanka4">debugSaveInit</a> (zbeTmp, sPath + <span class="stringliteral">"Zone005.ligozone"</span>); +00210 zbeTmp._CategoriesMap.clear (); +00211 zbeTmp._Mask.clear (); +00212 +00213 zbeTmp.addCategory (<span class="stringliteral">"zone"</span>, <span class="stringliteral">"Zone006"</span>); +00214 zbeTmp.addCategory (<span class="stringliteral">"size"</span>, <span class="stringliteral">"4x2"</span>); +00215 zbeTmp.addCategory (<span class="stringliteral">"material"</span>, <span class="stringliteral">"grozFleur"</span>); +00216 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00217 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00218 zbeTmp._Mask.push_back (<span class="keyword">false</span>); +00219 zbeTmp._Mask.push_back (<span class="keyword">false</span>); +00220 zbeTmp._Mask.push_back (<span class="keyword">false</span>); +00221 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00222 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00223 zbeTmp._Mask.push_back (<span class="keyword">false</span>); +00224 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.insert (pair<string,CZoneBankElement>(zbeTmp.getName(), zbeTmp)); +00225 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBanka4">debugSaveInit</a> (zbeTmp, sPath + <span class="stringliteral">"Zone006.ligozone"</span>); +00226 zbeTmp._CategoriesMap.clear (); +00227 zbeTmp._Mask.clear (); +00228 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.clear (); +00229 +00230 zbeTmp.addCategory (<span class="stringliteral">"zone"</span>, <span class="stringliteral">"Zone007"</span>); +00231 zbeTmp.addCategory (<span class="stringliteral">"size"</span>, <span class="stringliteral">"1x1"</span>); +00232 zbeTmp.addCategory (<span class="stringliteral">"material"</span>, <span class="stringliteral">"grozFleur"</span>); +00233 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00234 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.insert (pair<string,CZoneBankElement>(zbeTmp.getName(), zbeTmp)); +00235 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBanka4">debugSaveInit</a> (zbeTmp, sPath + <span class="stringliteral">"Zone007.ligozone"</span>); +00236 zbeTmp._CategoriesMap.clear (); +00237 zbeTmp._Mask.clear (); +00238 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.clear (); +00239 +00240 zbeTmp.addCategory (<span class="stringliteral">"zone"</span>, <span class="stringliteral">"Zone008"</span>); +00241 zbeTmp.addCategory (<span class="stringliteral">"size"</span>, <span class="stringliteral">"2x2"</span>); +00242 zbeTmp.addCategory (<span class="stringliteral">"material"</span>, <span class="stringliteral">"prairie"</span>); +00243 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00244 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00245 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00246 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00247 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.insert (pair<string,CZoneBankElement>(zbeTmp.getName(), zbeTmp)); +00248 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBanka4">debugSaveInit</a> (zbeTmp, sPath + <span class="stringliteral">"Zone008.ligozone"</span>); +00249 zbeTmp._CategoriesMap.clear (); +00250 zbeTmp._Mask.clear (); +00251 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.clear (); +00252 +00253 zbeTmp.addCategory (<span class="stringliteral">"zone"</span>, <span class="stringliteral">"Zone009"</span>); +00254 zbeTmp.addCategory (<span class="stringliteral">"size"</span>, <span class="stringliteral">"2x2"</span>); +00255 zbeTmp.addCategory (<span class="stringliteral">"material"</span>, <span class="stringliteral">"prairie"</span>); +00256 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00257 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00258 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00259 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00260 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.insert (pair<string,CZoneBankElement>(zbeTmp.getName(), zbeTmp)); +00261 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBanka4">debugSaveInit</a> (zbeTmp, sPath + <span class="stringliteral">"Zone009.ligozone"</span>); +00262 zbeTmp._CategoriesMap.clear (); +00263 zbeTmp._Mask.clear (); +00264 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.clear (); +00265 +00266 zbeTmp.addCategory (<span class="stringliteral">"zone"</span>, <span class="stringliteral">"Zone010"</span>); +00267 zbeTmp.addCategory (<span class="stringliteral">"size"</span>, <span class="stringliteral">"1x1"</span>); +00268 zbeTmp.addCategory (<span class="stringliteral">"material"</span>, <span class="stringliteral">"prairie"</span>); +00269 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00270 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.insert (pair<string,CZoneBankElement>(zbeTmp.getName(), zbeTmp)); +00271 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBanka4">debugSaveInit</a> (zbeTmp, sPath + <span class="stringliteral">"Zone010.ligozone"</span>); +00272 zbeTmp._CategoriesMap.clear (); +00273 zbeTmp._Mask.clear (); +00274 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.clear (); +00275 +00276 zbeTmp.addCategory (<span class="stringliteral">"zone"</span>, <span class="stringliteral">"WT0"</span>); +00277 zbeTmp.addCategory (<span class="stringliteral">"size"</span>, <span class="stringliteral">"1x1"</span>); +00278 zbeTmp.addCategory (<span class="stringliteral">"transname"</span>, <span class="stringliteral">"grozFleur-prairie"</span>); +00279 zbeTmp.addCategory (<span class="stringliteral">"transtype"</span>, <span class="stringliteral">"Flat"</span>); +00280 zbeTmp.addCategory (<span class="stringliteral">"transnum"</span>, <span class="stringliteral">"0"</span>); +00281 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00282 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.insert (pair<string,CZoneBankElement>(zbeTmp.getName(), zbeTmp)); +00283 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBanka4">debugSaveInit</a> (zbeTmp, sPath + <span class="stringliteral">"WT0.ligozone"</span>); +00284 zbeTmp._CategoriesMap.clear (); +00285 zbeTmp._Mask.clear (); +00286 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.clear (); +00287 +00288 zbeTmp.addCategory (<span class="stringliteral">"zone"</span>, <span class="stringliteral">"WT1"</span>); +00289 zbeTmp.addCategory (<span class="stringliteral">"size"</span>, <span class="stringliteral">"1x1"</span>); +00290 zbeTmp.addCategory (<span class="stringliteral">"transname"</span>, <span class="stringliteral">"grozFleur-prairie"</span>); +00291 zbeTmp.addCategory (<span class="stringliteral">"transtype"</span>, <span class="stringliteral">"Flat"</span>); +00292 zbeTmp.addCategory (<span class="stringliteral">"transnum"</span>, <span class="stringliteral">"1"</span>); +00293 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00294 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.insert (pair<string,CZoneBankElement>(zbeTmp.getName(), zbeTmp)); +00295 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBanka4">debugSaveInit</a> (zbeTmp, sPath + <span class="stringliteral">"WT1.ligozone"</span>); +00296 zbeTmp._CategoriesMap.clear (); +00297 zbeTmp._Mask.clear (); +00298 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.clear (); +00299 +00300 zbeTmp.addCategory (<span class="stringliteral">"zone"</span>, <span class="stringliteral">"WT2"</span>); +00301 zbeTmp.addCategory (<span class="stringliteral">"size"</span>, <span class="stringliteral">"1x1"</span>); +00302 zbeTmp.addCategory (<span class="stringliteral">"transname"</span>, <span class="stringliteral">"grozFleur-prairie"</span>); +00303 zbeTmp.addCategory (<span class="stringliteral">"transtype"</span>, <span class="stringliteral">"Flat"</span>); +00304 zbeTmp.addCategory (<span class="stringliteral">"transnum"</span>, <span class="stringliteral">"2"</span>); +00305 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00306 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.insert (pair<string,CZoneBankElement>(zbeTmp.getName(), zbeTmp)); +00307 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBanka4">debugSaveInit</a> (zbeTmp, sPath + <span class="stringliteral">"WT2.ligozone"</span>); +00308 zbeTmp._CategoriesMap.clear (); +00309 zbeTmp._Mask.clear (); +00310 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.clear (); +00311 +00312 zbeTmp.addCategory (<span class="stringliteral">"zone"</span>, <span class="stringliteral">"WT3"</span>); +00313 zbeTmp.addCategory (<span class="stringliteral">"size"</span>, <span class="stringliteral">"1x1"</span>); +00314 zbeTmp.addCategory (<span class="stringliteral">"transname"</span>, <span class="stringliteral">"grozFleur-prairie"</span>); +00315 zbeTmp.addCategory (<span class="stringliteral">"transtype"</span>, <span class="stringliteral">"CornerA"</span>); +00316 zbeTmp.addCategory (<span class="stringliteral">"transnum"</span>, <span class="stringliteral">"3"</span>); +00317 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00318 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.insert (pair<string,CZoneBankElement>(zbeTmp.getName(), zbeTmp)); +00319 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBanka4">debugSaveInit</a> (zbeTmp, sPath + <span class="stringliteral">"WT3.ligozone"</span>); +00320 zbeTmp._CategoriesMap.clear (); +00321 zbeTmp._Mask.clear (); +00322 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.clear (); +00323 +00324 zbeTmp.addCategory (<span class="stringliteral">"zone"</span>, <span class="stringliteral">"WT4"</span>); +00325 zbeTmp.addCategory (<span class="stringliteral">"size"</span>, <span class="stringliteral">"1x1"</span>); +00326 zbeTmp.addCategory (<span class="stringliteral">"transname"</span>, <span class="stringliteral">"grozFleur-prairie"</span>); +00327 zbeTmp.addCategory (<span class="stringliteral">"transtype"</span>, <span class="stringliteral">"CornerA"</span>); +00328 zbeTmp.addCategory (<span class="stringliteral">"transnum"</span>, <span class="stringliteral">"4"</span>); +00329 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00330 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.insert (pair<string,CZoneBankElement>(zbeTmp.getName(), zbeTmp)); +00331 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBanka4">debugSaveInit</a> (zbeTmp, sPath + <span class="stringliteral">"WT4.ligozone"</span>); +00332 zbeTmp._CategoriesMap.clear (); +00333 zbeTmp._Mask.clear (); +00334 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.clear (); +00335 +00336 zbeTmp.addCategory (<span class="stringliteral">"zone"</span>, <span class="stringliteral">"WT5"</span>); +00337 zbeTmp.addCategory (<span class="stringliteral">"size"</span>, <span class="stringliteral">"1x1"</span>); +00338 zbeTmp.addCategory (<span class="stringliteral">"transname"</span>, <span class="stringliteral">"grozFleur-prairie"</span>); +00339 zbeTmp.addCategory (<span class="stringliteral">"transtype"</span>, <span class="stringliteral">"CornerA"</span>); +00340 zbeTmp.addCategory (<span class="stringliteral">"transnum"</span>, <span class="stringliteral">"5"</span>); +00341 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00342 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.insert (pair<string,CZoneBankElement>(zbeTmp.getName(), zbeTmp)); +00343 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBanka4">debugSaveInit</a> (zbeTmp, sPath + <span class="stringliteral">"WT5.ligozone"</span>); +00344 zbeTmp._CategoriesMap.clear (); +00345 zbeTmp._Mask.clear (); +00346 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.clear (); +00347 +00348 zbeTmp.addCategory (<span class="stringliteral">"zone"</span>, <span class="stringliteral">"WT6"</span>); +00349 zbeTmp.addCategory (<span class="stringliteral">"size"</span>, <span class="stringliteral">"1x1"</span>); +00350 zbeTmp.addCategory (<span class="stringliteral">"transname"</span>, <span class="stringliteral">"grozFleur-prairie"</span>); +00351 zbeTmp.addCategory (<span class="stringliteral">"transtype"</span>, <span class="stringliteral">"CornerB"</span>); +00352 zbeTmp.addCategory (<span class="stringliteral">"transnum"</span>, <span class="stringliteral">"6"</span>); +00353 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00354 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.insert (pair<string,CZoneBankElement>(zbeTmp.getName(), zbeTmp)); +00355 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBanka4">debugSaveInit</a> (zbeTmp, sPath + <span class="stringliteral">"WT6.ligozone"</span>); +00356 zbeTmp._CategoriesMap.clear (); +00357 zbeTmp._Mask.clear (); +00358 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.clear (); +00359 +00360 zbeTmp.addCategory (<span class="stringliteral">"zone"</span>, <span class="stringliteral">"WT7"</span>); +00361 zbeTmp.addCategory (<span class="stringliteral">"size"</span>, <span class="stringliteral">"1x1"</span>); +00362 zbeTmp.addCategory (<span class="stringliteral">"transname"</span>, <span class="stringliteral">"grozFleur-prairie"</span>); +00363 zbeTmp.addCategory (<span class="stringliteral">"transtype"</span>, <span class="stringliteral">"CornerB"</span>); +00364 zbeTmp.addCategory (<span class="stringliteral">"transnum"</span>, <span class="stringliteral">"7"</span>); +00365 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00366 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.insert (pair<string,CZoneBankElement>(zbeTmp.getName(), zbeTmp)); +00367 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBanka4">debugSaveInit</a> (zbeTmp, sPath + <span class="stringliteral">"WT7.ligozone"</span>); +00368 zbeTmp._CategoriesMap.clear (); +00369 zbeTmp._Mask.clear (); +00370 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.clear (); +00371 +00372 zbeTmp.addCategory (<span class="stringliteral">"zone"</span>, <span class="stringliteral">"WT8"</span>); +00373 zbeTmp.addCategory (<span class="stringliteral">"size"</span>, <span class="stringliteral">"1x1"</span>); +00374 zbeTmp.addCategory (<span class="stringliteral">"transname"</span>, <span class="stringliteral">"grozFleur-prairie"</span>); +00375 zbeTmp.addCategory (<span class="stringliteral">"transtype"</span>, <span class="stringliteral">"CornerB"</span>); +00376 zbeTmp.addCategory (<span class="stringliteral">"transnum"</span>, <span class="stringliteral">"8"</span>); +00377 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00378 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.insert (pair<string,CZoneBankElement>(zbeTmp.getName(), zbeTmp)); +00379 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBanka4">debugSaveInit</a> (zbeTmp, sPath + <span class="stringliteral">"WT8.ligozone"</span>); +00380 zbeTmp._CategoriesMap.clear (); +00381 zbeTmp._Mask.clear (); +00382 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.clear (); +00383 +00384 zbeTmp.addCategory (<span class="stringliteral">"zone"</span>, <span class="stringliteral">"ZT0"</span>); +00385 zbeTmp.addCategory (<span class="stringliteral">"size"</span>, <span class="stringliteral">"1x1"</span>); +00386 zbeTmp.addCategory (<span class="stringliteral">"transname"</span>, <span class="stringliteral">"titFleur-grozFleur"</span>); +00387 zbeTmp.addCategory (<span class="stringliteral">"transtype"</span>, <span class="stringliteral">"Flat"</span>); +00388 zbeTmp.addCategory (<span class="stringliteral">"transnum"</span>, <span class="stringliteral">"0"</span>); +00389 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00390 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.insert (pair<string,CZoneBankElement>(zbeTmp.getName(), zbeTmp)); +00391 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBanka4">debugSaveInit</a> (zbeTmp, sPath + <span class="stringliteral">"ZT0.ligozone"</span>); +00392 zbeTmp._CategoriesMap.clear (); +00393 zbeTmp._Mask.clear (); +00394 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.clear (); +00395 +00396 zbeTmp.addCategory (<span class="stringliteral">"zone"</span>, <span class="stringliteral">"ZT1"</span>); +00397 zbeTmp.addCategory (<span class="stringliteral">"size"</span>, <span class="stringliteral">"1x1"</span>); +00398 zbeTmp.addCategory (<span class="stringliteral">"transname"</span>, <span class="stringliteral">"titFleur-grozFleur"</span>); +00399 zbeTmp.addCategory (<span class="stringliteral">"transtype"</span>, <span class="stringliteral">"Flat"</span>); +00400 zbeTmp.addCategory (<span class="stringliteral">"transnum"</span>, <span class="stringliteral">"1"</span>); +00401 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00402 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.insert (pair<string,CZoneBankElement>(zbeTmp.getName(), zbeTmp)); +00403 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBanka4">debugSaveInit</a> (zbeTmp, sPath + <span class="stringliteral">"ZT1.ligozone"</span>); +00404 zbeTmp._CategoriesMap.clear (); +00405 zbeTmp._Mask.clear (); +00406 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.clear (); +00407 +00408 zbeTmp.addCategory (<span class="stringliteral">"zone"</span>, <span class="stringliteral">"ZT2"</span>); +00409 zbeTmp.addCategory (<span class="stringliteral">"size"</span>, <span class="stringliteral">"1x1"</span>); +00410 zbeTmp.addCategory (<span class="stringliteral">"transname"</span>, <span class="stringliteral">"titFleur-grozFleur"</span>); +00411 zbeTmp.addCategory (<span class="stringliteral">"transtype"</span>, <span class="stringliteral">"Flat"</span>); +00412 zbeTmp.addCategory (<span class="stringliteral">"transnum"</span>, <span class="stringliteral">"2"</span>); +00413 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00414 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.insert (pair<string,CZoneBankElement>(zbeTmp.getName(), zbeTmp)); +00415 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBanka4">debugSaveInit</a> (zbeTmp, sPath + <span class="stringliteral">"ZT2.ligozone"</span>); +00416 zbeTmp._CategoriesMap.clear (); +00417 zbeTmp._Mask.clear (); +00418 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.clear (); +00419 +00420 zbeTmp.addCategory (<span class="stringliteral">"zone"</span>, <span class="stringliteral">"ZT3"</span>); +00421 zbeTmp.addCategory (<span class="stringliteral">"size"</span>, <span class="stringliteral">"1x1"</span>); +00422 zbeTmp.addCategory (<span class="stringliteral">"transname"</span>, <span class="stringliteral">"titFleur-grozFleur"</span>); +00423 zbeTmp.addCategory (<span class="stringliteral">"transtype"</span>, <span class="stringliteral">"CornerA"</span>); +00424 zbeTmp.addCategory (<span class="stringliteral">"transnum"</span>, <span class="stringliteral">"3"</span>); +00425 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00426 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.insert (pair<string,CZoneBankElement>(zbeTmp.getName(), zbeTmp)); +00427 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBanka4">debugSaveInit</a> (zbeTmp, sPath + <span class="stringliteral">"ZT3.ligozone"</span>); +00428 zbeTmp._CategoriesMap.clear (); +00429 zbeTmp._Mask.clear (); +00430 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.clear (); +00431 +00432 zbeTmp.addCategory (<span class="stringliteral">"zone"</span>, <span class="stringliteral">"ZT4"</span>); +00433 zbeTmp.addCategory (<span class="stringliteral">"size"</span>, <span class="stringliteral">"1x1"</span>); +00434 zbeTmp.addCategory (<span class="stringliteral">"transname"</span>, <span class="stringliteral">"titFleur-grozFleur"</span>); +00435 zbeTmp.addCategory (<span class="stringliteral">"transtype"</span>, <span class="stringliteral">"CornerA"</span>); +00436 zbeTmp.addCategory (<span class="stringliteral">"transnum"</span>, <span class="stringliteral">"4"</span>); +00437 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00438 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.insert (pair<string,CZoneBankElement>(zbeTmp.getName(), zbeTmp)); +00439 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBanka4">debugSaveInit</a> (zbeTmp, sPath + <span class="stringliteral">"ZT4.ligozone"</span>); +00440 zbeTmp._CategoriesMap.clear (); +00441 zbeTmp._Mask.clear (); +00442 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.clear (); +00443 +00444 zbeTmp.addCategory (<span class="stringliteral">"zone"</span>, <span class="stringliteral">"ZT5"</span>); +00445 zbeTmp.addCategory (<span class="stringliteral">"size"</span>, <span class="stringliteral">"1x1"</span>); +00446 zbeTmp.addCategory (<span class="stringliteral">"transname"</span>, <span class="stringliteral">"titFleur-grozFleur"</span>); +00447 zbeTmp.addCategory (<span class="stringliteral">"transtype"</span>, <span class="stringliteral">"CornerA"</span>); +00448 zbeTmp.addCategory (<span class="stringliteral">"transnum"</span>, <span class="stringliteral">"5"</span>); +00449 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00450 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.insert (pair<string,CZoneBankElement>(zbeTmp.getName(), zbeTmp)); +00451 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBanka4">debugSaveInit</a> (zbeTmp, sPath + <span class="stringliteral">"ZT5.ligozone"</span>); +00452 zbeTmp._CategoriesMap.clear (); +00453 zbeTmp._Mask.clear (); +00454 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.clear (); +00455 +00456 zbeTmp.addCategory (<span class="stringliteral">"zone"</span>, <span class="stringliteral">"ZT6"</span>); +00457 zbeTmp.addCategory (<span class="stringliteral">"size"</span>, <span class="stringliteral">"1x1"</span>); +00458 zbeTmp.addCategory (<span class="stringliteral">"transname"</span>, <span class="stringliteral">"titFleur-grozFleur"</span>); +00459 zbeTmp.addCategory (<span class="stringliteral">"transtype"</span>, <span class="stringliteral">"CornerB"</span>); +00460 zbeTmp.addCategory (<span class="stringliteral">"transnum"</span>, <span class="stringliteral">"6"</span>); +00461 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00462 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.insert (pair<string,CZoneBankElement>(zbeTmp.getName(), zbeTmp)); +00463 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBanka4">debugSaveInit</a> (zbeTmp, sPath + <span class="stringliteral">"ZT6.ligozone"</span>); +00464 zbeTmp._CategoriesMap.clear (); +00465 zbeTmp._Mask.clear (); +00466 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.clear (); +00467 +00468 zbeTmp.addCategory (<span class="stringliteral">"zone"</span>, <span class="stringliteral">"ZT7"</span>); +00469 zbeTmp.addCategory (<span class="stringliteral">"size"</span>, <span class="stringliteral">"1x1"</span>); +00470 zbeTmp.addCategory (<span class="stringliteral">"transname"</span>, <span class="stringliteral">"titFleur-grozFleur"</span>); +00471 zbeTmp.addCategory (<span class="stringliteral">"transtype"</span>, <span class="stringliteral">"CornerB"</span>); +00472 zbeTmp.addCategory (<span class="stringliteral">"transnum"</span>, <span class="stringliteral">"7"</span>); +00473 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00474 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.insert (pair<string,CZoneBankElement>(zbeTmp.getName(), zbeTmp)); +00475 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBanka4">debugSaveInit</a> (zbeTmp, sPath + <span class="stringliteral">"ZT7.ligozone"</span>); +00476 zbeTmp._CategoriesMap.clear (); +00477 zbeTmp._Mask.clear (); +00478 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.clear (); +00479 +00480 zbeTmp.addCategory (<span class="stringliteral">"zone"</span>, <span class="stringliteral">"ZT8"</span>); +00481 zbeTmp.addCategory (<span class="stringliteral">"size"</span>, <span class="stringliteral">"1x1"</span>); +00482 zbeTmp.addCategory (<span class="stringliteral">"transname"</span>, <span class="stringliteral">"titFleur-grozFleur"</span>); +00483 zbeTmp.addCategory (<span class="stringliteral">"transtype"</span>, <span class="stringliteral">"CornerB"</span>); +00484 zbeTmp.addCategory (<span class="stringliteral">"transnum"</span>, <span class="stringliteral">"8"</span>); +00485 zbeTmp._Mask.push_back (<span class="keyword">true</span>); +00486 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.insert (pair<string,CZoneBankElement>(zbeTmp.getName(), zbeTmp)); +00487 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBanka4">debugSaveInit</a> (zbeTmp, sPath + <span class="stringliteral">"ZT8.ligozone"</span>); +00488 zbeTmp._CategoriesMap.clear (); +00489 zbeTmp._Mask.clear (); +00490 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.clear (); +00491 +00492 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLLIGO_1_1CZoneBanka4" doxytag="NLLIGO::CZoneBank::debugSaveInit" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLIGO::CZoneBank::debugSaveInit </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03734.html">CZoneBankElement</a> & </td> + <td class="mdname" nowrap> <em>zbeTmp</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const std::string & </td> + <td class="mdname" nowrap> <em>fileName</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06762.html#l00141">141</a> of file <a class="el" href="a06762.html">zone_bank.cpp</a>. +<p> +References <a class="el" href="a06107.html#l00111">NLMISC::COXml::init()</a>, <a class="el" href="a05708.html#l00503">NLMISC::COFile::open()</a>, and <a class="el" href="a06762.html#l00105">NLLIGO::CZoneBankElement::serial()</a>. +<p> +Referenced by <a class="el" href="a06762.html#l00158">debugInit()</a>. +<p> +<div class="fragment"><pre>00142 { +00143 <span class="keywordflow">try</span> +00144 { +00145 <a class="code" href="a03011.html">COFile</a> fileOut; +00146 fileOut.<a class="code" href="a03011.html#NLMISC_1_1COFilea9">open</a> (fileName); +00147 <a class="code" href="a03032.html">COXml</a> output; +00148 output.<a class="code" href="a03032.html#NLMISC_1_1COXmla4">init</a> (&fileOut); +00149 zbeTmp.serial (output); +00150 } +00151 <span class="keywordflow">catch</span> (<a class="code" href="a02482.html">Exception</a>& <span class="comment">/*e*/</span>) +00152 { +00153 } +00154 +00155 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLLIGO_1_1CZoneBanka5" doxytag="NLLIGO::CZoneBank::getCategoriesType" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLIGO::CZoneBank::getCategoriesType </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::vector< std::string > & </td> + <td class="mdname1" valign="top" nowrap> <em>CategoriesType</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06762.html#l00554">554</a> of file <a class="el" href="a06762.html">zone_bank.cpp</a>. +<p> +References <a class="el" href="a06763.html#l00063">NLLIGO::CZoneBankElement::_CategoriesMap</a>, <a class="el" href="a06763.html#l00102">_ElementsMap</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00555 { +00556 map<string,CZoneBankElement>::iterator itElt = <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.begin(); +00557 +00558 <span class="keywordflow">while</span> (itElt != <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.end()) +00559 { +00560 CZoneBankElement &rZBE = itElt->second; +00561 +00562 map<string,string>::iterator it = rZBE._CategoriesMap.begin(); +00563 +00564 <span class="keywordflow">while</span> (it != rZBE._CategoriesMap.end()) +00565 { +00566 <span class="keywordtype">bool</span> bFound = <span class="keyword">false</span>; +00567 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a11">uint32</a> k = 0; k < CategoriesType.size(); ++k) +00568 <span class="keywordflow">if</span> (it->first == CategoriesType[k]) +00569 { +00570 bFound = <span class="keyword">true</span>; +00571 <span class="keywordflow">break</span>; +00572 } +00573 <span class="keywordflow">if</span> (!bFound) +00574 CategoriesType.push_back (it->first); +00575 +00576 ++it; +00577 } +00578 ++itElt; +00579 } +00580 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLLIGO_1_1CZoneBanka6" doxytag="NLLIGO::CZoneBank::getCategoryValues" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLIGO::CZoneBank::getCategoryValues </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname" nowrap> <em>CategoryType</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>std::vector< std::string > & </td> + <td class="mdname" nowrap> <em>CategoryValues</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06762.html#l00583">583</a> of file <a class="el" href="a06762.html">zone_bank.cpp</a>. +<p> +References <a class="el" href="a06763.html#l00063">NLLIGO::CZoneBankElement::_CategoriesMap</a>, <a class="el" href="a06763.html#l00102">_ElementsMap</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00584 { +00585 map<string,CZoneBankElement>::iterator itElt = <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.begin(); +00586 +00587 <span class="keywordflow">while</span> (itElt != <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.end()) +00588 { +00589 CZoneBankElement &rZBE = itElt->second; +00590 +00591 map<string,string>::iterator it = rZBE._CategoriesMap.find (CategoryType); +00592 +00593 <span class="keywordflow">if</span> (it != rZBE._CategoriesMap.end()) +00594 { +00595 <span class="keywordtype">bool</span> bFound = <span class="keyword">false</span>; +00596 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a11">uint32</a> k = 0; k < CategoryValues.size(); ++k ) +00597 <span class="keywordflow">if</span> (it->second == CategoryValues[k]) +00598 { +00599 bFound = <span class="keyword">true</span>; +00600 <span class="keywordflow">break</span>; +00601 } +00602 <span class="keywordflow">if</span> (!bFound) +00603 CategoryValues.push_back (it->second); +00604 } +00605 ++itElt; +00606 } +00607 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLLIGO_1_1CZoneBanka7" doxytag="NLLIGO::CZoneBank::getElementByZoneName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03734.html">CZoneBankElement</a> * NLLIGO::CZoneBank::getElementByZoneName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname1" valign="top" nowrap> <em>ZoneName</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06762.html#l00610">610</a> of file <a class="el" href="a06762.html">zone_bank.cpp</a>. +<p> +References <a class="el" href="a06763.html#l00102">_ElementsMap</a>. +<p> +<div class="fragment"><pre>00611 { +00612 map<string,CZoneBankElement>::iterator it = <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.find (ZoneName); +00613 <span class="keywordflow">if</span> (it != <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.end()) +00614 { +00615 <span class="keywordflow">return</span> &(it->second); +00616 } +00617 <span class="keywordflow">return</span> NULL; +00618 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLLIGO_1_1CZoneBanka8" doxytag="NLLIGO::CZoneBank::getSelection" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLIGO::CZoneBank::getSelection </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::vector< <a class="el" href="a03734.html">CZoneBankElement</a> * > & </td> + <td class="mdname1" valign="top" nowrap> <em>SelectedElements</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06762.html#l00692">692</a> of file <a class="el" href="a06762.html">zone_bank.cpp</a>. +<p> +<div class="fragment"><pre>00693 { +00694 SelectedElements = <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr1">_Selection</a>; +00695 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLLIGO_1_1CZoneBanka9" doxytag="NLLIGO::CZoneBank::initFromPath" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NLLIGO::CZoneBank::initFromPath </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname" nowrap> <em>pathName</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>std::string & </td> + <td class="mdname" nowrap> <em>error</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Initialize the zone bank with all files present in the path given (note pathName must not end with ''). +<p> +\ +<p> +Definition at line <a class="el" href="a06762.html#l00502">502</a> of file <a class="el" href="a06762.html">zone_bank.cpp</a>. +<p> +References <a class="el" href="a06762.html#l00527">addElement()</a>. +<p> +<div class="fragment"><pre>00503 { +00504 <span class="keywordtype">char</span> sDirBackup[512]; +00505 GetCurrentDirectory (512, sDirBackup); +00506 SetCurrentDirectory (sPathName.c_str()); +00507 WIN32_FIND_DATA findData; +00508 HANDLE hFind; +00509 hFind = FindFirstFile (<span class="stringliteral">"*.ligozone"</span>, &findData); +00510 +00511 <span class="keywordflow">while</span> (hFind != INVALID_HANDLE_VALUE) +00512 { +00513 <span class="comment">// If the name of the file is not . or .. then its a valid entry in the DataBase</span> +00514 <span class="keywordflow">if</span> (!((strcmp (findData.cFileName, <span class="stringliteral">"."</span>) == 0) || (strcmp (findData.cFileName, <span class="stringliteral">".."</span>) == 0))) +00515 { +00516 <span class="keywordflow">if</span> (!<a class="code" href="a03733.html#NLLIGO_1_1CZoneBanka1">addElement</a> (findData.cFileName, error)) +00517 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00518 } +00519 <span class="keywordflow">if</span> (FindNextFile (hFind, &findData) == 0) +00520 <span class="keywordflow">break</span>; +00521 } +00522 SetCurrentDirectory (sDirBackup); +00523 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00524 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLLIGO_1_1CZoneBanka10" doxytag="NLLIGO::CZoneBank::reset" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLIGO::CZoneBank::reset </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06762.html#l00495">495</a> of file <a class="el" href="a06762.html">zone_bank.cpp</a>. +<p> +References <a class="el" href="a06763.html#l00102">_ElementsMap</a>. +<p> +<div class="fragment"><pre>00496 { +00497 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr0">_ElementsMap</a>.clear (); +00498 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr1">_Selection</a>.clear (); +00499 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLLIGO_1_1CZoneBanka11" doxytag="NLLIGO::CZoneBank::resetSelection" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLIGO::CZoneBank::resetSelection </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06762.html#l00621">621</a> of file <a class="el" href="a06762.html">zone_bank.cpp</a>. +<p> +<div class="fragment"><pre>00622 { +00623 <a class="code" href="a03733.html#NLLIGO_1_1CZoneBankr1">_Selection</a>.clear (); +00624 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NLLIGO_1_1CZoneBankr0" doxytag="NLLIGO::CZoneBank::_ElementsMap" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::map<std::string,<a class="el" href="a03734.html">CZoneBankElement</a>> <a class="el" href="a03733.html#NLLIGO_1_1CZoneBankr0">NLLIGO::CZoneBank::_ElementsMap</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06763.html#l00102">102</a> of file <a class="el" href="a06763.html">zone_bank.h</a>. +<p> +Referenced by <a class="el" href="a06762.html#l00527">addElement()</a>, <a class="el" href="a06762.html#l00627">addOrSwitch()</a>, <a class="el" href="a06762.html#l00158">debugInit()</a>, <a class="el" href="a06762.html#l00554">getCategoriesType()</a>, <a class="el" href="a06762.html#l00583">getCategoryValues()</a>, <a class="el" href="a06762.html#l00610">getElementByZoneName()</a>, and <a class="el" href="a06762.html#l00495">reset()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLLIGO_1_1CZoneBankr1" doxytag="NLLIGO::CZoneBank::_Selection" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::vector<<a class="el" href="a03734.html">CZoneBankElement</a>*> <a class="el" href="a03733.html#NLLIGO_1_1CZoneBankr1">NLLIGO::CZoneBank::_Selection</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06763.html#l00104">104</a> of file <a class="el" href="a06763.html">zone_bank.h</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a06763.html">zone_bank.h</a><li><a class="el" href="a06762.html">zone_bank.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 12:51:10 2004 for NeL by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.6 </small></address> +</body> +</html> |