Spectra
fileLocation.h
1 
9 #ifndef SRC_FILELOCATION_H
10 #define SRC_FILELOCATION_H
11 
12 
13 #include <string>
14 
15 class fileLocation {
16 
17 private:
18  int line;
19  int column;
20  std::string fileName;
21 public:
22 
23  fileLocation(int line, int column, const std::string &fileName);
24 
25  fileLocation();
26 
27  const std::string &getFileName() const;
28 
29  std::string printLocation() const;
30 
31  int getLine() const;
32 
33  int getColumn() const;
34 
35 };
36 
37 
38 #endif //SRC_FILELOCATION_H
Definition: fileLocation.h:15