45 #ifndef TF_SFFOSTREAM_H_VERSION 47 #define TF_SFFOSTREAM_H_VERSION \ 48 "TF_SFFOSTREAM_H V1.4" 121 Terror(
"ERROR (~SFFostream): no waveform!");
146 Mos << OutputWaveform<Tseries>(Mseries,
152 cout <<
"DEBUG (SFFostream::write): trace written:" << endl;
153 cout <<
" " << this->traceheader().wid2().line().substr(0,70)
155 cout <<
" index range: " << Mseries.f() <<
" - " 156 << Mseries.l() <<
"; ";
157 cout <<
"some values: " << Mseries(Mseries.f())
158 <<
", " << Mseries(Mseries.f()+1)
159 <<
", " << Mseries(Mseries.f()+2)
160 <<
", " << Mseries(Mseries.f()+3)
164 if (Mdebug) { cout <<
"DEBUG (SFFostream::write): finished" << endl; }
178 Mseries=series.copyout();
182 cout <<
"DEBUG (SFFostream::setseries) finished:" << endl;
183 cout <<
" index range: " << Mseries.f() <<
" - " 184 << Mseries.l() << endl;
185 cout <<
" some values: " << Mseries(Mseries.f())
186 <<
", " << Mseries(Mseries.f()+1)
187 <<
", " << Mseries(Mseries.f()+2)
188 <<
", " << Mseries(Mseries.f()+3)
202 { os.
setwid2(wid2);
return(os); }
206 { os.
setinfo(info);
return(os); }
210 { os.
setfree(free);
return(os); }
214 { os.
setsrce(srce);
return(os); }
226 #endif // TF_SFFOSTREAM_H_VERSION (includeguard) void setfileheader(const FileHeader &)
void setfree(const FREE &)
void setwid2(const WID2 &)
void setnormmode(const Enormmode &)
void settraceheader(const TraceHeader &)
void setseries(const Tcseries &series)
finish previous trace and start with a new one
helper::ostream_manager Tbase
void setinfo(const INFO &)
TraceHeader traceheader() const
void flushheader()
flush file header to output (if not done yet)
const Enormmode & normmode() const
SFFostream(std::ostream &os, const bool &debug=false)
void setsrce(const SRCE &)
const FileHeader & fileheader() const
ostream_manager(std::ostream &os, const bool &debug=false)