Show
Ignore:
Timestamp:
05/12/08 17:37:08 (16 years ago)
Author:
smidl
Message:

doc

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • doc/html/loggers_8h-source.html

    r99 r106  
    6565<a name="l00084"></a><a class="code" href="classmemlog.html#9ebaf88cda26992f4f50aa13aeafc691">00084</a>         <span class="keywordtype">void</span> <a class="code" href="classmemlog.html#9ebaf88cda26992f4f50aa13aeafc691" title="consider this record to be complete">step</a>(<span class="keywordtype">bool</span> <span class="keyword">final</span>=<span class="keyword">false</span>) {<span class="keywordflow">if</span> ( <a class="code" href="classmemlog.html#3410b4c002636508c43ddcba8d394520" title="Currect record to be written.">ind</a>&lt;<a class="code" href="classmemlog.html#4195f322897ededdac66c404b848ced3" title="Maximum length of vectors stored in memory.">maxlen</a> ) <a class="code" href="classmemlog.html#3410b4c002636508c43ddcba8d394520" title="Currect record to be written.">ind</a>++; <span class="keywordflow">else</span> it_error ( <span class="stringliteral">"memlog::ind is too high;"</span> );} 
    6666<a name="l00085"></a><a class="code" href="classmemlog.html#8d2feeb826f7249e9104d616b5a67144">00085</a>         <span class="keywordtype">void</span> <a class="code" href="classmemlog.html#8d2feeb826f7249e9104d616b5a67144" title="log this vector">logit</a> ( <span class="keywordtype">int</span> <span class="keywordtype">id</span>, vec v ) {<a class="code" href="classmemlog.html#f0f5bc7b83539ad102e8f65297852d91" title="Storage.">vectors</a> ( <span class="keywordtype">id</span> ).set_row ( <a class="code" href="classmemlog.html#3410b4c002636508c43ddcba8d394520" title="Currect record to be written.">ind</a>,v );} 
    67 <a name="l00086"></a>00086 }; 
    68 <a name="l00087"></a>00087  
    69 <a name="l00096"></a><a class="code" href="classdirfilelog.html">00096</a> <span class="keyword">class </span><a class="code" href="classdirfilelog.html" title="Logging into dirfile with buffer in memory.">dirfilelog</a> : <span class="keyword">public</span> <a class="code" href="classmemlog.html" title="Logging into matrices in data format in memory.">memlog</a> { 
    70 <a name="l00097"></a>00097  
    71 <a name="l00098"></a>00098 <span class="keyword">protected</span>: 
    72 <a name="l00100"></a><a class="code" href="classdirfilelog.html#cba5ff1f74ed22910ed7d63aadf21771">00100</a>         <span class="keywordtype">string</span> <a class="code" href="classdirfilelog.html#cba5ff1f74ed22910ed7d63aadf21771" title="name of the directory">dirname</a>; 
    73 <a name="l00102"></a><a class="code" href="classdirfilelog.html#854b7e7cc4cb40542b4a3ea06d915772">00102</a>         Array&lt;string&gt; <a class="code" href="classdirfilelog.html#854b7e7cc4cb40542b4a3ea06d915772" title="Automatically generated.">scalarnames</a>; 
    74 <a name="l00103"></a>00103 <span class="keyword">public</span>: 
    75 <a name="l00107"></a><a class="code" href="classdirfilelog.html#802eeb6fc4ebf11d97638fd5dc651c68">00107</a>         <a class="code" href="classdirfilelog.html#802eeb6fc4ebf11d97638fd5dc651c68" title="Default constructor.">dirfilelog</a> ( std::string dirname0, <span class="keywordtype">int</span> maxlen0 ) : <a class="code" href="classmemlog.html" title="Logging into matrices in data format in memory.">memlog</a> ( maxlen0 ), <a class="code" href="classdirfilelog.html#cba5ff1f74ed22910ed7d63aadf21771" title="name of the directory">dirname</a> ( dirname0 ), <a class="code" href="classdirfilelog.html#854b7e7cc4cb40542b4a3ea06d915772" title="Automatically generated.">scalarnames</a> ( 0 ) {} 
    76 <a name="l00109"></a>00109         <span class="keywordtype">void</span> <a class="code" href="classdirfilelog.html#afeaebe003110f9db1ac43edf8e53a92" title="Initialize storage.">init</a>(); 
    77 <a name="l00110"></a>00110         <span class="keywordtype">void</span> <a class="code" href="classdirfilelog.html#887f2bb97e8c92ca42eea1fbac34eb51" title="consider this record to be complete">step</a>(<span class="keywordtype">bool</span> <span class="keyword">final</span>=<span class="keyword">false</span>); 
    78 <a name="l00114"></a>00114         <span class="keywordtype">void</span> <a class="code" href="classdirfilelog.html#bd95cdb46af194245f88a7b4bf4c66c7" title="Write memory storage to disk.">write_buffers</a> ( <span class="keywordtype">int</span> Len ); 
    79 <a name="l00115"></a>00115 }; 
    80 <a name="l00116"></a>00116  
     67<a name="l00086"></a>00086         <span class="keywordtype">void</span> itsave(<span class="keyword">const</span> <span class="keywordtype">char</span>* fname); 
     68<a name="l00087"></a>00087 }; 
     69<a name="l00088"></a>00088  
     70<a name="l00097"></a><a class="code" href="classdirfilelog.html">00097</a> <span class="keyword">class </span><a class="code" href="classdirfilelog.html" title="Logging into dirfile with buffer in memory.">dirfilelog</a> : <span class="keyword">public</span> <a class="code" href="classmemlog.html" title="Logging into matrices in data format in memory.">memlog</a> { 
     71<a name="l00098"></a>00098  
     72<a name="l00099"></a>00099 <span class="keyword">protected</span>: 
     73<a name="l00101"></a><a class="code" href="classdirfilelog.html#cba5ff1f74ed22910ed7d63aadf21771">00101</a>         <span class="keywordtype">string</span> <a class="code" href="classdirfilelog.html#cba5ff1f74ed22910ed7d63aadf21771" title="name of the directory">dirname</a>; 
     74<a name="l00103"></a><a class="code" href="classdirfilelog.html#854b7e7cc4cb40542b4a3ea06d915772">00103</a>         Array&lt;string&gt; <a class="code" href="classdirfilelog.html#854b7e7cc4cb40542b4a3ea06d915772" title="Automatically generated.">scalarnames</a>; 
     75<a name="l00104"></a>00104 <span class="keyword">public</span>: 
     76<a name="l00108"></a><a class="code" href="classdirfilelog.html#802eeb6fc4ebf11d97638fd5dc651c68">00108</a>         <a class="code" href="classdirfilelog.html#802eeb6fc4ebf11d97638fd5dc651c68" title="Default constructor.">dirfilelog</a> ( std::string dirname0, <span class="keywordtype">int</span> maxlen0 ) : <a class="code" href="classmemlog.html" title="Logging into matrices in data format in memory.">memlog</a> ( maxlen0 ), <a class="code" href="classdirfilelog.html#cba5ff1f74ed22910ed7d63aadf21771" title="name of the directory">dirname</a> ( dirname0 ), <a class="code" href="classdirfilelog.html#854b7e7cc4cb40542b4a3ea06d915772" title="Automatically generated.">scalarnames</a> ( 0 ) {} 
     77<a name="l00110"></a>00110         <span class="keywordtype">void</span> <a class="code" href="classdirfilelog.html#afeaebe003110f9db1ac43edf8e53a92" title="Initialize storage.">init</a>(); 
     78<a name="l00111"></a>00111         <span class="keywordtype">void</span> <a class="code" href="classdirfilelog.html#887f2bb97e8c92ca42eea1fbac34eb51" title="consider this record to be complete">step</a>(<span class="keywordtype">bool</span> <span class="keyword">final</span>=<span class="keyword">false</span>); 
     79<a name="l00115"></a>00115         <span class="keywordtype">void</span> <a class="code" href="classdirfilelog.html#bd95cdb46af194245f88a7b4bf4c66c7" title="Write memory storage to disk.">write_buffers</a> ( <span class="keywordtype">int</span> Len ); 
     80<a name="l00116"></a>00116 }; 
    8181<a name="l00117"></a>00117  
    82 <a name="l00118"></a>00118 <span class="preprocessor">#endif // LGR_H</span> 
     82<a name="l00118"></a>00118  
     83<a name="l00119"></a>00119 <span class="preprocessor">#endif // LGR_H</span> 
    8384</pre></div></div> 
    84 <hr size="1"><address style="text-align: right;"><small>Generated on Fri May 9 16:15:21 2008 for mixpp by&nbsp; 
     85<hr size="1"><address style="text-align: right;"><small>Generated on Fri May 9 23:06:28 2008 for mixpp by&nbsp; 
    8586<a href="http://www.doxygen.org/index.html"> 
    8687<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>