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