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

◆ verbose() [6/8]

void sff::verbose ( std::ostream &  os,
const STAT stat 
)

Definition at line 236 of file sffverbose.cc.

References sff::STAT::hasfree, sff::STAT::hassrce, sff::STAT::timestamp, and sff::helper::yesno().

237  {
238  sff::helper::MyFormat format;
239  os << "contents of SFF STAT line:" << std::endl;
240  os << " time stamp: "
241  << stat.timestamp << std::endl;
242  os << " file has FREE block (code):" << format(4,3);
243  helper::yesno(os, stat.hasfree);
244  os << " file has SRCE line (code):" << format(5,3);
245  helper::yesno(os, stat.hassrce);
246  } // void verbose(std::ostream& os, const STAT& stat)
void yesno(std::ostream &os, const bool &f)
Definition: sffverbose.cc:83
Here is the call graph for this function: