44 for (
unsigned int i = 0; i < paths.size(); i++) {
45 std::ifstream file(paths[i].c_str());
49 throw std::invalid_argument(
"The File could not be opened");
57 std::ifstream file(path.c_str());
61 throw std::invalid_argument(
"The File could not be opened");
71 std::vector<Message> messages;
77 stream.ignore(std::numeric_limits<std::streamsize>::max(),
'\n');
79 messages.push_back(msg);
81 }
while (!stream.eof());
void parseStream(std::istream &stream)
DBCIterator(const std::vector< std::string > &paths)