65 | | <h1>osutils.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//</span> |
66 | | <a name="l00002"></a>00002 <span class="comment">// C++ Interface: osutils</span> |
67 | | <a name="l00003"></a>00003 <span class="comment">//</span> |
68 | | <a name="l00004"></a>00004 <span class="comment">// Description: Agr</span> |
69 | | <a name="l00005"></a>00005 <span class="comment">//</span> |
70 | | <a name="l00006"></a>00006 <span class="comment">//</span> |
71 | | <a name="l00007"></a>00007 <span class="comment">// Author: smidl <smidl@utia.cas.cz>, (C) 2008</span> |
72 | | <a name="l00008"></a>00008 <span class="comment">//</span> |
73 | | <a name="l00009"></a>00009 <span class="comment">// Copyright: See COPYING file that comes with this distribution</span> |
74 | | <a name="l00010"></a>00010 <span class="comment">//</span> |
75 | | <a name="l00011"></a>00011 <span class="comment">//</span> |
76 | | <a name="l00012"></a>00012 |
77 | | <a name="l00013"></a>00013 <span class="preprocessor">#include "itpp_ext.h"</span> |
78 | | <a name="l00014"></a>00014 |
79 | | <a name="l00015"></a>00015 <span class="keyword">using namespace </span>std; |
80 | | <a name="l00016"></a>00016 |
81 | | <a name="l00020"></a>00020 <span class="keywordtype">void</span> get_fname ( <span class="keywordtype">char</span>* filename, std::string &dirname, std::string &f ); |
82 | | <a name="l00021"></a>00021 |
83 | | <a name="l00028"></a>00028 <span class="keywordtype">void</span> makedir(<span class="keywordtype">string</span> &dirname, <span class="keywordtype">bool</span> rewrite = <span class="keyword">true</span>); |
| 64 | <h1>size_generator.h</h1><a href="size__generator_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 |
| 65 | <a name="l00013"></a>00013 <span class="preprocessor">#ifndef SIZE_GENERATOR_H</span> |
| 66 | <a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define SIZE_GENERATOR_H</span> |
| 67 | <a name="l00015"></a>00015 <span class="preprocessor"></span> |
| 68 | <a name="l00016"></a>00016 <span class="preprocessor">#include "itpp_ext.h"</span> |
| 69 | <a name="l00017"></a>00017 <span class="preprocessor">#include "<a class="code" href="generator_8h.html" title="Stress test generation base.">generator.h</a>"</span> |
| 70 | <a name="l00018"></a>00018 |
| 71 | <a name="l00021"></a><a class="code" href="classsize__generator.html">00021</a> <span class="keyword">class </span><a class="code" href="classsize__generator.html">size_generator</a> : <span class="keyword">public</span> <a class="code" href="classgenerator.html">generator</a> { |
| 72 | <a name="l00022"></a>00022 <span class="keyword">private</span>: |
| 73 | <a name="l00023"></a>00023 <span class="keywordtype">int</span> step; |
| 74 | <a name="l00024"></a>00024 <span class="keywordtype">int</span> sz; |
| 75 | <a name="l00025"></a>00025 |
| 76 | <a name="l00026"></a>00026 <span class="keyword">public</span>: |
| 77 | <a name="l00027"></a>00027 <a class="code" href="classsize__generator.html">size_generator</a>() : step ( 7 ), sz ( step ) { } |
| 78 | <a name="l00028"></a>00028 |
| 79 | <a name="l00029"></a>00029 itpp::mat <a class="code" href="classsize__generator.html#d08d7355f747bd71221317890f6238a6">next</a>(); |
| 80 | <a name="l00030"></a>00030 |
| 81 | <a name="l00038"></a>00038 <span class="keywordtype">void</span> <a class="code" href="classsize__generator.html#e8c6f21c2ac7c94ea2f9c997788d9133">from_setting</a> ( <span class="keyword">const</span> Setting &<span class="keyword">set</span> ); |
| 82 | <a name="l00039"></a>00039 }; |
| 83 | <a name="l00040"></a>00040 |
| 84 | <a name="l00041"></a>00041 <span class="preprocessor">#endif</span> |