SFF++ library: reading and writing SFF from C++

◆ write()

void sff::FREE::write ( std::ostream &  os) const

Definition at line 565 of file sffxx.cc.

References LINEID, and lines.

Referenced by sff::TraceHeader::readtrailer(), test_line_functions(), sff::FileHeader::write(), and sff::TraceHeader::writetrailer().

566  {
567  os << FREE::LINEID << " " << std::endl;
568  for(Tlines::const_iterator I=lines.begin();
569  I != lines.end(); I++)
570  { os << *I << std::endl; }
571  os << FREE::LINEID << " " << std::endl;
572  } // void FREE::write(std::ostream& os) const
Tlines lines
Definition: sffxx.h:163
static const char *const LINEID
Definition: sffxx.h:155
Here is the caller graph for this function: