dataflow_source_function-snippet.h 143 Bytes
Newer Older
1
bool SourceFunction(std::string & str) {
2 3 4 5 6 7
  if (!file.eof()) {
    std::getline(file, str);
    return true;
  } else {
    return false;
  }
8
}