| 8 | <script type="text/javascript"> |
| 9 | <!-- |
| 10 | function changeDisplayState (e){ |
| 11 | var num=this.id.replace(/[^[0-9]/g,''); |
| 12 | var button=this.firstChild; |
| 13 | var sectionDiv=document.getElementById('dynsection'+num); |
| 14 | if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){ |
| 15 | sectionDiv.style.display='block'; |
| 16 | button.src='open.gif'; |
| 17 | }else{ |
| 18 | sectionDiv.style.display='none'; |
| 19 | button.src='closed.gif'; |
| 20 | } |
| 21 | } |
| 22 | function initDynSections(){ |
| 23 | var divs=document.getElementsByTagName('div'); |
| 24 | var sectionCounter=1; |
| 25 | for(var i=0;i<divs.length-1;i++){ |
| 26 | if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){ |
| 27 | var header=divs[i]; |
| 28 | var section=divs[i+1]; |
| 29 | var button=header.firstChild; |
| 30 | if (button!='IMG'){ |
| 31 | divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild); |
| 32 | button=document.createElement('img'); |
| 33 | divs[i].insertBefore(button,divs[i].firstChild); |
| 34 | } |
| 35 | header.style.cursor='pointer'; |
| 36 | header.onclick=changeDisplayState; |
| 37 | header.id='dynheader'+sectionCounter; |
| 38 | button.src='closed.gif'; |
| 39 | section.id='dynsection'+sectionCounter; |
| 40 | section.style.display='none'; |
| 41 | section.style.marginLeft='14px'; |
| 42 | sectionCounter++; |
| 43 | } |
| 44 | } |
| 45 | } |
| 46 | window.onload = initDynSections; |
| 47 | --> |
| 48 | </script> |
36 | | <p><center><img src="classbdm_1_1logger__inherit__graph.png" border="0" usemap="#bdm_1_1logger__inherit__map" alt="Inheritance graph"></center> |
37 | | <map name="bdm_1_1logger__inherit__map"> |
38 | | <area shape="rect" href="classbdm_1_1memlog.html" title="Logging into matrices in data format in memory." alt="" coords="5,161,117,188"><area shape="rect" href="classbdm_1_1bdmroot.html" title="Root class of BDM objects." alt="" coords="5,7,117,33"><area shape="rect" href="classbdm_1_1dirfilelog.html" title="Logging into dirfile with buffer in memory." alt="" coords="5,239,117,265"></map> |
39 | | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
| 76 | |
| 77 | <p><center><img src="classbdm_1_1logger.png" usemap="#bdm::logger_map" border="0" alt=""></center> |
| 78 | <map name="bdm::logger_map"> |
| 79 | <area href="classbdm_1_1bdmroot.html" alt="bdm::bdmroot" shape="rect" coords="0,0,90,24"> |
| 80 | <area href="classbdm_1_1memlog.html" alt="bdm::memlog" shape="rect" coords="0,112,90,136"> |
| 81 | <area href="classbdm_1_1dirfilelog.html" alt="bdm::dirfilelog" shape="rect" coords="0,168,90,192"> |
| 82 | </map> |
| 83 | </div> |
| 124 | <hr><h2>Member Function Documentation</h2> |
| 125 | <a class="anchor" name="cfb4807e20b3d00f3d33e55ada528dc1"></a><!-- doxytag: member="bdm::logger::add" ref="cfb4807e20b3d00f3d33e55ada528dc1" args="(const RV &rv, string name="")" --> |
| 126 | <div class="memitem"> |
| 127 | <div class="memproto"> |
| 128 | <table class="memname"> |
| 129 | <tr> |
| 130 | <td class="memname">virtual int bdm::logger::add </td> |
| 131 | <td>(</td> |
| 132 | <td class="paramtype">const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td> |
| 133 | <td class="paramname"> <em>rv</em>, </td> |
| 134 | </tr> |
| 135 | <tr> |
| 136 | <td class="paramkey"></td> |
| 137 | <td></td> |
| 138 | <td class="paramtype">string </td> |
| 139 | <td class="paramname"> <em>name</em> = <code>""</code></td><td> </td> |
| 140 | </tr> |
| 141 | <tr> |
| 142 | <td></td> |
| 143 | <td>)</td> |
| 144 | <td></td><td></td><td><code> [inline, virtual]</code></td> |
| 145 | </tr> |
| 146 | </table> |
| 147 | </div> |
| 148 | <div class="memdoc"> |
| 149 | |
| 150 | <p> |
| 151 | returns an identifier which will be later needed for calling the <code><a class="el" href="classbdm_1_1logger.html#397c014b0aaf3581516e2a105d26a5c9" title="log this vector">logit()</a></code> function For empty <a class="el" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> it returns -1, this entry will be ignored by <code><a class="el" href="classbdm_1_1logger.html#397c014b0aaf3581516e2a105d26a5c9" title="log this vector">logit()</a></code>. |
| 152 | <p>References <a class="el" href="libBM_8h-source.html#l00476">entries</a>, and <a class="el" href="libBM_8h-source.html#l00478">names</a>.</p> |
| 153 | |
| 154 | <p>Referenced by <a class="el" href="libDS_8h-source.html#l00121">bdm::ArxDS::log_add()</a>, and <a class="el" href="libBM_8h-source.html#l00570">bdm::DS::log_add()</a>.</p> |
| 155 | |
| 156 | </div> |
| 157 | </div><p> |