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

◆ write()

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

Definition at line 806 of file sffxx.cc.

References sff::STAT::hasfree, sff::STAT::hassrce, sff::STAT::line(), sff::SRCE::line(), Mfree, Msrce, Mstat, and sff::FREE::write().

Referenced by sff::operator<<().

807  {
808  os << Mstat.line();
809  if (Mstat.hasfree) { Mfree.write(os); }
810  if (Mstat.hassrce) { os << Msrce.line(); }
811  }
void write(std::ostream &os) const
Definition: sffxx.cc:565
std::string line() const
Definition: sffxx.cc:357
FREE Mfree
Definition: sffxx.h:262
SRCE Msrce
Definition: sffxx.h:263
STAT Mstat
Definition: sffxx.h:261
bool hasfree
Definition: sffxx.h:149
std::string line() const
Definition: sffxx.cc:218
bool hassrce
Definition: sffxx.h:150
Here is the call graph for this function:
Here is the caller graph for this function: