44 #define DATRW_ISFF_CC_VERSION \ 65 Tbase(is, true, true, true, debug)
67 ::sff::FileHeader fileheader(
Mis,
debug);
68 if (fileheader.hasfree()) { this->
setfilefree(fileheader.free()); }
69 if (fileheader.hassrce()) { this->
setsrce(fileheader.srce()); }
80 <<
"DEBUG (isffstream::dseries): read waveform" 83 ::sff::InputWaveform<Tdseries> waveform(
Mis);
86 { std::cerr <<
"DEBUG (isffstream::dseries): done" << std::endl; }
87 return(waveform.series());
98 <<
"DEBUG (isffstream::fseries): read waveform" 101 ::sff::InputWaveform<Tfseries> waveform(
Mis);
104 { std::cerr <<
"DEBUG (isffstream::fseries): done" << std::endl; }
105 return(waveform.series());
116 <<
"DEBUG (isffstream::iseries): read waveform" 119 ::sff::InputWaveform<Tiseries> waveform(
Mis);
122 { std::cerr <<
"DEBUG (isffstream::iseries): done" << std::endl; }
123 return(waveform.series());
134 <<
"DEBUG (isffstream::skipseries): skipped waveform" 137 ::sff::SkipWaveform skip(
Mis);
139 { std::cerr <<
"DEBUG (isffstream::skipseries): done" << std::endl; }
148 if (header.hasfree()) { this->
settracefree(header.free()); }
149 if (header.hasinfo()) { this->
setinfo(header.info()); }
150 if (header.last()) { this->
setlast(); }
void setinfo(const sff::INFO &info)
aff::Series< float > Tfseries
void setfilefree(const sff::FREE &free)
void setsrce(const sff::SRCE &srce)
const char *const streamID
Format properties.
read sff data (prototypes)
void settraceheader(const ::sff::TraceHeader &header)
aff::Series< double > Tdseries
void setwid2(const sff::WID2 &wid2)
bool debug()
indicate debug mode
Root namespace of library.
virtual Tdseries dseries()
void settracefree(const sff::FREE &free)
aff::Series< int > Tiseries
static const std::ios_base::openmode openmode
virtual Tfseries fseries()
virtual Tiseries iseries()
const bool isbinary
Format properties.
virtual void skipseries()
isffstream(std::istream &is, const bool &debug=false)