| 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_1dirfilelog__inherit__graph.png" border="0" usemap="#bdm_1_1dirfilelog__inherit__map" alt="Inheritance graph"></center> |
37 | | <map name="bdm_1_1dirfilelog__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_1logger.html" title="Class for storing results (and semi-results) of an experiment." alt="" coords="12,84,111,111"><area shape="rect" href="classbdm_1_1bdmroot.html" title="Root class of BDM objects." alt="" coords="5,7,117,33"></map> |
39 | | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
| 76 | |
| 77 | <p><center><img src="classbdm_1_1dirfilelog.png" usemap="#bdm::dirfilelog_map" border="0" alt=""></center> |
| 78 | <map name="bdm::dirfilelog_map"> |
| 79 | <area href="classbdm_1_1memlog.html" alt="bdm::memlog" shape="rect" coords="0,112,90,136"> |
| 80 | <area href="classbdm_1_1logger.html" alt="bdm::logger" shape="rect" coords="0,56,90,80"> |
| 81 | <area href="classbdm_1_1bdmroot.html" alt="bdm::bdmroot" shape="rect" coords="0,0,90,24"> |
| 82 | </map> |
| 83 | </div> |
75 | | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cfb4807e20b3d00f3d33e55ada528dc1"></a><!-- doxytag: member="bdm::dirfilelog::add" ref="cfb4807e20b3d00f3d33e55ada528dc1" args="(const RV &rv, string name="")" --> |
76 | | virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1logger.html#cfb4807e20b3d00f3d33e55ada528dc1">add</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &rv, string name="")</td></tr> |
77 | | |
78 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">returns an identifier which will be later needed for calling the log() function <br></td></tr> |
| 119 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1logger.html#cfb4807e20b3d00f3d33e55ada528dc1">add</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &rv, string name="")</td></tr> |
| 120 | |
| 218 | |
| 219 | </div> |
| 220 | </div><p> |
| 221 | <a class="anchor" name="cfb4807e20b3d00f3d33e55ada528dc1"></a><!-- doxytag: member="bdm::dirfilelog::add" ref="cfb4807e20b3d00f3d33e55ada528dc1" args="(const RV &rv, string name="")" --> |
| 222 | <div class="memitem"> |
| 223 | <div class="memproto"> |
| 224 | <table class="memname"> |
| 225 | <tr> |
| 226 | <td class="memname">virtual int bdm::logger::add </td> |
| 227 | <td>(</td> |
| 228 | <td class="paramtype">const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td> |
| 229 | <td class="paramname"> <em>rv</em>, </td> |
| 230 | </tr> |
| 231 | <tr> |
| 232 | <td class="paramkey"></td> |
| 233 | <td></td> |
| 234 | <td class="paramtype">string </td> |
| 235 | <td class="paramname"> <em>name</em> = <code>""</code></td><td> </td> |
| 236 | </tr> |
| 237 | <tr> |
| 238 | <td></td> |
| 239 | <td>)</td> |
| 240 | <td></td><td></td><td><code> [inline, virtual, inherited]</code></td> |
| 241 | </tr> |
| 242 | </table> |
| 243 | </div> |
| 244 | <div class="memdoc"> |
| 245 | |
| 246 | <p> |
| 247 | 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>. |
| 248 | <p>References <a class="el" href="libBM_8h-source.html#l00476">bdm::logger::entries</a>, and <a class="el" href="libBM_8h-source.html#l00478">bdm::logger::names</a>.</p> |
| 249 | |
| 250 | <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> |