All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
LineFileReader.h
Go to the documentation of this file.
1 /*
2  * LineFileReader.h
3  *
4  * Created on: 04.10.2013
5  * Author: cls
6  */
7 
8 #ifndef LINEFILEREADER_H_
9 #define LINEFILEREADER_H_
10 
11 #include <fstream>
12 #include <iostream>
13 #include <string>
14 #include <vector>
15 
16 namespace NetworKit {
17 
23 public:
24  std::vector<std::string> read(std::string path);
25 };
26 
27 } /* namespace NetworKit */
28 #endif /* LINEFILEREADER_H_ */
std::vector< std::string > read(std::string path)
Definition: LineFileReader.cpp:11
Reads a file and puts each line as a string into a vector.
Definition: LineFileReader.h:22