| 71 | | <h1>bdm::dirfilelog Class Reference</h1><!-- doxytag: class="bdm::dirfilelog" --><!-- doxytag: inherits="bdm::memlog" --><code>#include <<a class="el" href="loggers_8h-source.html">loggers.h</a>></code> |
| 72 | | <p> |
| 73 | | <div class="dynheader"> |
| 74 | | Inheritance diagram for bdm::dirfilelog:</div> |
| 75 | | <div class="dynsection"> |
| 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> |
| 84 | | |
| 85 | | <p> |
| 86 | | <a href="classbdm_1_1dirfilelog-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> |
| 87 | | Logging into dirfile with buffer in memory. |
| 88 | | <p> |
| 89 | | Dirfile is a special format used by the kst program. See documentation of kst for description.<p> |
| 90 | | This format is used to store scalars, hence multivariate RVs must be separated. <table border="0" cellpadding="0" cellspacing="0"> |
| | 71 | <h1>bdm::dirfilelog Class Reference</h1><!-- doxytag: class="bdm::dirfilelog" --><!-- doxytag: inherits="bdm::memlog" -->Logging into dirfile with buffer in memory. |
| | 72 | <a href="#_details">More...</a> |
| | 73 | <p> |
| | 74 | <code>#include <<a class="el" href="loggers_8h-source.html">loggers.h</a>></code> |
| | 75 | <p> |
| | 76 | |
| | 77 | <p> |
| | 78 | <a href="classbdm_1_1dirfilelog-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
| | 182 | <a class="anchor" name="cfb4807e20b3d00f3d33e55ada528dc1"></a><!-- doxytag: member="bdm::dirfilelog::add" ref="cfb4807e20b3d00f3d33e55ada528dc1" args="(const RV &rv, string name="")" --> |
| | 183 | <div class="memitem"> |
| | 184 | <div class="memproto"> |
| | 185 | <table class="memname"> |
| | 186 | <tr> |
| | 187 | <td class="memname">virtual int bdm::logger::add </td> |
| | 188 | <td>(</td> |
| | 189 | <td class="paramtype">const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td> |
| | 190 | <td class="paramname"> <em>rv</em>, </td> |
| | 191 | </tr> |
| | 192 | <tr> |
| | 193 | <td class="paramkey"></td> |
| | 194 | <td></td> |
| | 195 | <td class="paramtype">string </td> |
| | 196 | <td class="paramname"> <em>name</em> = <code>""</code></td><td> </td> |
| | 197 | </tr> |
| | 198 | <tr> |
| | 199 | <td></td> |
| | 200 | <td>)</td> |
| | 201 | <td></td><td></td><td><code> [inline, virtual, inherited]</code></td> |
| | 202 | </tr> |
| | 203 | </table> |
| | 204 | </div> |
| | 205 | <div class="memdoc"> |
| | 206 | |
| | 207 | <p> |
| | 208 | 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>. |
| | 209 | <p>References <a class="el" href="libBM_8h-source.html#l00122">bdm::RV::_dsize()</a>, <a class="el" href="libBM_8h-source.html#l00492">bdm::logger::entries</a>, and <a class="el" href="libBM_8h-source.html#l00494">bdm::logger::names</a>.</p> |
| | 210 | |
| | 211 | <p>Referenced by <a class="el" href="pmsmDS_8h-source.html#l00069">pmsmDS::log_add()</a>, <a class="el" href="libDS_8h-source.html#l00150">bdm::ArxDS::log_add()</a>, <a class="el" href="libBM_8h-source.html#l00710">bdm::BM::log_add()</a>, and <a class="el" href="libBM_8h-source.html#l00586">bdm::DS::log_add()</a>.</p> |
| | 212 | |
| | 213 | </div> |
| | 214 | </div><p> |
| 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#l00481">bdm::logger::entries</a>, and <a class="el" href="libBM_8h-source.html#l00483">bdm::logger::names</a>.</p> |
| 249 | | |
| 250 | | <p>Referenced by <a class="el" href="pmsmDS_8h-source.html#l00069">pmsmDS::log_add()</a>, <a class="el" href="libDS_8h-source.html#l00150">bdm::ArxDS::log_add()</a>, <a class="el" href="libBM_8h-source.html#l00699">bdm::BM::log_add()</a>, and <a class="el" href="libBM_8h-source.html#l00575">bdm::DS::log_add()</a>.</p> |