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

◆ IDmatch()

template<class C >
bool sff::helper::IDmatch ( const std::string &  line,
const bool &  debug = false 
)

Check GSE identifier at beginning of line.

Definition at line 110 of file sffxx.cc.

111  {
112  if (debug)
113  {
114  std::cerr << "DEBUG: IDmatch: "
115  << line.substr(0,4) << "=?=" << std::string(C::LINEID)
116  << std::endl;
117  }
118  return(line.substr(0,4)==std::string(C::LINEID));
119  }