fillSourceList.cc
Go to the documentation of this file.
2 
3 void
4 art::detail::fillSourceList(std::istream& is,
5  std::vector<std::string>& source_list)
6 {
7  for (std::string line; std::getline(is, line);) {
8  auto const comment_start = line.find('#');
9  if (comment_start != std::string::npos)
10  line.erase(comment_start);
11  if (!line.empty())
12  source_list.push_back(line);
13  }
14 }
std::string string
Definition: nybbler.cc:12
void fillSourceList(std::istream &ifs, std::vector< std::string > &source_list)
void line(double t, double *p, double &x, double &y, double &z)