TSIO++ Time series input/output

◆ readDSFF() [3/8]

DFile ts::sff::readDSFF ( const tfxx::cmdline::Filename &  filename,
const bool &  verbose = false,
Ttracelistkey  tracekey = "t",
const std::string &  format = datrw::anyID(datrw::Fsff) 
)

read complete SFF file with trace selection

read complete SFF file with trace selection.

Read a complete data file, but take selection from the structure of command line arguments.

Returns
structure that contains file data together with command line arguments (here: only file name)
Parameters
filenameinput file name together with command line options and arguments
verboseselect verbosity
tracekeykey string for command line option that defines trace selection
formatdata format to be read

Definition at line 126 of file cmdlinefiles.cc.

References readDSFF().

130  {
131  Ttracelist selection=
132  tfxx::string::rangelist<Ttracelist::Tvalue>(filename.value(tracekey));
133  DFile retval=readDSFF(filename.name, selection, verbose, format);
134  retval.arguments=filename;
135  return(retval);
136  }
tfxx::RangeList< int > Ttracelist
type of trace selection list.
Definition: cmdlinefiles.h:83
TDFileList readDSFF(const tfxx::cmdline::Tparsed &flist, const bool &verbose, Ttracelistkey tracekey, const datrw::Eformat &format)
read complete list of SFF files with trace selection
Here is the call graph for this function: