DATRW++ library: seismic data I/O with multiple formats

◆ pline()

void datrw::tsoft::pline ( std::ostream &  os,
const std::string &  s1,
const std::string &  s2,
const std::string &  s3,
const std::string &  s4,
const std::string &  s5,
const std::string &  s6,
const std::string &  s7 
)

helper function: formatted output

Definition at line 215 of file channeltranslation.cc.

References pfield().

Referenced by reporttranslation().

223  {
224  pfield(os, s1, 8);
225  pfield(os, s2, 10);
226  pfield(os, s3, 8);
227  os << " --> ";
228  pfield(os, s4, 7);
229  pfield(os, s5, 7);
230  pfield(os, s6, 10);
231  pfield(os, s7, 5);
232  os << std::endl;
233  } // void pline
void pfield(std::ostream &os, const std::string &s, const int &w)
helper function: print fixed width field
Here is the call graph for this function:
Here is the caller graph for this function: