Changeset 353 for doc/html/loggers__ui_8h-source.html
- Timestamp:
- 06/02/09 10:08:06 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
doc/html/loggers__ui_8h-source.html
r323 r353 76 76 <a name="l00038"></a>00038 <a class="code" href="classUIrv.html" title="UI for class RV (description of data vectors).">UIrv</a>():<a class="code" href="classbdm_1_1UIbuilder.html#c75103dd58395644e80f1eea886c656b" title="Constructor needs to be run only once macro UIREGISTER.">UIbuilder</a>(<span class="stringliteral">"rv"</span>){}; 77 77 <a name="l00039"></a><a class="code" href="classUIrv.html#c7c4a2d75a7ce775b59efeed8fc928dc">00039</a> <a class="code" href="classbdm_1_1bdmroot.html" title="Root class of BDM objects.">bdmroot</a>* <a class="code" href="classUIrv.html#c7c4a2d75a7ce775b59efeed8fc928dc" title="Function building the computational object.">build</a>(Setting &S)<span class="keyword"> const</span>{ 78 <a name="l00040"></a>00040 Array<string>A=get_as(S[<span class="stringliteral">"names"</span>]);78 <a name="l00040"></a>00040 <a class="code" href="classitpp_1_1Array.html">Array<string></a> A=get_as(S[<span class="stringliteral">"names"</span>]); 79 79 <a name="l00041"></a>00041 ivec szs; 80 80 <a name="l00042"></a>00042 ivec tms; … … 82 82 <a name="l00044"></a>00044 szs=getivec(S[<span class="stringliteral">"sizes"</span>]); 83 83 <a name="l00045"></a>00045 } <span class="keywordflow">else</span> { 84 <a name="l00046"></a>00046 szs = ones_i(A.length());84 <a name="l00046"></a>00046 szs = <a class="code" href="group__specmat.html#g7c2c02190b4aa222cc692641cc3a73c7" title="A Int (rows,cols)-matrix of ones.">ones_i</a>(A.<a class="code" href="classitpp_1_1Array.html#53629018f146084de506c33c69fa19a3" title="Returns the number of data elements in the array object.">length</a>()); 85 85 <a name="l00047"></a>00047 } 86 86 <a name="l00048"></a>00048 <span class="keywordflow">if</span> (S.exists(<span class="stringliteral">"times"</span>)){ 87 87 <a name="l00049"></a>00049 tms=getivec(S[<span class="stringliteral">"times"</span>]); 88 88 <a name="l00050"></a>00050 } <span class="keywordflow">else</span> { 89 <a name="l00051"></a>00051 tms = zeros_i(A.length());89 <a name="l00051"></a>00051 tms = <a class="code" href="group__specmat.html#g9df9aa3553b6a5c07924954b85466cec" title="A Int (rows,cols)-matrix of zeros.">zeros_i</a>(A.<a class="code" href="classitpp_1_1Array.html#53629018f146084de506c33c69fa19a3" title="Returns the number of data elements in the array object.">length</a>()); 90 90 <a name="l00052"></a>00052 } 91 91 <a name="l00053"></a>00053 <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> *tmp = <span class="keyword">new</span> <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a>(A,szs,tms); … … 104 104 <a name="l00075"></a>00075 105 105 <a name="l00076"></a>00076 UIREGISTER(<a class="code" href="classUIdirfilelog.html" title="UI for dirfilelog (Kst file format).">UIdirfilelog</a>); 106 <a name="l00077"></a>00077 <span class="preprocessor">#endif // LGR_H</span> 106 <a name="l00077"></a>00077 107 <a name="l00078"></a>00078 108 <a name="l00088"></a><a class="code" href="classUIitpplog.html">00088</a> <span class="keyword">class </span><a class="code" href="classUIitpplog.html" title="UI for memlog.">UIitpplog</a> : <span class="keyword">public</span> <a class="code" href="classbdm_1_1UIbuilder.html" title="Builds computational object from a UserInfo structure.">UIbuilder</a> { 109 <a name="l00089"></a>00089 <span class="keyword">public</span>: 110 <a name="l00090"></a>00090 <a class="code" href="classUIitpplog.html" title="UI for memlog.">UIitpplog</a>():<a class="code" href="classbdm_1_1UIbuilder.html#c75103dd58395644e80f1eea886c656b" title="Constructor needs to be run only once macro UIREGISTER.">UIbuilder</a>(<span class="stringliteral">"itpplog"</span>){}; 111 <a name="l00091"></a><a class="code" href="classUIitpplog.html#27c0db3c57be8c4f49419886db2e5652">00091</a> <a class="code" href="classbdm_1_1bdmroot.html" title="Root class of BDM objects.">bdmroot</a>* <a class="code" href="classUIitpplog.html#27c0db3c57be8c4f49419886db2e5652" title="Function building the computational object.">build</a>(Setting &S)<span class="keyword"> const</span>{ 112 <a name="l00092"></a>00092 <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="classbdm_1_1memlog.html" title="Logging into matrices in data format in memory.">memlog</a>(S[<span class="stringliteral">"maxlen"</span>],S[<span class="stringliteral">"filename"</span>]); 113 <a name="l00093"></a>00093 }; 114 <a name="l00094"></a>00094 }; 115 <a name="l00095"></a>00095 116 <a name="l00096"></a>00096 UIREGISTER(<a class="code" href="classUIitpplog.html" title="UI for memlog.">UIitpplog</a>); 117 <a name="l00097"></a>00097 <span class="preprocessor">#endif // LGR_H</span> 107 118 </pre></div></div> 108 <hr size="1"><address style="text-align: right;"><small>Generated on T hu Apr 23 21:06:42 2009 for mixpp by 119 <hr size="1"><address style="text-align: right;"><small>Generated on Tue Jun 2 10:02:12 2009 for mixpp by 109 120 <a href="http://www.doxygen.org/index.html"> 110 121 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>