root/doc/html/itfile_8h-source.html @ 353

Revision 353, 115.8 kB (checked in by smidl, 16 years ago)

doc

Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3<title>mixpp: itfile.h Source File</title>
4<link href="tabs.css" rel="stylesheet" type="text/css">
5<link href="doxygen.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.5.8 -->
8<script type="text/javascript">
9<!--
10function 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}
22function 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}
46window.onload = initDynSections;
47-->
48</script>
49<div class="navigation" id="top">
50  <div class="tabs">
51    <ul>
52      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
53      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
54      <li><a href="modules.html"><span>Modules</span></a></li>
55      <li><a href="annotated.html"><span>Classes</span></a></li>
56      <li class="current"><a href="files.html"><span>Files</span></a></li>
57    </ul>
58  </div>
59  <div class="tabs">
60    <ul>
61      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
62      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
63    </ul>
64  </div>
65<h1>itfile.h</h1><a href="itfile_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001
66<a name="l00029"></a>00029 <span class="preprocessor">#ifndef ITFILE_H</span>
67<a name="l00030"></a>00030 <span class="preprocessor"></span><span class="preprocessor">#define ITFILE_H</span>
68<a name="l00031"></a>00031 <span class="preprocessor"></span>
69<a name="l00032"></a>00032 <span class="preprocessor">#include &lt;<a class="code" href="vec_8h.html" title="Templated Vector Class Definitions.">itpp/base/vec.h</a>&gt;</span>
70<a name="l00033"></a>00033 <span class="preprocessor">#include &lt;<a class="code" href="array_8h.html" title="Definition of Array class (container).">itpp/base/array.h</a>&gt;</span>
71<a name="l00034"></a>00034 <span class="preprocessor">#include &lt;<a class="code" href="binfile_8h.html" title="Binary file formats definitions.">itpp/base/binfile.h</a>&gt;</span>
72<a name="l00035"></a>00035 <span class="preprocessor">#include &lt;<a class="code" href="itcompat_8h.html" title="IT++ compatibility types and functions.">itpp/base/itcompat.h</a>&gt;</span>
73<a name="l00036"></a>00036
74<a name="l00037"></a>00037
75<a name="l00038"></a>00038 <span class="keyword">namespace </span>itpp
76<a name="l00039"></a>00039 {
77<a name="l00040"></a>00040
78<a name="l00092"></a><a class="code" href="classitpp_1_1it__file__base.html">00092</a> <span class="keyword">class </span><a class="code" href="classitpp_1_1it__file__base.html" title="Base class for it_ifile and it_file.">it_file_base</a>
79<a name="l00093"></a>00093 {
80<a name="l00094"></a>00094 <span class="keyword">public</span>:
81<a name="l00096"></a><a class="code" href="structitpp_1_1it__file__base_1_1data__header.html">00096</a>   <span class="keyword">struct </span><a class="code" href="structitpp_1_1it__file__base_1_1data__header.html" title="Data header structure.">data_header</a> {
82<a name="l00098"></a><a class="code" href="structitpp_1_1it__file__base_1_1data__header.html#276346e2ac8bedd0afda47030fba84a5">00098</a>     uint64_t <a class="code" href="structitpp_1_1it__file__base_1_1data__header.html#276346e2ac8bedd0afda47030fba84a5" title="Number of bytes of the header.">hdr_bytes</a>;
83<a name="l00100"></a><a class="code" href="structitpp_1_1it__file__base_1_1data__header.html#78ff64d39dab4c1254141593fd3469dc">00100</a>     uint64_t <a class="code" href="structitpp_1_1it__file__base_1_1data__header.html#78ff64d39dab4c1254141593fd3469dc" title="Number of bytes of the data.">data_bytes</a>;
84<a name="l00102"></a><a class="code" href="structitpp_1_1it__file__base_1_1data__header.html#122639dc509ae6948f1cfe2f12c8fa6a">00102</a>     uint64_t <a class="code" href="structitpp_1_1it__file__base_1_1data__header.html#122639dc509ae6948f1cfe2f12c8fa6a" title="Number of bytes of the header + data.">block_bytes</a>;
85<a name="l00104"></a><a class="code" href="structitpp_1_1it__file__base_1_1data__header.html#856d153dd45a041d756b98b6c447e1d8">00104</a>     std::string <a class="code" href="structitpp_1_1it__file__base_1_1data__header.html#856d153dd45a041d756b98b6c447e1d8" title="Data name.">name</a>;
86<a name="l00106"></a><a class="code" href="structitpp_1_1it__file__base_1_1data__header.html#4802382d221032d3c8551ceee8206c5f">00106</a>     std::string <a class="code" href="structitpp_1_1it__file__base_1_1data__header.html#4802382d221032d3c8551ceee8206c5f" title="Data type, e.g. int32, float32, etc. type = &amp;quot;&amp;quot; means deleted.">type</a>;
87<a name="l00108"></a><a class="code" href="structitpp_1_1it__file__base_1_1data__header.html#0a5b4a57ba55298d413cd1f695918d4e">00108</a>     std::string <a class="code" href="structitpp_1_1it__file__base_1_1data__header.html#0a5b4a57ba55298d413cd1f695918d4e" title="Data description.">desc</a>;
88<a name="l00109"></a>00109   };
89<a name="l00110"></a>00110
90<a name="l00111"></a>00111 <span class="keyword">protected</span>:
91<a name="l00113"></a><a class="code" href="structitpp_1_1it__file__base_1_1file__header.html">00113</a>   <span class="keyword">struct </span><a class="code" href="structitpp_1_1it__file__base_1_1file__header.html" title="File header structure.">file_header</a> {
92<a name="l00115"></a><a class="code" href="structitpp_1_1it__file__base_1_1file__header.html#04e3f96d2a321f650bfacef46267c06d">00115</a>     <span class="keywordtype">char</span> <a class="code" href="structitpp_1_1it__file__base_1_1file__header.html#04e3f96d2a321f650bfacef46267c06d" title="IT++ file marker: &amp;quot;IT++&amp;quot;.">magic</a>[4];
93<a name="l00117"></a><a class="code" href="structitpp_1_1it__file__base_1_1file__header.html#8846556236786cb317a4560a7a90546c">00117</a>     <span class="keywordtype">char</span> <a class="code" href="structitpp_1_1it__file__base_1_1file__header.html#8846556236786cb317a4560a7a90546c" title="IT++ file format version.">version</a>;
94<a name="l00118"></a>00118   };
95<a name="l00120"></a><a class="code" href="classitpp_1_1it__file__base.html#3f6f55dd92efcd1485000a50757ca3c5">00120</a>   <span class="keyword">static</span> <span class="keywordtype">char</span> <a class="code" href="classitpp_1_1it__file__base.html#3f6f55dd92efcd1485000a50757ca3c5" title="IT++ file marker: &amp;quot;IT++&amp;quot;.">file_magic</a>[4];
96<a name="l00122"></a><a class="code" href="classitpp_1_1it__file__base.html#fea5d883d7772b4085b21cb9d71fe6e8">00122</a>   <span class="keyword">static</span> <span class="keywordtype">char</span> <a class="code" href="classitpp_1_1it__file__base.html#fea5d883d7772b4085b21cb9d71fe6e8" title="IT++ file version.">file_version</a>;
97<a name="l00123"></a>00123 };
98<a name="l00124"></a>00124
99<a name="l00125"></a>00125
100<a name="l00130"></a><a class="code" href="classitpp_1_1it__ifile.html">00130</a> <span class="keyword">class </span><a class="code" href="classitpp_1_1it__ifile.html" title="The IT++ file format reading class.">it_ifile</a> : <span class="keyword">public</span> <a class="code" href="classitpp_1_1it__file__base.html" title="Base class for it_ifile and it_file.">it_file_base</a>
101<a name="l00131"></a>00131 {
102<a name="l00132"></a>00132 <span class="keyword">public</span>:
103<a name="l00134"></a>00134   <a class="code" href="classitpp_1_1it__ifile.html#fd4b7baed4c7aa9740623d070d04eb4a" title="Default constructor.">it_ifile</a>();
104<a name="l00136"></a>00136   <span class="keyword">explicit</span> <a class="code" href="classitpp_1_1it__ifile.html#fd4b7baed4c7aa9740623d070d04eb4a" title="Default constructor.">it_ifile</a>(<span class="keyword">const</span> std::string&amp; filename);
105<a name="l00138"></a><a class="code" href="classitpp_1_1it__ifile.html#85db6ebf3267e0cd2d83107284057632">00138</a>   <span class="keyword">virtual</span> <a class="code" href="classitpp_1_1it__ifile.html#85db6ebf3267e0cd2d83107284057632" title="Destructor.">~it_ifile</a>() { }
106<a name="l00140"></a>00140   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#35b58fc6bde2da48b21294465bcdbe97" title="Open an existing file in read-only mode.">open</a>(<span class="keyword">const</span> std::string&amp; filename);
107<a name="l00142"></a>00142   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#4185cd0423f8b63e6528c1aed78944be" title="Close the file.">close</a>();
108<a name="l00144"></a><a class="code" href="classitpp_1_1it__ifile.html#7170df0981d922073ae8f5e4fbe8295f">00144</a>   <a class="code" href="classitpp_1_1bfstream.html" title="Binary in/out-file Class.">bfstream</a>&amp; <a class="code" href="classitpp_1_1it__ifile.html#7170df0981d922073ae8f5e4fbe8295f" title="Returns pointer to the underlying bfstream used.">low_level</a>() { <span class="keywordflow">return</span> <a class="code" href="classitpp_1_1it__ifile.html#c4ed010dc97e3672c7103be3fe43c902" title="Protected binary file stream.">s</a>; }
109<a name="l00145"></a>00145
110<a name="l00147"></a>00147   <span class="keywordtype">bool</span> <a class="code" href="classitpp_1_1it__ifile.html#75d5812868c87cfee7ebc85d5f255adc" title="Read and check the file header. Return true if the header is valid and false otherwise...">read_check_file_header</a>();
111<a name="l00149"></a>00149   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#2813d3d2d914596f507dc6b43adc28ae" title="Read data header and return the result in the variable h.">read_data_header</a>(data_header&amp; h);
112<a name="l00150"></a>00150
113<a name="l00152"></a>00152   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#5a983e0631b45905ba8aea2712fe1f02" title="Read a char value at the current file pointer position.">low_level_read</a>(<span class="keywordtype">char</span>&amp; x);
114<a name="l00154"></a>00154   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#5a983e0631b45905ba8aea2712fe1f02" title="Read a char value at the current file pointer position.">low_level_read</a>(uint64_t&amp; x);
115<a name="l00156"></a>00156   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#5a983e0631b45905ba8aea2712fe1f02" title="Read a char value at the current file pointer position.">low_level_read</a>(<span class="keywordtype">bool</span> &amp;x);
116<a name="l00157"></a>00157
117<a name="l00159"></a>00159   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#5a983e0631b45905ba8aea2712fe1f02" title="Read a char value at the current file pointer position.">low_level_read</a>(<a class="code" href="classitpp_1_1bin.html" title="Binary arithmetic (boolean) class.">bin</a>&amp; x);
118<a name="l00161"></a>00161   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#5a983e0631b45905ba8aea2712fe1f02" title="Read a char value at the current file pointer position.">low_level_read</a>(<span class="keywordtype">short</span>&amp; x);
119<a name="l00163"></a>00163   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#5a983e0631b45905ba8aea2712fe1f02" title="Read a char value at the current file pointer position.">low_level_read</a>(<span class="keywordtype">int</span>&amp; x);
120<a name="l00165"></a>00165   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#5a983e0631b45905ba8aea2712fe1f02" title="Read a char value at the current file pointer position.">low_level_read</a>(<span class="keywordtype">float</span>&amp; x);
121<a name="l00167"></a>00167   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#5a983e0631b45905ba8aea2712fe1f02" title="Read a char value at the current file pointer position.">low_level_read</a>(<span class="keywordtype">double</span>&amp; x);
122<a name="l00169"></a>00169   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#5a983e0631b45905ba8aea2712fe1f02" title="Read a char value at the current file pointer position.">low_level_read</a>(std::complex&lt;float&gt;&amp; x);
123<a name="l00171"></a>00171   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#5a983e0631b45905ba8aea2712fe1f02" title="Read a char value at the current file pointer position.">low_level_read</a>(std::complex&lt;double&gt;&amp; x);
124<a name="l00172"></a>00172
125<a name="l00174"></a>00174   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#5a983e0631b45905ba8aea2712fe1f02" title="Read a char value at the current file pointer position.">low_level_read</a>(bvec&amp; v);
126<a name="l00176"></a>00176   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#5a983e0631b45905ba8aea2712fe1f02" title="Read a char value at the current file pointer position.">low_level_read</a>(svec&amp; v);
127<a name="l00178"></a>00178   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#5a983e0631b45905ba8aea2712fe1f02" title="Read a char value at the current file pointer position.">low_level_read</a>(ivec&amp; v);
128<a name="l00180"></a>00180   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#6f62754344ad38e51bda75188777593c" title="Read a vector of float values at the current file pointer position.">low_level_read_lo</a>(vec&amp; v);
129<a name="l00182"></a>00182   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#dbdf10422bd6ffd6e149e24c8a10ddf1" title="Read a vector of double values at the current file pointer position.">low_level_read_hi</a>(vec&amp; v);
130<a name="l00184"></a>00184   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#6f62754344ad38e51bda75188777593c" title="Read a vector of float values at the current file pointer position.">low_level_read_lo</a>(cvec&amp; v);
131<a name="l00186"></a>00186   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#dbdf10422bd6ffd6e149e24c8a10ddf1" title="Read a vector of double values at the current file pointer position.">low_level_read_hi</a>(cvec&amp; v);
132<a name="l00187"></a>00187
133<a name="l00189"></a>00189   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#5a983e0631b45905ba8aea2712fe1f02" title="Read a char value at the current file pointer position.">low_level_read</a>(std::string&amp; str);
134<a name="l00190"></a>00190
135<a name="l00192"></a>00192   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#5a983e0631b45905ba8aea2712fe1f02" title="Read a char value at the current file pointer position.">low_level_read</a>(<a class="code" href="mat_8h.html#f90acd1af41bf2d1d8a4bb23662fff69" title="bin matrix">bmat</a>&amp; m);
136<a name="l00194"></a>00194   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#5a983e0631b45905ba8aea2712fe1f02" title="Read a char value at the current file pointer position.">low_level_read</a>(smat&amp; m);
137<a name="l00196"></a>00196   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#5a983e0631b45905ba8aea2712fe1f02" title="Read a char value at the current file pointer position.">low_level_read</a>(imat&amp; m);
138<a name="l00198"></a>00198   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#6f62754344ad38e51bda75188777593c" title="Read a vector of float values at the current file pointer position.">low_level_read_lo</a>(mat&amp; m);
139<a name="l00200"></a>00200   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#dbdf10422bd6ffd6e149e24c8a10ddf1" title="Read a vector of double values at the current file pointer position.">low_level_read_hi</a>(mat&amp; m);
140<a name="l00202"></a>00202   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#6f62754344ad38e51bda75188777593c" title="Read a vector of float values at the current file pointer position.">low_level_read_lo</a>(cmat&amp; m);
141<a name="l00204"></a>00204   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#dbdf10422bd6ffd6e149e24c8a10ddf1" title="Read a vector of double values at the current file pointer position.">low_level_read_hi</a>(cmat&amp; m);
142<a name="l00205"></a>00205
143<a name="l00207"></a>00207   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#5a983e0631b45905ba8aea2712fe1f02" title="Read a char value at the current file pointer position.">low_level_read</a>(<a class="code" href="classitpp_1_1Array.html" title="General array class.">Array&lt;bin&gt;</a>&amp; v);
144<a name="l00209"></a>00209   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#5a983e0631b45905ba8aea2712fe1f02" title="Read a char value at the current file pointer position.">low_level_read</a>(<a class="code" href="classitpp_1_1Array.html" title="General array class.">Array&lt;short&gt;</a>&amp; v);
145<a name="l00211"></a>00211   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#5a983e0631b45905ba8aea2712fe1f02" title="Read a char value at the current file pointer position.">low_level_read</a>(<a class="code" href="classitpp_1_1Array.html" title="General array class.">Array&lt;int&gt;</a>&amp; v);
146<a name="l00213"></a>00213   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#5a983e0631b45905ba8aea2712fe1f02" title="Read a char value at the current file pointer position.">low_level_read</a>(<a class="code" href="classitpp_1_1Array.html" title="General array class.">Array&lt;float&gt;</a>&amp; v);
147<a name="l00215"></a>00215   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#6f62754344ad38e51bda75188777593c" title="Read a vector of float values at the current file pointer position.">low_level_read_lo</a>(<a class="code" href="classitpp_1_1Array.html" title="General array class.">Array&lt;double&gt;</a>&amp; v);
148<a name="l00217"></a>00217   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#dbdf10422bd6ffd6e149e24c8a10ddf1" title="Read a vector of double values at the current file pointer position.">low_level_read_hi</a>(<a class="code" href="classitpp_1_1Array.html" title="General array class.">Array&lt;double&gt;</a>&amp; v);
149<a name="l00219"></a>00219   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#5a983e0631b45905ba8aea2712fe1f02" title="Read a char value at the current file pointer position.">low_level_read</a>(<a class="code" href="classitpp_1_1Array.html" title="General array class.">Array</a>&lt;std::complex&lt;float&gt; &gt;&amp; v);
150<a name="l00221"></a>00221   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#6f62754344ad38e51bda75188777593c" title="Read a vector of float values at the current file pointer position.">low_level_read_lo</a>(<a class="code" href="classitpp_1_1Array.html" title="General array class.">Array</a>&lt;std::complex&lt;double&gt; &gt;&amp; v);
151<a name="l00223"></a>00223   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#dbdf10422bd6ffd6e149e24c8a10ddf1" title="Read a vector of double values at the current file pointer position.">low_level_read_hi</a>(<a class="code" href="classitpp_1_1Array.html" title="General array class.">Array</a>&lt;std::complex&lt;double&gt; &gt;&amp; v);
152<a name="l00224"></a>00224
153<a name="l00226"></a>00226   <span class="keywordtype">bool</span> <a class="code" href="classitpp_1_1it__ifile.html#2e76fee6c51f5b4392e7298f59c06643" title="Find the variable name.">seek</a>(<span class="keyword">const</span> std::string&amp; name);
154<a name="l00228"></a>00228   <span class="keywordtype">bool</span> <a class="code" href="classitpp_1_1it__ifile.html#2e76fee6c51f5b4392e7298f59c06643" title="Find the variable name.">seek</a>(<span class="keywordtype">int</span> n);
155<a name="l00230"></a>00230   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile.html#ca38a8b3704f216136aa14c58549a19e" title="Get information about the current variable.">info</a>(std::string&amp; name, std::string&amp; type, std::string&amp; desc,
156<a name="l00231"></a>00231             uint64_t&amp; bytes);
157<a name="l00232"></a>00232
158<a name="l00233"></a>00233 <span class="keyword">protected</span>:
159<a name="l00235"></a><a class="code" href="classitpp_1_1it__ifile.html#c4ed010dc97e3672c7103be3fe43c902">00235</a>   <a class="code" href="classitpp_1_1bfstream.html" title="Binary in/out-file Class.">bfstream</a> <a class="code" href="classitpp_1_1it__ifile.html#c4ed010dc97e3672c7103be3fe43c902" title="Protected binary file stream.">s</a>;
160<a name="l00236"></a>00236 };
161<a name="l00237"></a>00237
162<a name="l00238"></a>00238
163<a name="l00243"></a><a class="code" href="classitpp_1_1it__file.html">00243</a> <span class="keyword">class </span><a class="code" href="classitpp_1_1it__file.html" title="The IT++ file format reading and writing class.">it_file</a> : <span class="keyword">public</span> <a class="code" href="classitpp_1_1it__ifile.html" title="The IT++ file format reading class.">it_ifile</a>
164<a name="l00244"></a>00244 {
165<a name="l00245"></a>00245 <span class="keyword">public</span>:
166<a name="l00247"></a>00247   <span class="keyword">typedef</span> <a class="code" href="classitpp_1_1it__file.html" title="The IT++ file format reading and writing class.">it_file</a>&amp; (*it_manip)(<a class="code" href="classitpp_1_1it__file.html" title="The IT++ file format reading and writing class.">it_file</a>&amp;);
167<a name="l00248"></a>00248
168<a name="l00250"></a>00250   <a class="code" href="classitpp_1_1it__file.html#c1ba3d4d87f791c4dc57597dc21e3f81" title="Default constructor.">it_file</a>();
169<a name="l00251"></a>00251
170<a name="l00258"></a>00258   <span class="keyword">explicit</span> <a class="code" href="classitpp_1_1it__file.html#c1ba3d4d87f791c4dc57597dc21e3f81" title="Default constructor.">it_file</a>(<span class="keyword">const</span> std::string&amp; filename, <span class="keywordtype">bool</span> trunc = <span class="keyword">false</span>);
171<a name="l00259"></a>00259
172<a name="l00261"></a><a class="code" href="classitpp_1_1it__file.html#94a5a70428eccdff2ae78747c586ead7">00261</a>   <span class="keyword">virtual</span> <a class="code" href="classitpp_1_1it__file.html#94a5a70428eccdff2ae78747c586ead7" title="Destructor.">~it_file</a>() { }
173<a name="l00262"></a>00262
174<a name="l00269"></a>00269   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#549f27e6830fa68fc964041b79733168" title="Open a file for reading and writing.">open</a>(<span class="keyword">const</span> std::string&amp; filename, <span class="keywordtype">bool</span> trunc = <span class="keyword">false</span>);
175<a name="l00270"></a>00270
176<a name="l00272"></a>00272   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#6e7217f36b35d6ea866e5fa8148009fa" title="Close the file.">close</a>();
177<a name="l00274"></a>00274   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#1ca5957bb8c2d18112b758b0993b2f2a" title="Flush the data to disk.">flush</a>();
178<a name="l00275"></a>00275
179<a name="l00277"></a><a class="code" href="classitpp_1_1it__file.html#39b162ffe5710a1a8b70d6dc5a3ef1f3">00277</a>   <a class="code" href="classitpp_1_1bfstream.html" title="Binary in/out-file Class.">bfstream</a>&amp; <a class="code" href="classitpp_1_1it__file.html#39b162ffe5710a1a8b70d6dc5a3ef1f3" title="Returns pointer to the underlying bfstream used.">low_level</a>() { <span class="keywordflow">return</span> <a class="code" href="classitpp_1_1it__ifile.html#c4ed010dc97e3672c7103be3fe43c902" title="Protected binary file stream.">s</a>; }
180<a name="l00278"></a>00278
181<a name="l00280"></a><a class="code" href="classitpp_1_1it__file.html#46aadac3e81e4c4b3c34df075396e372">00280</a>   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#46aadac3e81e4c4b3c34df075396e372" title="Set the precision. Low precision means floats, high means doubles.">set_low_precision</a>(<span class="keywordtype">bool</span> p = <span class="keyword">true</span>)  { <a class="code" href="classitpp_1_1it__file.html#bedb756bdeab9348b11ce20c1ab45206" title="Low precision flag. If true, use float type, otherwise double.">low_prec</a> = p; }
182<a name="l00282"></a><a class="code" href="classitpp_1_1it__file.html#5208c942741dbe66c3f28d21fd9d2342">00282</a>   <span class="keywordtype">bool</span> <a class="code" href="classitpp_1_1it__file.html#5208c942741dbe66c3f28d21fd9d2342" title="Get the precision.">get_low_precision</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classitpp_1_1it__file.html#bedb756bdeab9348b11ce20c1ab45206" title="Low precision flag. If true, use float type, otherwise double.">low_prec</a>; }
183<a name="l00283"></a>00283
184<a name="l00285"></a><a class="code" href="classitpp_1_1it__file.html#9dd6faa79f56e13272f5475b1632d713">00285</a>   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#9dd6faa79f56e13272f5475b1632d713" title="Set the name and optionally description of the next variable to be saved.">set_next_name</a>(<span class="keyword">const</span> std::string&amp; name,
185<a name="l00286"></a>00286                      <span class="keyword">const</span> std::string&amp; description = <span class="stringliteral">""</span>)
186<a name="l00287"></a>00287   { <a class="code" href="classitpp_1_1it__file.html#4672f6f9ebae02f0e3cee17f37b0b238" title="Name to be used for saving the next variable.">next_name</a> = name; <a class="code" href="classitpp_1_1it__file.html#8fbe44109467d372efe5af9ba6b56218" title="Description to be used for saving the next variable.">next_desc</a> = description; }
187<a name="l00288"></a>00288
188<a name="l00290"></a>00290   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#84dc45f97d775bd1dd45db66ea97cb72" title="Write the header for the it_file.">write_file_header</a>();
189<a name="l00292"></a>00292   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#0465dc73e25fbfeb69ee8f30a9ca6fc2" title="Write the data header for a variable, specifying the type and size of the data to...">write_data_header</a>(<span class="keyword">const</span> std::string&amp; type, uint64_t <a class="code" href="group__matrix__functions.html#g3c1a2b0972c6a8e1215eb3f76d7c7512" title="Length of vector.">size</a>);
190<a name="l00294"></a>00294   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#0465dc73e25fbfeb69ee8f30a9ca6fc2" title="Write the data header for a variable, specifying the type and size of the data to...">write_data_header</a>(<span class="keyword">const</span> std::string&amp; type, <span class="keyword">const</span> std::string&amp; name,
191<a name="l00295"></a>00295                          uint64_t <a class="code" href="group__matrix__functions.html#g3c1a2b0972c6a8e1215eb3f76d7c7512" title="Length of vector.">size</a>, <span class="keyword">const</span> std::string&amp; description = <span class="stringliteral">""</span>);
192<a name="l00296"></a>00296
193<a name="l00298"></a>00298   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#eaea70be4bff6db422b7ed4bef297acd" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keywordtype">char</span> x);
194<a name="l00300"></a>00300   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#eaea70be4bff6db422b7ed4bef297acd" title="Write a char value at the current file pointer position.">low_level_write</a>(uint64_t x);
195<a name="l00302"></a>00302   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#eaea70be4bff6db422b7ed4bef297acd" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keywordtype">bool</span> x);
196<a name="l00303"></a>00303
197<a name="l00305"></a>00305   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#eaea70be4bff6db422b7ed4bef297acd" title="Write a char value at the current file pointer position.">low_level_write</a>(<a class="code" href="classitpp_1_1bin.html" title="Binary arithmetic (boolean) class.">bin</a> x);
198<a name="l00307"></a>00307   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#eaea70be4bff6db422b7ed4bef297acd" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keywordtype">short</span> x);
199<a name="l00309"></a>00309   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#eaea70be4bff6db422b7ed4bef297acd" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keywordtype">int</span> x);
200<a name="l00311"></a>00311   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#eaea70be4bff6db422b7ed4bef297acd" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keywordtype">float</span> x);
201<a name="l00313"></a>00313   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#eaea70be4bff6db422b7ed4bef297acd" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keywordtype">double</span> x);
202<a name="l00315"></a>00315   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#eaea70be4bff6db422b7ed4bef297acd" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> std::complex&lt;float&gt;&amp; x);
203<a name="l00317"></a>00317   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#eaea70be4bff6db422b7ed4bef297acd" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> std::complex&lt;double&gt;&amp; x);
204<a name="l00318"></a>00318
205<a name="l00320"></a>00320   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#eaea70be4bff6db422b7ed4bef297acd" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> bvec&amp; v);
206<a name="l00322"></a>00322   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#eaea70be4bff6db422b7ed4bef297acd" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> svec&amp; v);
207<a name="l00324"></a>00324   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#eaea70be4bff6db422b7ed4bef297acd" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> ivec&amp; v);
208<a name="l00326"></a>00326   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#eaea70be4bff6db422b7ed4bef297acd" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> vec&amp; v);
209<a name="l00328"></a>00328   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#eaea70be4bff6db422b7ed4bef297acd" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> cvec&amp; v);
210<a name="l00329"></a>00329
211<a name="l00331"></a>00331   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#eaea70be4bff6db422b7ed4bef297acd" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> std::string&amp; str);
212<a name="l00332"></a>00332
213<a name="l00334"></a>00334   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#eaea70be4bff6db422b7ed4bef297acd" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> <a class="code" href="mat_8h.html#f90acd1af41bf2d1d8a4bb23662fff69" title="bin matrix">bmat</a>&amp; m);
214<a name="l00336"></a>00336   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#eaea70be4bff6db422b7ed4bef297acd" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> smat&amp; m);
215<a name="l00338"></a>00338   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#eaea70be4bff6db422b7ed4bef297acd" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> imat&amp; m);
216<a name="l00340"></a>00340   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#eaea70be4bff6db422b7ed4bef297acd" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> mat&amp; m);
217<a name="l00342"></a>00342   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#eaea70be4bff6db422b7ed4bef297acd" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> cmat&amp; m);
218<a name="l00343"></a>00343
219<a name="l00345"></a>00345   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#eaea70be4bff6db422b7ed4bef297acd" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Array.html" title="General array class.">Array&lt;bin&gt;</a>&amp; v);
220<a name="l00347"></a>00347   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#eaea70be4bff6db422b7ed4bef297acd" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Array.html" title="General array class.">Array&lt;short&gt;</a>&amp; v);
221<a name="l00349"></a>00349   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#eaea70be4bff6db422b7ed4bef297acd" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Array.html" title="General array class.">Array&lt;int&gt;</a>&amp; v);
222<a name="l00351"></a>00351   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#eaea70be4bff6db422b7ed4bef297acd" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Array.html" title="General array class.">Array&lt;float&gt;</a>&amp; v);
223<a name="l00353"></a>00353   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#eaea70be4bff6db422b7ed4bef297acd" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Array.html" title="General array class.">Array&lt;double&gt;</a>&amp; v);
224<a name="l00355"></a>00355   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#eaea70be4bff6db422b7ed4bef297acd" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Array.html" title="General array class.">Array</a>&lt;std::complex&lt;float&gt; &gt;&amp; v);
225<a name="l00357"></a>00357   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#eaea70be4bff6db422b7ed4bef297acd" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Array.html" title="General array class.">Array</a>&lt;std::complex&lt;double&gt; &gt;&amp; v);
226<a name="l00358"></a>00358
227<a name="l00360"></a><a class="code" href="classitpp_1_1it__file.html#6c42a54653cfac12808a3063b836edaa">00360</a>   it_file&amp; <a class="code" href="classitpp_1_1it__file.html#6c42a54653cfac12808a3063b836edaa" title="ACTION: ADD DOCUMENTATION FOR THIS MEMBER !!!!!!!!">operator&lt;&lt;</a>(<a class="code" href="classitpp_1_1it__file.html#010ddd4011e596147e687ef908920622" title="ACTION: Add documentation for this typedef.">it_manip</a> func) { <span class="keywordflow">return</span> (*func)(*this); }
228<a name="l00361"></a>00361
229<a name="l00363"></a>00363   <span class="keywordtype">void</span> <span class="keyword">remove</span>(<span class="keyword">const</span> std::string&amp; name);
230<a name="l00365"></a>00365   <span class="keywordtype">bool</span> <a class="code" href="classitpp_1_1it__file.html#a646809d5d70c5abdd12f19fa8a3ca31" title="Returns true if the variable name exists in the file.">exists</a>(<span class="keyword">const</span> std::string&amp; name);
231<a name="l00367"></a>00367   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#d4216b304d875065e0ed8f6dcc8fa987" title="Remove slack space from the file.">pack</a>();
232<a name="l00368"></a>00368
233<a name="l00369"></a>00369 <span class="keyword">protected</span>:
234<a name="l00371"></a>00371   <span class="keywordtype">void</span> <span class="keyword">remove</span>();
235<a name="l00373"></a>00373   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file.html#58d4b14b5fa8fd24168a4af8b3df7b9b" title="Write data header h at the current file position.">write_data_header_here</a>(<span class="keyword">const</span> data_header&amp; h);
236<a name="l00374"></a>00374
237<a name="l00376"></a><a class="code" href="classitpp_1_1it__file.html#bedb756bdeab9348b11ce20c1ab45206">00376</a>   <span class="keywordtype">bool</span> <a class="code" href="classitpp_1_1it__file.html#bedb756bdeab9348b11ce20c1ab45206" title="Low precision flag. If true, use float type, otherwise double.">low_prec</a>;
238<a name="l00378"></a><a class="code" href="classitpp_1_1it__file.html#4672f6f9ebae02f0e3cee17f37b0b238">00378</a>   std::string <a class="code" href="classitpp_1_1it__file.html#4672f6f9ebae02f0e3cee17f37b0b238" title="Name to be used for saving the next variable.">next_name</a>;
239<a name="l00380"></a><a class="code" href="classitpp_1_1it__file.html#8fbe44109467d372efe5af9ba6b56218">00380</a>   std::string <a class="code" href="classitpp_1_1it__file.html#8fbe44109467d372efe5af9ba6b56218" title="Description to be used for saving the next variable.">next_desc</a>;
240<a name="l00381"></a>00381
241<a name="l00382"></a>00382 <span class="keyword">private</span>:
242<a name="l00383"></a>00383   <span class="comment">// Name of the opened file. Needed by the pack() method.</span>
243<a name="l00384"></a>00384   std::string fname;
244<a name="l00385"></a>00385 };
245<a name="l00386"></a>00386
246<a name="l00387"></a>00387
247<a name="l00399"></a><a class="code" href="group__itfile.html#gf29ff24134fbfa1030aafba47a7ff646">00399</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1it__file.html" title="The IT++ file format reading and writing class.">it_file</a>&amp; <a class="code" href="group__itfile.html#gffed2f75aed5e2b7be0be6c284de081d" title="Flush operator.Flushes the data. Usage:.">flush</a>(<a class="code" href="classitpp_1_1it__file.html" title="The IT++ file format reading and writing class.">it_file</a>&amp; f)
248<a name="l00400"></a>00400 {
249<a name="l00401"></a>00401   f.<a class="code" href="classitpp_1_1it__file.html#1ca5957bb8c2d18112b758b0993b2f2a" title="Flush the data to disk.">flush</a>();
250<a name="l00402"></a>00402   <span class="keywordflow">return</span> f;
251<a name="l00403"></a>00403 }
252<a name="l00404"></a>00404
253<a name="l00418"></a><a class="code" href="classitpp_1_1Name.html">00418</a> <span class="keyword">class </span><a class="code" href="classitpp_1_1Name.html" title="Automatic naming when savingAn easy way to give a variable a name and optionally...">Name</a>
254<a name="l00419"></a>00419 {
255<a name="l00420"></a>00420 <span class="keyword">public</span>:
256<a name="l00422"></a><a class="code" href="classitpp_1_1Name.html#cc622c1a33a650b5fc8480796a12e2db">00422</a>   <a class="code" href="classitpp_1_1Name.html#cc622c1a33a650b5fc8480796a12e2db" title="Constructor.">Name</a>(<span class="keyword">const</span> std::string&amp; n, <span class="keyword">const</span> std::string&amp; d = <span class="stringliteral">""</span>): <a class="code" href="classitpp_1_1Name.html#b7853f7cf263d31a22e65ded108c62cc" title="The name string.">name</a>(n), <a class="code" href="classitpp_1_1Name.html#e99acea7fe52c157084cdca8c2f87752" title="The description.">desc</a>(d) {}
257<a name="l00424"></a><a class="code" href="classitpp_1_1Name.html#fcb38034f33dc5b6a75af9f376c20653">00424</a>   <a class="code" href="classitpp_1_1Name.html" title="Automatic naming when savingAn easy way to give a variable a name and optionally...">Name</a> &amp;<a class="code" href="classitpp_1_1Name.html#fcb38034f33dc5b6a75af9f376c20653" title="Dummy assignment operator - MSVC++ warning C4512.">operator=</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Name.html" title="Automatic naming when savingAn easy way to give a variable a name and optionally...">Name</a>&amp;) { <span class="keywordflow">return</span> *<span class="keyword">this</span>; }
258<a name="l00426"></a><a class="code" href="classitpp_1_1Name.html#b7853f7cf263d31a22e65ded108c62cc">00426</a>   <span class="keyword">const</span> std::string&amp; <a class="code" href="classitpp_1_1Name.html#b7853f7cf263d31a22e65ded108c62cc" title="The name string.">name</a>;
259<a name="l00428"></a><a class="code" href="classitpp_1_1Name.html#e99acea7fe52c157084cdca8c2f87752">00428</a>   <span class="keyword">const</span> std::string&amp; <a class="code" href="classitpp_1_1Name.html#e99acea7fe52c157084cdca8c2f87752" title="The description.">desc</a>;
260<a name="l00429"></a>00429 };
261<a name="l00430"></a>00430
262<a name="l00431"></a>00431
263<a name="l00433"></a>00433
264<a name="l00434"></a>00434
265<a name="l00436"></a><a class="code" href="group__itfile.html#g5c9710a3993e2b606299ddd7ab9d9c86">00436</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1it__ifile.html" title="The IT++ file format reading class.">it_ifile</a>&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(<a class="code" href="classitpp_1_1it__ifile.html" title="The IT++ file format reading class.">it_ifile</a>&amp; f, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Name.html" title="Automatic naming when savingAn easy way to give a variable a name and optionally...">Name</a>&amp; s)
266<a name="l00437"></a>00437 {
267<a name="l00438"></a>00438   f.<a class="code" href="classitpp_1_1it__ifile.html#2e76fee6c51f5b4392e7298f59c06643" title="Find the variable name.">seek</a>(s.<a class="code" href="classitpp_1_1Name.html#b7853f7cf263d31a22e65ded108c62cc" title="The name string.">name</a>);
268<a name="l00439"></a>00439   <span class="keywordflow">return</span> f;
269<a name="l00440"></a>00440 }
270<a name="l00441"></a>00441
271<a name="l00443"></a><a class="code" href="group__itfile.html#g7cbab295c4ef85a515b073b0823f4095">00443</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1it__file.html" title="The IT++ file format reading and writing class.">it_file</a>&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(<a class="code" href="classitpp_1_1it__file.html" title="The IT++ file format reading and writing class.">it_file</a>&amp; f, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Name.html" title="Automatic naming when savingAn easy way to give a variable a name and optionally...">Name</a>&amp; s)
272<a name="l00444"></a>00444 {
273<a name="l00445"></a>00445   f.<a class="code" href="classitpp_1_1it__file.html#9dd6faa79f56e13272f5475b1632d713" title="Set the name and optionally description of the next variable to be saved.">set_next_name</a>(s.<a class="code" href="classitpp_1_1Name.html#b7853f7cf263d31a22e65ded108c62cc" title="The name string.">name</a>, s.<a class="code" href="classitpp_1_1Name.html#e99acea7fe52c157084cdca8c2f87752" title="The description.">desc</a>);
274<a name="l00446"></a>00446   <span class="keywordflow">return</span> f;
275<a name="l00447"></a>00447 }
276<a name="l00448"></a>00448
277<a name="l00450"></a>00450 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, <span class="keywordtype">char</span>&amp; v);
278<a name="l00452"></a>00452 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile &amp;f, <span class="keywordtype">bool</span> &amp;v);
279<a name="l00453"></a>00453
280<a name="l00455"></a>00455 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, bin&amp; v);
281<a name="l00457"></a>00457 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, <span class="keywordtype">short</span>&amp; v);
282<a name="l00459"></a>00459 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, <span class="keywordtype">int</span>&amp; v);
283<a name="l00461"></a>00461 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, <span class="keywordtype">float</span>&amp; v);
284<a name="l00463"></a>00463 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, <span class="keywordtype">double</span>&amp; v);
285<a name="l00465"></a>00465 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, std::complex&lt;float&gt;&amp; v);
286<a name="l00467"></a>00467 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, std::complex&lt;double&gt;&amp; v);
287<a name="l00468"></a>00468
288<a name="l00470"></a>00470 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, bvec&amp; v);
289<a name="l00472"></a>00472 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, svec&amp; v);
290<a name="l00474"></a>00474 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, ivec&amp; v);
291<a name="l00476"></a>00476 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, vec&amp; v);
292<a name="l00478"></a>00478 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, cvec&amp; v);
293<a name="l00479"></a>00479
294<a name="l00481"></a>00481 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, std::string&amp; str);
295<a name="l00482"></a>00482
296<a name="l00484"></a>00484 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, <a class="code" href="mat_8h.html#f90acd1af41bf2d1d8a4bb23662fff69" title="bin matrix">bmat</a>&amp; m);
297<a name="l00486"></a>00486 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, smat&amp; m);
298<a name="l00488"></a>00488 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, imat&amp; m);
299<a name="l00490"></a>00490 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, mat&amp; m);
300<a name="l00492"></a>00492 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, cmat&amp; m);
301<a name="l00493"></a>00493
302<a name="l00495"></a>00495 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, Array&lt;bin&gt;&amp; v);
303<a name="l00497"></a>00497 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, Array&lt;short&gt;&amp; v);
304<a name="l00499"></a>00499 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, Array&lt;int&gt;&amp; v);
305<a name="l00501"></a>00501 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, Array&lt;float&gt;&amp; v);
306<a name="l00503"></a>00503 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, Array&lt;double&gt;&amp; v);
307<a name="l00505"></a>00505 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, Array&lt;std::complex&lt;float&gt; &gt;&amp; v);
308<a name="l00507"></a>00507 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, Array&lt;std::complex&lt;double&gt; &gt;&amp; v);
309<a name="l00508"></a>00508
310<a name="l00510"></a>00510 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, Array&lt;bvec&gt;&amp; v);
311<a name="l00512"></a>00512 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, Array&lt;svec&gt;&amp; v);
312<a name="l00514"></a>00514 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, Array&lt;ivec&gt;&amp; v);
313<a name="l00516"></a>00516 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, Array&lt;vec&gt;&amp; v);
314<a name="l00518"></a>00518 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, Array&lt;cvec&gt;&amp; v);
315<a name="l00519"></a>00519
316<a name="l00521"></a>00521 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, Array&lt;std::string&gt;&amp; v);
317<a name="l00522"></a>00522
318<a name="l00524"></a>00524 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, Array&lt;bmat&gt;&amp; v);
319<a name="l00526"></a>00526 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, Array&lt;smat&gt;&amp; v);
320<a name="l00528"></a>00528 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, Array&lt;imat&gt;&amp; v);
321<a name="l00530"></a>00530 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, Array&lt;mat&gt;&amp; v);
322<a name="l00532"></a>00532 it_ifile&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile&amp; f, Array&lt;cmat&gt;&amp; v);
323<a name="l00533"></a>00533
324<a name="l00534"></a>00534
325<a name="l00536"></a>00536 it_file&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(it_file&amp; f, <span class="keywordtype">char</span> x);
326<a name="l00538"></a>00538 it_file&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(it_file &amp;f, <span class="keywordtype">bool</span> x);
327<a name="l00539"></a>00539
328<a name="l00541"></a>00541 it_file&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(it_file&amp; f, bin x);
329<a name="l00543"></a>00543 it_file&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(it_file&amp; f, <span class="keywordtype">short</span> x);
330<a name="l00545"></a>00545 it_file&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(it_file&amp; f, <span class="keywordtype">int</span> x);
331<a name="l00547"></a>00547 it_file&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(it_file&amp; f, <span class="keywordtype">float</span> x);
332<a name="l00549"></a>00549 it_file&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(it_file&amp; f, <span class="keywordtype">double</span> x);
333<a name="l00551"></a>00551 it_file&amp; operator&lt;&lt;(it_file&amp; f, std::complex&lt;float&gt; x);
334<a name="l00553"></a>00553 it_file&amp; operator&lt;&lt;(it_file&amp; f, std::complex&lt;double&gt; x);
335<a name="l00554"></a>00554
336<a name="l00556"></a>00556 it_file&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(it_file&amp; f, <span class="keyword">const</span> bvec&amp; v);
337<a name="l00558"></a>00558 it_file&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(it_file&amp; f, <span class="keyword">const</span> svec&amp; v);
338<a name="l00560"></a>00560 it_file&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(it_file&amp; f, <span class="keyword">const</span> ivec&amp; v);
339<a name="l00562"></a>00562 it_file&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(it_file&amp; f, <span class="keyword">const</span> vec&amp; v);
340<a name="l00564"></a>00564 it_file&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(it_file&amp; f, <span class="keyword">const</span> cvec&amp; v);
341<a name="l00565"></a>00565
342<a name="l00567"></a>00567 it_file&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(it_file&amp; f, <span class="keyword">const</span> std::string&amp; str);
343<a name="l00568"></a>00568
344<a name="l00570"></a>00570 it_file&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(it_file&amp; f, <span class="keyword">const</span> <a class="code" href="mat_8h.html#f90acd1af41bf2d1d8a4bb23662fff69" title="bin matrix">bmat</a>&amp; m);
345<a name="l00572"></a>00572 it_file&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(it_file&amp; f, <span class="keyword">const</span> smat&amp; m);
346<a name="l00574"></a>00574 it_file&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(it_file&amp; f, <span class="keyword">const</span> imat&amp; m);
347<a name="l00576"></a>00576 it_file&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(it_file&amp; f, <span class="keyword">const</span> mat&amp; m);
348<a name="l00578"></a>00578 it_file&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(it_file&amp; f, <span class="keyword">const</span> cmat&amp; m);
349<a name="l00579"></a>00579
350<a name="l00581"></a>00581 it_file&amp; operator&lt;&lt;(it_file&amp; f, const Array&lt;bin&gt;&amp; v);
351<a name="l00583"></a>00583 it_file&amp; operator&lt;&lt;(it_file&amp; f, const Array&lt;short&gt;&amp; v);
352<a name="l00585"></a>00585 it_file&amp; operator&lt;&lt;(it_file&amp; f, const Array&lt;int&gt;&amp; v);
353<a name="l00587"></a>00587 it_file&amp; operator&lt;&lt;(it_file&amp; f, const Array&lt;float&gt;&amp; v);
354<a name="l00589"></a>00589 it_file&amp; operator&lt;&lt;(it_file&amp; f, const Array&lt;double&gt;&amp; v);
355<a name="l00591"></a>00591 it_file&amp; operator&lt;&lt;(it_file&amp; f, const Array&lt;std::complex&lt;float&gt; &gt;&amp; v);
356<a name="l00593"></a>00593 it_file&amp; operator&lt;&lt;(it_file&amp; f, const Array&lt;std::complex&lt;double&gt; &gt;&amp; v);
357<a name="l00594"></a>00594
358<a name="l00596"></a>00596 it_file&amp; operator&lt;&lt;(it_file&amp; f, const Array&lt;bvec&gt;&amp; v);
359<a name="l00598"></a>00598 it_file&amp; operator&lt;&lt;(it_file&amp; f, const Array&lt;svec&gt;&amp; v);
360<a name="l00600"></a>00600 it_file&amp; operator&lt;&lt;(it_file&amp; f, const Array&lt;ivec&gt;&amp; v);
361<a name="l00602"></a>00602 it_file&amp; operator&lt;&lt;(it_file&amp; f, const Array&lt;vec&gt;&amp; v);
362<a name="l00604"></a>00604 it_file&amp; operator&lt;&lt;(it_file&amp; f, const Array&lt;cvec&gt;&amp; v);
363<a name="l00605"></a>00605
364<a name="l00607"></a>00607 it_file&amp; operator&lt;&lt;(it_file&amp; f, const Array&lt;std::string&gt;&amp; v);
365<a name="l00608"></a>00608
366<a name="l00610"></a>00610 it_file&amp; operator&lt;&lt;(it_file&amp; f, const Array&lt;bmat&gt;&amp; v);
367<a name="l00612"></a>00612 it_file&amp; operator&lt;&lt;(it_file&amp; f, const Array&lt;smat&gt;&amp; v);
368<a name="l00614"></a>00614 it_file&amp; operator&lt;&lt;(it_file&amp; f, const Array&lt;imat&gt;&amp; v);
369<a name="l00616"></a>00616 it_file&amp; operator&lt;&lt;(it_file&amp; f, const Array&lt;mat&gt;&amp; v);
370<a name="l00618"></a>00618 it_file&amp; operator&lt;&lt;(it_file&amp; f, const Array&lt;cmat&gt;&amp; v);
371<a name="l00619"></a>00619
372<a name="l00621"></a>00621 <span class="keyword">template</span> &lt;<span class="keyword">class</span> T&gt;
373<a name="l00622"></a><a class="code" href="group__itfile.html#g3aca6340053abd9d3ed57fd16a471558">00622</a> <span class="keywordtype">void</span> <a class="code" href="group__itfile.html#g3aca6340053abd9d3ed57fd16a471558" title="Save the variable v in the file name.it as the name name.">it_save_var_as</a>(<span class="keyword">const</span> T&amp; v, <span class="keyword">const</span> std::string&amp; name)
374<a name="l00623"></a>00623 {
375<a name="l00624"></a>00624   <a class="code" href="classitpp_1_1it__file.html" title="The IT++ file format reading and writing class.">it_file</a> f(name + <span class="stringliteral">".it"</span>);
376<a name="l00625"></a>00625   f &lt;&lt; <a class="code" href="classitpp_1_1Name.html" title="Automatic naming when savingAn easy way to give a variable a name and optionally...">Name</a>(name) &lt;&lt; v;
377<a name="l00626"></a>00626   f.<a class="code" href="classitpp_1_1it__file.html#6e7217f36b35d6ea866e5fa8148009fa" title="Close the file.">close</a>();
378<a name="l00627"></a>00627 }
379<a name="l00628"></a>00628
380<a name="l00630"></a>00630 <span class="keyword">template</span> &lt;<span class="keyword">class</span> T&gt;
381<a name="l00631"></a><a class="code" href="group__itfile.html#g384645c2d9932cc689ec8ce36909460d">00631</a> <span class="keywordtype">void</span> <a class="code" href="group__itfile.html#g384645c2d9932cc689ec8ce36909460d" title="Load the variable v from the file name.it as the name name.">it_load_var_as</a>(T&amp; v, <span class="keyword">const</span> std::string&amp; name)
382<a name="l00632"></a>00632 {
383<a name="l00633"></a>00633   <a class="code" href="classitpp_1_1it__ifile.html" title="The IT++ file format reading class.">it_ifile</a> f(name + <span class="stringliteral">".it"</span>);
384<a name="l00634"></a>00634   f.<a class="code" href="classitpp_1_1it__ifile.html#2e76fee6c51f5b4392e7298f59c06643" title="Find the variable name.">seek</a>(name);
385<a name="l00635"></a>00635   f &gt;&gt; v;
386<a name="l00636"></a>00636   f.<a class="code" href="classitpp_1_1it__ifile.html#4185cd0423f8b63e6528c1aed78944be" title="Close the file.">close</a>();
387<a name="l00637"></a>00637 }
388<a name="l00638"></a>00638
389<a name="l00640"></a><a class="code" href="group__itfile.html#g35f2aec2508c48f64b9b9bf6d4c8d3a7">00640</a> <span class="preprocessor">#define it_save_var(v) it_save_var_as(v,#v)</span>
390<a name="l00642"></a><a class="code" href="group__itfile.html#gfa96d51227248ab9b5e52e485e304230">00642</a> <span class="preprocessor">#define it_load_var(v) it_load_var_as(v,#v)</span>
391<a name="l00643"></a>00643 <span class="preprocessor"></span>
392<a name="l00645"></a>00645
393<a name="l00646"></a>00646
394<a name="l00647"></a>00647 <span class="comment">// ----------------------------------------------------------------------</span>
395<a name="l00648"></a>00648 <span class="comment">// Deprecated implementation of IT++ file format version 2</span>
396<a name="l00649"></a>00649 <span class="comment">// Will be removed in future versions</span>
397<a name="l00650"></a>00650 <span class="comment">// ----------------------------------------------------------------------</span>
398<a name="l00651"></a>00651
399<a name="l00658"></a><a class="code" href="classitpp_1_1it__file__base__old.html">00658</a> <span class="keyword">class </span><a class="code" href="classitpp_1_1it__file__base__old.html" title="Base class for it_ifile_old and it_file_old.">it_file_base_old</a>
400<a name="l00659"></a>00659 {
401<a name="l00660"></a>00660 <span class="keyword">public</span>:
402<a name="l00661"></a>00661
403<a name="l00663"></a><a class="code" href="structitpp_1_1it__file__base__old_1_1data__header.html">00663</a>   <span class="keyword">struct </span><a class="code" href="structitpp_1_1it__file__base__old_1_1data__header.html" title="Data header structure.">data_header</a> {
404<a name="l00665"></a><a class="code" href="structitpp_1_1it__file__base__old_1_1data__header.html#8bfc869efef5c7a0888476fc5902a8f6">00665</a>     <span class="keywordtype">char</span> <a class="code" href="structitpp_1_1it__file__base__old_1_1data__header.html#8bfc869efef5c7a0888476fc5902a8f6" title="0=little, 1=big">endianity</a>;
405<a name="l00668"></a><a class="code" href="structitpp_1_1it__file__base__old_1_1data__header.html#38eb836997a4e656ded4067fb182c5f2">00668</a>     uint32_t <a class="code" href="structitpp_1_1it__file__base__old_1_1data__header.html#38eb836997a4e656ded4067fb182c5f2">hdr_bytes</a>, data_bytes, block_bytes;
406<a name="l00670"></a>00670
407<a name="l00671"></a><a class="code" href="structitpp_1_1it__file__base__old_1_1data__header.html#1c26ad6df420d5ef2d24bf553e27b5bc">00671</a>     std::string <a class="code" href="structitpp_1_1it__file__base__old_1_1data__header.html#1c26ad6df420d5ef2d24bf553e27b5bc" title="data name">name</a>;
408<a name="l00673"></a><a class="code" href="structitpp_1_1it__file__base__old_1_1data__header.html#f2d2d4a131e537cfe1249eaee7bca18a">00673</a>     std::string <a class="code" href="structitpp_1_1it__file__base__old_1_1data__header.html#f2d2d4a131e537cfe1249eaee7bca18a" title="data type, e.g. int32, float32, etc. type = &amp;quot;&amp;quot; means deleted">type</a>;
409<a name="l00674"></a>00674   };
410<a name="l00675"></a>00675
411<a name="l00676"></a>00676 <span class="keyword">protected</span>:
412<a name="l00677"></a>00677
413<a name="l00679"></a><a class="code" href="structitpp_1_1it__file__base__old_1_1file__header.html">00679</a>   <span class="keyword">struct </span><a class="code" href="structitpp_1_1it__file__base__old_1_1file__header.html" title="File header structure.">file_header</a> {
414<a name="l00681"></a><a class="code" href="structitpp_1_1it__file__base__old_1_1file__header.html#b1ddfaa3a3c46732515b57fba439ce64">00681</a>     <span class="keywordtype">char</span> <a class="code" href="structitpp_1_1it__file__base__old_1_1file__header.html#b1ddfaa3a3c46732515b57fba439ce64" title="ACTION: Add documentation.">magic</a>[4];
415<a name="l00683"></a><a class="code" href="structitpp_1_1it__file__base__old_1_1file__header.html#7ea6031e1eb3cafae13703bbb4bab28e">00683</a>     <span class="keywordtype">char</span> <a class="code" href="structitpp_1_1it__file__base__old_1_1file__header.html#7ea6031e1eb3cafae13703bbb4bab28e" title="ACTION: Add documentation.">version</a>;
416<a name="l00684"></a>00684   };
417<a name="l00686"></a><a class="code" href="classitpp_1_1it__file__base__old.html#ed581fc28c0b0db81e09a93f2f72b431">00686</a>   <span class="keyword">static</span> <span class="keywordtype">char</span> <a class="code" href="classitpp_1_1it__file__base__old.html#ed581fc28c0b0db81e09a93f2f72b431" title="ACTION: Add documentation.">file_magic</a>[4];
418<a name="l00688"></a><a class="code" href="classitpp_1_1it__file__base__old.html#e1f00758bf13ddcae8b5497ff35cc464">00688</a>   <span class="keyword">static</span> <span class="keywordtype">char</span> <a class="code" href="classitpp_1_1it__file__base__old.html#e1f00758bf13ddcae8b5497ff35cc464" title="ACTION: Add documentation.">file_version</a>;
419<a name="l00689"></a>00689 };
420<a name="l00690"></a>00690
421<a name="l00697"></a><a class="code" href="classitpp_1_1it__ifile__old.html">00697</a> <span class="keyword">class </span><a class="code" href="classitpp_1_1it__ifile__old.html" title="The old (version 2) IT++ file format reading class.">it_ifile_old</a> : <span class="keyword">public</span> <a class="code" href="classitpp_1_1it__file__base__old.html" title="Base class for it_ifile_old and it_file_old.">it_file_base_old</a>
422<a name="l00698"></a>00698 {
423<a name="l00699"></a>00699 <span class="keyword">public</span>:
424<a name="l00701"></a>00701   <a class="code" href="classitpp_1_1it__ifile__old.html#64a8173ec268105b0375c7dc54897793" title="Constructor.">it_ifile_old</a>();
425<a name="l00703"></a>00703   <span class="keyword">explicit</span> <a class="code" href="classitpp_1_1it__ifile__old.html#64a8173ec268105b0375c7dc54897793" title="Constructor.">it_ifile_old</a>(<span class="keyword">const</span> std::string&amp; name);
426<a name="l00705"></a><a class="code" href="classitpp_1_1it__ifile__old.html#6fb59abdc16e6e458d13fe29448997d8">00705</a>   <span class="keyword">virtual</span> <a class="code" href="classitpp_1_1it__ifile__old.html#6fb59abdc16e6e458d13fe29448997d8" title="Destructor.">~it_ifile_old</a>() { }
427<a name="l00707"></a>00707   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile__old.html#0bbe78a24fc063bc0f06aad3f82d237a" title="Open a file. The file must exist.">open</a>(<span class="keyword">const</span> std::string&amp; name);
428<a name="l00709"></a>00709   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile__old.html#b86a776017508c86b0351ba730fa1d01" title="Close a file.">close</a>();
429<a name="l00711"></a><a class="code" href="classitpp_1_1it__ifile__old.html#3aa10e00744f4aca6412e73807b5e151">00711</a>   <a class="code" href="classitpp_1_1bfstream.html" title="Binary in/out-file Class.">bfstream</a>&amp; <a class="code" href="classitpp_1_1it__ifile__old.html#3aa10e00744f4aca6412e73807b5e151" title="Returns pointer to the underlying bfstream used.">low_level</a>() { <span class="keywordflow">return</span> <a class="code" href="classitpp_1_1it__ifile__old.html#f9e5f6a2965e410a52187098388614c7" title="Protected binary file stream.">s</a>; }
430<a name="l00712"></a>00712
431<a name="l00714"></a>00714   <span class="keywordtype">bool</span> <a class="code" href="classitpp_1_1it__ifile__old.html#c7645062ae275b7e4fcb1e9074a5d633" title="Reads and checks the file data header. Returns true if the header is valid and false...">read_check_file_header</a>();
432<a name="l00716"></a>00716   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile__old.html#addf1dc4fb4c88c815e80b62bb1fda43" title="Read the data header and return the result in the variable h.">read_data_header</a>(data_header&amp; h);
433<a name="l00718"></a>00718   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile__old.html#aa806f971e8f224d7feb3d3fb0826461" title="Read a char value at the current file pointer position.">low_level_read</a>(<span class="keywordtype">char</span>&amp; x);
434<a name="l00720"></a>00720   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile__old.html#aa806f971e8f224d7feb3d3fb0826461" title="Read a char value at the current file pointer position.">low_level_read</a>(<a class="code" href="classitpp_1_1bin.html" title="Binary arithmetic (boolean) class.">bin</a>&amp; x);
435<a name="l00722"></a>00722   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile__old.html#aa806f971e8f224d7feb3d3fb0826461" title="Read a char value at the current file pointer position.">low_level_read</a>(<span class="keywordtype">short</span>&amp; x);
436<a name="l00724"></a>00724   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile__old.html#aa806f971e8f224d7feb3d3fb0826461" title="Read a char value at the current file pointer position.">low_level_read</a>(<span class="keywordtype">int</span>&amp; x);
437<a name="l00726"></a>00726   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile__old.html#aa806f971e8f224d7feb3d3fb0826461" title="Read a char value at the current file pointer position.">low_level_read</a>(<span class="keywordtype">float</span>&amp; x);
438<a name="l00728"></a>00728   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile__old.html#aa806f971e8f224d7feb3d3fb0826461" title="Read a char value at the current file pointer position.">low_level_read</a>(<span class="keywordtype">double</span>&amp; x);
439<a name="l00730"></a>00730   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile__old.html#aa806f971e8f224d7feb3d3fb0826461" title="Read a char value at the current file pointer position.">low_level_read</a>(std::complex&lt;float&gt;&amp; x);
440<a name="l00732"></a>00732   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile__old.html#aa806f971e8f224d7feb3d3fb0826461" title="Read a char value at the current file pointer position.">low_level_read</a>(std::complex&lt;double&gt;&amp; x);
441<a name="l00734"></a>00734   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile__old.html#2428ce763f13889d77f4ef2a97bc6b62" title="Read a vector of float values at the current file pointer position.">low_level_read_lo</a>(vec&amp; v);
442<a name="l00736"></a>00736   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile__old.html#494e682cba62620ba5fd4cea281d00e3" title="Read a vector of double values at the current file pointer position.">low_level_read_hi</a>(vec&amp; v);
443<a name="l00738"></a>00738   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile__old.html#aa806f971e8f224d7feb3d3fb0826461" title="Read a char value at the current file pointer position.">low_level_read</a>(ivec&amp; v);
444<a name="l00740"></a>00740   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile__old.html#aa806f971e8f224d7feb3d3fb0826461" title="Read a char value at the current file pointer position.">low_level_read</a>(bvec&amp; v);
445<a name="l00742"></a>00742   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile__old.html#2428ce763f13889d77f4ef2a97bc6b62" title="Read a vector of float values at the current file pointer position.">low_level_read_lo</a>(cvec&amp; v);
446<a name="l00744"></a>00744   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile__old.html#494e682cba62620ba5fd4cea281d00e3" title="Read a vector of double values at the current file pointer position.">low_level_read_hi</a>(cvec&amp; v);
447<a name="l00746"></a>00746   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile__old.html#aa806f971e8f224d7feb3d3fb0826461" title="Read a char value at the current file pointer position.">low_level_read</a>(std::string&amp; str);
448<a name="l00748"></a>00748   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile__old.html#2428ce763f13889d77f4ef2a97bc6b62" title="Read a vector of float values at the current file pointer position.">low_level_read_lo</a>(mat&amp; m);
449<a name="l00750"></a>00750   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile__old.html#494e682cba62620ba5fd4cea281d00e3" title="Read a vector of double values at the current file pointer position.">low_level_read_hi</a>(mat&amp; m);
450<a name="l00752"></a>00752   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile__old.html#aa806f971e8f224d7feb3d3fb0826461" title="Read a char value at the current file pointer position.">low_level_read</a>(imat&amp; m);
451<a name="l00754"></a>00754   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile__old.html#aa806f971e8f224d7feb3d3fb0826461" title="Read a char value at the current file pointer position.">low_level_read</a>(<a class="code" href="mat_8h.html#f90acd1af41bf2d1d8a4bb23662fff69" title="bin matrix">bmat</a>&amp; m);
452<a name="l00756"></a>00756   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile__old.html#2428ce763f13889d77f4ef2a97bc6b62" title="Read a vector of float values at the current file pointer position.">low_level_read_lo</a>(cmat&amp; m);
453<a name="l00758"></a>00758   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile__old.html#494e682cba62620ba5fd4cea281d00e3" title="Read a vector of double values at the current file pointer position.">low_level_read_hi</a>(cmat&amp; m);
454<a name="l00759"></a>00759
455<a name="l00761"></a>00761   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile__old.html#2428ce763f13889d77f4ef2a97bc6b62" title="Read a vector of float values at the current file pointer position.">low_level_read_lo</a>(<a class="code" href="classitpp_1_1Array.html" title="General array class.">Array&lt;float&gt;</a>&amp; v);
456<a name="l00763"></a>00763   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile__old.html#2428ce763f13889d77f4ef2a97bc6b62" title="Read a vector of float values at the current file pointer position.">low_level_read_lo</a>(<a class="code" href="classitpp_1_1Array.html" title="General array class.">Array&lt;double&gt;</a>&amp; v);
457<a name="l00765"></a>00765   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile__old.html#494e682cba62620ba5fd4cea281d00e3" title="Read a vector of double values at the current file pointer position.">low_level_read_hi</a>(<a class="code" href="classitpp_1_1Array.html" title="General array class.">Array&lt;double&gt;</a>&amp; v);
458<a name="l00767"></a>00767   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile__old.html#aa806f971e8f224d7feb3d3fb0826461" title="Read a char value at the current file pointer position.">low_level_read</a>(<a class="code" href="classitpp_1_1Array.html" title="General array class.">Array&lt;int&gt;</a>&amp; v);
459<a name="l00769"></a>00769   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile__old.html#aa806f971e8f224d7feb3d3fb0826461" title="Read a char value at the current file pointer position.">low_level_read</a>(<a class="code" href="classitpp_1_1Array.html" title="General array class.">Array&lt;bin&gt;</a>&amp; v);
460<a name="l00771"></a>00771   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile__old.html#2428ce763f13889d77f4ef2a97bc6b62" title="Read a vector of float values at the current file pointer position.">low_level_read_lo</a>(<a class="code" href="classitpp_1_1Array.html" title="General array class.">Array</a>&lt;std::complex&lt;float&gt; &gt;&amp; v);
461<a name="l00773"></a>00773   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile__old.html#2428ce763f13889d77f4ef2a97bc6b62" title="Read a vector of float values at the current file pointer position.">low_level_read_lo</a>(<a class="code" href="classitpp_1_1Array.html" title="General array class.">Array</a>&lt;std::complex&lt;double&gt; &gt;&amp; v);
462<a name="l00775"></a>00775   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile__old.html#494e682cba62620ba5fd4cea281d00e3" title="Read a vector of double values at the current file pointer position.">low_level_read_hi</a>(<a class="code" href="classitpp_1_1Array.html" title="General array class.">Array</a>&lt;std::complex&lt;double&gt; &gt;&amp; v);
463<a name="l00776"></a>00776
464<a name="l00778"></a>00778   <span class="keywordtype">bool</span> <a class="code" href="classitpp_1_1it__ifile__old.html#2f52c45647939c526474a11b2a61f33e" title="Find the variable name.">seek</a>(<span class="keyword">const</span> std::string&amp; name);
465<a name="l00779"></a>00779
466<a name="l00781"></a>00781   <span class="keywordtype">bool</span> <a class="code" href="classitpp_1_1it__ifile__old.html#2f52c45647939c526474a11b2a61f33e" title="Find the variable name.">seek</a>(<span class="keywordtype">int</span> n);
467<a name="l00783"></a>00783   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__ifile__old.html#7dab6c219739989e6b628c9c65fd633c" title="Get information about the current variable.">info</a>(std::string&amp; name, std::string&amp; type, <span class="keywordtype">int</span>&amp; bytes);
468<a name="l00784"></a>00784
469<a name="l00785"></a>00785 <span class="keyword">protected</span>:
470<a name="l00787"></a><a class="code" href="classitpp_1_1it__ifile__old.html#f9e5f6a2965e410a52187098388614c7">00787</a>   <a class="code" href="classitpp_1_1bfstream.html" title="Binary in/out-file Class.">bfstream</a> <a class="code" href="classitpp_1_1it__ifile__old.html#f9e5f6a2965e410a52187098388614c7" title="Protected binary file stream.">s</a>;
471<a name="l00788"></a>00788 };
472<a name="l00789"></a>00789
473<a name="l00796"></a><a class="code" href="classitpp_1_1it__file__old.html">00796</a> <span class="keyword">class </span><a class="code" href="classitpp_1_1it__file__old.html" title="The old (version 2) IT++ file format reading and writing class.">it_file_old</a> : <span class="keyword">public</span> <a class="code" href="classitpp_1_1it__ifile__old.html" title="The old (version 2) IT++ file format reading class.">it_ifile_old</a>
474<a name="l00797"></a>00797 {
475<a name="l00798"></a>00798 <span class="keyword">public</span>:
476<a name="l00800"></a>00800   <span class="keyword">typedef</span> <a class="code" href="classitpp_1_1it__file__old.html" title="The old (version 2) IT++ file format reading and writing class.">it_file_old</a>&amp; (*it_manip)(<a class="code" href="classitpp_1_1it__file__old.html" title="The old (version 2) IT++ file format reading and writing class.">it_file_old</a>&amp;);
477<a name="l00801"></a>00801
478<a name="l00803"></a>00803   <a class="code" href="classitpp_1_1it__file__old.html#5273bd4cad888ad4ea65b525ba6bb1b3" title="Constructor.">it_file_old</a>();
479<a name="l00804"></a>00804
480<a name="l00811"></a>00811   <span class="keyword">explicit</span> <a class="code" href="classitpp_1_1it__file__old.html#5273bd4cad888ad4ea65b525ba6bb1b3" title="Constructor.">it_file_old</a>(<span class="keyword">const</span> std::string&amp; name, <span class="keywordtype">bool</span> trunc = <span class="keyword">false</span>);
481<a name="l00812"></a>00812
482<a name="l00814"></a><a class="code" href="classitpp_1_1it__file__old.html#71df6431e72fd8941d35ce2626577abf">00814</a>   <span class="keyword">virtual</span> <a class="code" href="classitpp_1_1it__file__old.html#71df6431e72fd8941d35ce2626577abf" title="Destructor.">~it_file_old</a>() { }
483<a name="l00815"></a>00815
484<a name="l00822"></a>00822   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file__old.html#a1bca25a024f9726a0f64120df38f2d6" title="Open a file for reading and writing.">open</a>(<span class="keyword">const</span> std::string&amp; name, <span class="keywordtype">bool</span> trunc = <span class="keyword">false</span>);
485<a name="l00823"></a>00823
486<a name="l00825"></a>00825   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file__old.html#2fe00369e5608e595db943156670fb7f" title="Close the file.">close</a>();
487<a name="l00826"></a>00826
488<a name="l00828"></a>00828   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file__old.html#288ea7dfb4935815603422b2b50222bb" title="Flush the data to disk.">flush</a>();
489<a name="l00829"></a>00829
490<a name="l00831"></a><a class="code" href="classitpp_1_1it__file__old.html#d9df24cbf9b42aadb869bc836ffde6f8">00831</a>   <a class="code" href="classitpp_1_1bfstream.html" title="Binary in/out-file Class.">bfstream</a>&amp; <a class="code" href="classitpp_1_1it__file__old.html#d9df24cbf9b42aadb869bc836ffde6f8" title="Returns pointer to the underlying bfstream used.">low_level</a>() { <span class="keywordflow">return</span> <a class="code" href="classitpp_1_1it__ifile__old.html#f9e5f6a2965e410a52187098388614c7" title="Protected binary file stream.">s</a>; }
491<a name="l00832"></a>00832
492<a name="l00834"></a><a class="code" href="classitpp_1_1it__file__old.html#6bc16822ad74a49cceaa5635f1654c90">00834</a>   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file__old.html#6bc16822ad74a49cceaa5635f1654c90" title="Set the precision. Low precision means floats, high means doubles.">set_low_precision</a>(<span class="keywordtype">bool</span> p = <span class="keyword">true</span>)  { <a class="code" href="classitpp_1_1it__file__old.html#0ddbc0d78f4295b27a485774e114a01f" title="ACTION: Add documenation for this protected member.">low_prec</a> = p; }
493<a name="l00835"></a>00835
494<a name="l00837"></a><a class="code" href="classitpp_1_1it__file__old.html#3f1f296cbe372636e5790768a14c4e6e">00837</a>   <span class="keywordtype">bool</span> <a class="code" href="classitpp_1_1it__file__old.html#3f1f296cbe372636e5790768a14c4e6e" title="Get the precision.">get_low_precision</a>() { <span class="keywordflow">return</span> <a class="code" href="classitpp_1_1it__file__old.html#0ddbc0d78f4295b27a485774e114a01f" title="ACTION: Add documenation for this protected member.">low_prec</a>; }
495<a name="l00838"></a>00838
496<a name="l00840"></a><a class="code" href="classitpp_1_1it__file__old.html#488ab1b792ed431af00c87b23afa8171">00840</a>   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file__old.html#488ab1b792ed431af00c87b23afa8171" title="Set the name of the next name to be saved. See also the Name class.">set_next_name</a>(<span class="keyword">const</span> std::string&amp; n) { <a class="code" href="classitpp_1_1it__file__old.html#62a490cf782c623ced9d44083b9ed84b" title="ACTION: Add documenation for this protected member.">next_name</a> = n; }
497<a name="l00841"></a>00841
498<a name="l00843"></a>00843   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file__old.html#64c4dff757bff571d6107bc7748cf065" title="Write the header for the it_file_old.">write_file_header</a>();
499<a name="l00845"></a>00845   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file__old.html#04e8a35ef315b793e17c8bb91e671836" title="Write the data header for a variable, specifying the type and size of the data to...">write_data_header</a>(<span class="keyword">const</span> std::string&amp; type, uint32_t <a class="code" href="group__matrix__functions.html#g3c1a2b0972c6a8e1215eb3f76d7c7512" title="Length of vector.">size</a>);
500<a name="l00847"></a>00847   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file__old.html#04e8a35ef315b793e17c8bb91e671836" title="Write the data header for a variable, specifying the type and size of the data to...">write_data_header</a>(<span class="keyword">const</span> std::string&amp; type, <span class="keyword">const</span> std::string&amp; name,
501<a name="l00848"></a>00848                          uint32_t <a class="code" href="group__matrix__functions.html#g3c1a2b0972c6a8e1215eb3f76d7c7512" title="Length of vector.">size</a>);
502<a name="l00850"></a>00850   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file__old.html#821b36c9424f0db00fe5429ab0af14ec" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keywordtype">char</span> x);
503<a name="l00852"></a>00852   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file__old.html#821b36c9424f0db00fe5429ab0af14ec" title="Write a char value at the current file pointer position.">low_level_write</a>(<a class="code" href="classitpp_1_1bin.html" title="Binary arithmetic (boolean) class.">bin</a> x);
504<a name="l00854"></a>00854   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file__old.html#821b36c9424f0db00fe5429ab0af14ec" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keywordtype">short</span> x);
505<a name="l00856"></a>00856   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file__old.html#821b36c9424f0db00fe5429ab0af14ec" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keywordtype">int</span> x);
506<a name="l00858"></a>00858   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file__old.html#821b36c9424f0db00fe5429ab0af14ec" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keywordtype">float</span> x);
507<a name="l00860"></a>00860   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file__old.html#821b36c9424f0db00fe5429ab0af14ec" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keywordtype">double</span> x);
508<a name="l00862"></a>00862   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file__old.html#821b36c9424f0db00fe5429ab0af14ec" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> std::complex&lt;float&gt;&amp; x);
509<a name="l00864"></a>00864   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file__old.html#821b36c9424f0db00fe5429ab0af14ec" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> std::complex&lt;double&gt;&amp; x);
510<a name="l00866"></a>00866   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file__old.html#821b36c9424f0db00fe5429ab0af14ec" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> vec&amp; v);
511<a name="l00868"></a>00868   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file__old.html#821b36c9424f0db00fe5429ab0af14ec" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> ivec&amp; v);
512<a name="l00870"></a>00870   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file__old.html#821b36c9424f0db00fe5429ab0af14ec" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> bvec&amp; v);
513<a name="l00872"></a>00872   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file__old.html#821b36c9424f0db00fe5429ab0af14ec" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> cvec&amp; v);
514<a name="l00874"></a>00874   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file__old.html#821b36c9424f0db00fe5429ab0af14ec" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> std::string&amp; str);
515<a name="l00876"></a>00876   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file__old.html#821b36c9424f0db00fe5429ab0af14ec" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> mat&amp; m);
516<a name="l00878"></a>00878   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file__old.html#821b36c9424f0db00fe5429ab0af14ec" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> imat&amp; m);
517<a name="l00880"></a>00880   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file__old.html#821b36c9424f0db00fe5429ab0af14ec" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> <a class="code" href="mat_8h.html#f90acd1af41bf2d1d8a4bb23662fff69" title="bin matrix">bmat</a>&amp; m);
518<a name="l00882"></a>00882   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file__old.html#821b36c9424f0db00fe5429ab0af14ec" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> cmat&amp; m);
519<a name="l00884"></a>00884   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file__old.html#821b36c9424f0db00fe5429ab0af14ec" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Array.html" title="General array class.">Array&lt;float&gt;</a>&amp; v);
520<a name="l00886"></a>00886   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file__old.html#821b36c9424f0db00fe5429ab0af14ec" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Array.html" title="General array class.">Array&lt;double&gt;</a>&amp; v);
521<a name="l00888"></a>00888   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file__old.html#821b36c9424f0db00fe5429ab0af14ec" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Array.html" title="General array class.">Array&lt;int&gt;</a>&amp; v);
522<a name="l00890"></a>00890   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file__old.html#821b36c9424f0db00fe5429ab0af14ec" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Array.html" title="General array class.">Array&lt;bin&gt;</a>&amp; v);
523<a name="l00892"></a>00892   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file__old.html#821b36c9424f0db00fe5429ab0af14ec" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Array.html" title="General array class.">Array</a>&lt;std::complex&lt;float&gt; &gt;&amp; v);
524<a name="l00894"></a>00894   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file__old.html#821b36c9424f0db00fe5429ab0af14ec" title="Write a char value at the current file pointer position.">low_level_write</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Array.html" title="General array class.">Array</a>&lt;std::complex&lt;double&gt; &gt;&amp; v);
525<a name="l00895"></a>00895
526<a name="l00897"></a><a class="code" href="classitpp_1_1it__file__old.html#cf16e84c35f1d36b6c75d36ad4724369">00897</a>   it_file_old&amp; <a class="code" href="classitpp_1_1it__file__old.html#cf16e84c35f1d36b6c75d36ad4724369" title="ACTION: ADD DOCUMENTATION FOR THIS MEMBER !!!!!!!!">operator&lt;&lt;</a>(<a class="code" href="classitpp_1_1it__file__old.html#ff958bcf95a7363cac7cf623f99ea5bf" title="ACTION: Add documentation for this typedef.">it_manip</a> func) { <span class="keywordflow">return</span> (*func)(*this); }
527<a name="l00898"></a>00898
528<a name="l00900"></a>00900   <span class="keywordtype">void</span> <span class="keyword">remove</span>(<span class="keyword">const</span> std::string&amp; name);
529<a name="l00902"></a>00902   <span class="keywordtype">bool</span> <a class="code" href="classitpp_1_1it__file__old.html#450b647401b53b7173684b86916d2224" title="Returns true if the variable name exists in the file.">exists</a>(<span class="keyword">const</span> std::string&amp; name);
530<a name="l00904"></a>00904   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file__old.html#c9886d901bdb5bc07fc21d7d50c40c69" title="Remove slack space from the file.">pack</a>();
531<a name="l00905"></a>00905
532<a name="l00906"></a>00906 <span class="keyword">protected</span>:
533<a name="l00908"></a>00908   <span class="keywordtype">void</span> <span class="keyword">remove</span>();
534<a name="l00910"></a>00910   <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1it__file__old.html#bef55bb2ae86238245128a8a67135ea7" title="ACTION: Add documenation for this protected member.">write_data_header_here</a>(<span class="keyword">const</span> data_header&amp; h);
535<a name="l00911"></a>00911
536<a name="l00913"></a><a class="code" href="classitpp_1_1it__file__old.html#0ddbc0d78f4295b27a485774e114a01f">00913</a>   <span class="keywordtype">bool</span> <a class="code" href="classitpp_1_1it__file__old.html#0ddbc0d78f4295b27a485774e114a01f" title="ACTION: Add documenation for this protected member.">low_prec</a>;
537<a name="l00915"></a><a class="code" href="classitpp_1_1it__file__old.html#62a490cf782c623ced9d44083b9ed84b">00915</a>   std::string <a class="code" href="classitpp_1_1it__file__old.html#62a490cf782c623ced9d44083b9ed84b" title="ACTION: Add documenation for this protected member.">next_name</a>;
538<a name="l00916"></a>00916 };
539<a name="l00917"></a>00917
540<a name="l00930"></a><a class="code" href="group__itfile.html#gffed2f75aed5e2b7be0be6c284de081d">00930</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1it__file__old.html" title="The old (version 2) IT++ file format reading and writing class.">it_file_old</a>&amp; <a class="code" href="group__itfile.html#gffed2f75aed5e2b7be0be6c284de081d" title="Flush operator.Flushes the data. Usage:.">flush</a>(<a class="code" href="classitpp_1_1it__file__old.html" title="The old (version 2) IT++ file format reading and writing class.">it_file_old</a>&amp; f)
541<a name="l00931"></a>00931 {
542<a name="l00932"></a>00932   f.<a class="code" href="classitpp_1_1it__file__old.html#288ea7dfb4935815603422b2b50222bb" title="Flush the data to disk.">flush</a>();
543<a name="l00933"></a>00933   <span class="keywordflow">return</span> f;
544<a name="l00934"></a>00934 }
545<a name="l00935"></a>00935
546<a name="l00936"></a>00936
547<a name="l00938"></a>00938
548<a name="l00939"></a>00939
549<a name="l00941"></a><a class="code" href="group__itfile.html#g25221657100289e869e5a3b4882ba739">00941</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1it__ifile__old.html" title="The old (version 2) IT++ file format reading class.">it_ifile_old</a>&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(<a class="code" href="classitpp_1_1it__ifile__old.html" title="The old (version 2) IT++ file format reading class.">it_ifile_old</a>&amp; f, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Name.html" title="Automatic naming when savingAn easy way to give a variable a name and optionally...">Name</a>&amp; s)
550<a name="l00942"></a>00942 {
551<a name="l00943"></a>00943   f.<a class="code" href="classitpp_1_1it__ifile__old.html#2f52c45647939c526474a11b2a61f33e" title="Find the variable name.">seek</a>(s.<a class="code" href="classitpp_1_1Name.html#b7853f7cf263d31a22e65ded108c62cc" title="The name string.">name</a>);
552<a name="l00944"></a>00944   <span class="keywordflow">return</span> f;
553<a name="l00945"></a>00945 }
554<a name="l00946"></a>00946
555<a name="l00948"></a><a class="code" href="group__itfile.html#g36fc5db5c8404636dcf444b47dccd6f3">00948</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1it__file__old.html" title="The old (version 2) IT++ file format reading and writing class.">it_file_old</a>&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(<a class="code" href="classitpp_1_1it__file__old.html" title="The old (version 2) IT++ file format reading and writing class.">it_file_old</a>&amp; f, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Name.html" title="Automatic naming when savingAn easy way to give a variable a name and optionally...">Name</a>&amp; s)
556<a name="l00949"></a>00949 {
557<a name="l00950"></a>00950   f.<a class="code" href="classitpp_1_1it__file__old.html#488ab1b792ed431af00c87b23afa8171" title="Set the name of the next name to be saved. See also the Name class.">set_next_name</a>(s.<a class="code" href="classitpp_1_1Name.html#b7853f7cf263d31a22e65ded108c62cc" title="The name string.">name</a>);
558<a name="l00951"></a>00951   <span class="keywordflow">return</span> f;
559<a name="l00952"></a>00952 }
560<a name="l00953"></a>00953
561<a name="l00955"></a>00955 it_ifile_old&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile_old&amp; f, <span class="keywordtype">char</span>&amp; v);
562<a name="l00956"></a>00956
563<a name="l00958"></a>00958 it_ifile_old&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile_old&amp; f, bin&amp; v);
564<a name="l00959"></a>00959
565<a name="l00961"></a>00961 it_ifile_old&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile_old&amp; f, <span class="keywordtype">short</span>&amp; v);
566<a name="l00962"></a>00962
567<a name="l00964"></a>00964 it_ifile_old&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile_old&amp; f, <span class="keywordtype">int</span>&amp; v);
568<a name="l00965"></a>00965
569<a name="l00967"></a>00967 it_ifile_old&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile_old&amp; f, <span class="keywordtype">float</span>&amp; v);
570<a name="l00968"></a>00968
571<a name="l00970"></a>00970 it_ifile_old&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile_old&amp; f, <span class="keywordtype">double</span>&amp; v);
572<a name="l00971"></a>00971
573<a name="l00973"></a>00973 it_ifile_old&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile_old&amp; f, std::complex&lt;float&gt;&amp; v);
574<a name="l00974"></a>00974
575<a name="l00976"></a>00976 it_ifile_old&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile_old&amp; f, std::complex&lt;double&gt;&amp; v);
576<a name="l00977"></a>00977
577<a name="l00979"></a>00979 it_ifile_old&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile_old&amp; f, vec&amp; v);
578<a name="l00980"></a>00980
579<a name="l00982"></a>00982 it_ifile_old&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile_old&amp; f, ivec&amp; v);
580<a name="l00983"></a>00983
581<a name="l00985"></a>00985 it_ifile_old&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile_old&amp; f, bvec&amp; v);
582<a name="l00986"></a>00986
583<a name="l00988"></a>00988 it_ifile_old&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile_old&amp; f, cvec&amp; v);
584<a name="l00989"></a>00989
585<a name="l00991"></a>00991 it_ifile_old&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile_old&amp; f, std::string&amp; str);
586<a name="l00992"></a>00992
587<a name="l00994"></a>00994 it_ifile_old&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile_old&amp; f, mat&amp; m);
588<a name="l00995"></a>00995
589<a name="l00997"></a>00997 it_ifile_old&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile_old&amp; f, imat&amp; m);
590<a name="l00998"></a>00998
591<a name="l01000"></a>01000 it_ifile_old&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile_old&amp; f, <a class="code" href="mat_8h.html#f90acd1af41bf2d1d8a4bb23662fff69" title="bin matrix">bmat</a>&amp; m);
592<a name="l01001"></a>01001
593<a name="l01003"></a>01003 it_ifile_old&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile_old&amp; f, cmat&amp; m);
594<a name="l01004"></a>01004
595<a name="l01006"></a>01006 it_ifile_old&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile_old&amp; f, Array&lt;float&gt;&amp; v);
596<a name="l01007"></a>01007
597<a name="l01009"></a>01009 it_ifile_old&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile_old&amp; f, Array&lt;double&gt;&amp; v);
598<a name="l01010"></a>01010
599<a name="l01012"></a>01012 it_ifile_old&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile_old&amp; f, Array&lt;int&gt;&amp; v);
600<a name="l01013"></a>01013
601<a name="l01015"></a>01015 it_ifile_old&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile_old&amp; f, Array&lt;bin&gt;&amp; v);
602<a name="l01016"></a>01016
603<a name="l01018"></a>01018 it_ifile_old&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile_old&amp; f, Array&lt;std::complex&lt;float&gt; &gt;&amp; v);
604<a name="l01019"></a>01019
605<a name="l01021"></a>01021 it_ifile_old&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile_old&amp; f, Array&lt;std::complex&lt;double&gt; &gt;&amp; v);
606<a name="l01022"></a>01022
607<a name="l01024"></a>01024 it_ifile_old&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile_old&amp; f, Array&lt;vec&gt;&amp; v);
608<a name="l01025"></a>01025
609<a name="l01027"></a>01027 it_ifile_old&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile_old&amp; f, Array&lt;ivec&gt;&amp; v);
610<a name="l01028"></a>01028
611<a name="l01030"></a>01030 it_ifile_old&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile_old&amp; f, Array&lt;bvec&gt;&amp; v);
612<a name="l01031"></a>01031
613<a name="l01033"></a>01033 it_ifile_old&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile_old&amp; f, Array&lt;cvec&gt;&amp; v);
614<a name="l01034"></a>01034
615<a name="l01036"></a>01036 it_ifile_old&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile_old&amp; f, Array&lt;std::string&gt;&amp; v);
616<a name="l01037"></a>01037
617<a name="l01039"></a>01039 it_ifile_old&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile_old&amp; f, Array&lt;mat&gt;&amp; v);
618<a name="l01040"></a>01040
619<a name="l01042"></a>01042 it_ifile_old&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile_old&amp; f, Array&lt;imat&gt;&amp; v);
620<a name="l01043"></a>01043
621<a name="l01045"></a>01045 it_ifile_old&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile_old&amp; f, Array&lt;bmat&gt;&amp; v);
622<a name="l01046"></a>01046
623<a name="l01048"></a>01048 it_ifile_old&amp; <a class="code" href="group__fixed.html#gbd223815e04b623a044d98fd366f3a0f" title="Input bit representation and, optionally, the shift.">operator&gt;&gt;</a>(it_ifile_old&amp; f, Array&lt;cmat&gt;&amp; v);
624<a name="l01049"></a>01049
625<a name="l01050"></a>01050
626<a name="l01052"></a>01052 it_file_old&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(it_file_old&amp; f, <span class="keywordtype">char</span> x);
627<a name="l01053"></a>01053
628<a name="l01055"></a>01055 it_file_old&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(it_file_old&amp; f, bin x);
629<a name="l01056"></a>01056
630<a name="l01058"></a>01058 it_file_old&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(it_file_old&amp; f, <span class="keywordtype">short</span> x);
631<a name="l01059"></a>01059
632<a name="l01061"></a>01061 it_file_old&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(it_file_old&amp; f, <span class="keywordtype">int</span> x);
633<a name="l01062"></a>01062
634<a name="l01064"></a>01064 it_file_old&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(it_file_old&amp; f, <span class="keywordtype">float</span> x);
635<a name="l01065"></a>01065
636<a name="l01067"></a>01067 it_file_old&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(it_file_old&amp; f, <span class="keywordtype">double</span> x);
637<a name="l01068"></a>01068
638<a name="l01070"></a>01070 it_file_old&amp; operator&lt;&lt;(it_file_old&amp; f, std::complex&lt;float&gt; x);
639<a name="l01071"></a>01071
640<a name="l01073"></a>01073 it_file_old&amp; operator&lt;&lt;(it_file_old&amp; f, std::complex&lt;double&gt; x);
641<a name="l01074"></a>01074
642<a name="l01076"></a>01076 it_file_old&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(it_file_old&amp; f, <span class="keyword">const</span> vec&amp; v);
643<a name="l01077"></a>01077
644<a name="l01079"></a>01079 it_file_old&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(it_file_old&amp; f, <span class="keyword">const</span> ivec&amp; v);
645<a name="l01080"></a>01080
646<a name="l01082"></a>01082 it_file_old&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(it_file_old&amp; f, <span class="keyword">const</span> bvec&amp; v);
647<a name="l01083"></a>01083
648<a name="l01085"></a>01085 it_file_old&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(it_file_old&amp; f, <span class="keyword">const</span> cvec&amp; v);
649<a name="l01086"></a>01086
650<a name="l01088"></a>01088 it_file_old&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(it_file_old&amp; f, <span class="keyword">const</span> std::string&amp; str);
651<a name="l01089"></a>01089
652<a name="l01091"></a>01091 it_file_old&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(it_file_old&amp; f, <span class="keyword">const</span> mat&amp; m);
653<a name="l01092"></a>01092
654<a name="l01094"></a>01094 it_file_old&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(it_file_old&amp; f, <span class="keyword">const</span> imat&amp; m);
655<a name="l01095"></a>01095
656<a name="l01097"></a>01097 it_file_old&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(it_file_old&amp; f, <span class="keyword">const</span> <a class="code" href="mat_8h.html#f90acd1af41bf2d1d8a4bb23662fff69" title="bin matrix">bmat</a>&amp; m);
657<a name="l01098"></a>01098
658<a name="l01100"></a>01100 it_file_old&amp; <a class="code" href="group__fixed.html#g46e967850e616363aeabd2cda5bcc159" title="Set output mode.">operator&lt;&lt;</a>(it_file_old&amp; f, <span class="keyword">const</span> cmat&amp; m);
659<a name="l01101"></a>01101
660<a name="l01103"></a>01103 it_file_old&amp; operator&lt;&lt;(it_file_old&amp; f, const Array&lt;float&gt;&amp; v);
661<a name="l01104"></a>01104
662<a name="l01106"></a>01106 it_file_old&amp; operator&lt;&lt;(it_file_old&amp; f, const Array&lt;double&gt;&amp; v);
663<a name="l01107"></a>01107
664<a name="l01109"></a>01109 it_file_old&amp; operator&lt;&lt;(it_file_old&amp; f, const Array&lt;int&gt;&amp; v);
665<a name="l01110"></a>01110
666<a name="l01112"></a>01112 it_file_old&amp; operator&lt;&lt;(it_file_old&amp; f, const Array&lt;bin&gt;&amp; v);
667<a name="l01113"></a>01113
668<a name="l01115"></a>01115 it_file_old&amp; operator&lt;&lt;(it_file_old&amp; f, const Array&lt;std::complex&lt;float&gt; &gt;&amp; v);
669<a name="l01116"></a>01116
670<a name="l01118"></a>01118 it_file_old&amp; operator&lt;&lt;(it_file_old&amp; f, const Array&lt;std::complex&lt;double&gt; &gt;&amp; v);
671<a name="l01119"></a>01119
672<a name="l01121"></a>01121 it_file_old&amp; operator&lt;&lt;(it_file_old&amp; f, const Array&lt;vec&gt;&amp; v);
673<a name="l01122"></a>01122
674<a name="l01124"></a>01124 it_file_old&amp; operator&lt;&lt;(it_file_old&amp; f, const Array&lt;ivec&gt;&amp; v);
675<a name="l01125"></a>01125
676<a name="l01127"></a>01127 it_file_old&amp; operator&lt;&lt;(it_file_old&amp; f, const Array&lt;bvec&gt;&amp; v);
677<a name="l01128"></a>01128
678<a name="l01130"></a>01130 it_file_old&amp; operator&lt;&lt;(it_file_old&amp; f, const Array&lt;cvec&gt;&amp; v);
679<a name="l01131"></a>01131
680<a name="l01133"></a>01133 it_file_old&amp; operator&lt;&lt;(it_file_old&amp; f, const Array&lt;std::string&gt;&amp; v);
681<a name="l01134"></a>01134
682<a name="l01136"></a>01136 it_file_old&amp; operator&lt;&lt;(it_file_old&amp; f, const Array&lt;mat&gt;&amp; v);
683<a name="l01137"></a>01137
684<a name="l01139"></a>01139 it_file_old&amp; operator&lt;&lt;(it_file_old&amp; f, const Array&lt;imat&gt;&amp; v);
685<a name="l01140"></a>01140
686<a name="l01142"></a>01142 it_file_old&amp; operator&lt;&lt;(it_file_old&amp; f, const Array&lt;bmat&gt;&amp; v);
687<a name="l01143"></a>01143
688<a name="l01145"></a>01145 it_file_old&amp; operator&lt;&lt;(it_file_old&amp; f, const Array&lt;cmat&gt;&amp; v);
689<a name="l01146"></a>01146
690<a name="l01148"></a>01148
691<a name="l01149"></a>01149 <span class="comment">// ----------------------------------------------------------------------</span>
692<a name="l01150"></a>01150 <span class="comment">// End of the deprecated implementation of IT++ file format version 2</span>
693<a name="l01151"></a>01151 <span class="comment">// Will be removed in future versions</span>
694<a name="l01152"></a>01152 <span class="comment">// ----------------------------------------------------------------------</span>
695<a name="l01153"></a>01153
696<a name="l01154"></a>01154 } <span class="comment">// namespace itpp</span>
697<a name="l01155"></a>01155
698<a name="l01156"></a>01156 <span class="preprocessor">#endif // #ifndef IT_FILE_H</span>
699<a name="l01157"></a>01157 <span class="preprocessor"></span>
700</pre></div></div>
701<hr size="1"><address style="text-align: right;"><small>Generated on Tue Jun 2 10:02:11 2009 for mixpp by&nbsp;
702<a href="http://www.doxygen.org/index.html">
703<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
704</body>
705</html>
Note: See TracBrowser for help on using the browser.