Storm 1.10.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
LocatedInformation.h
Go to the documentation of this file.
1#ifndef STORM_STORAGE_PRISM_LOCATEDINFORMATION_H_
2#define STORM_STORAGE_PRISM_LOCATEDINFORMATION_H_
3
4#include <cstdint>
5#include <string>
6
7namespace storm {
8namespace prism {
10 public:
17 LocatedInformation(std::string const& filename, uint_fast64_t lineNumber);
18
19 // Create default implementations of constructors/assignment.
20 LocatedInformation() = default;
21 LocatedInformation(LocatedInformation const& other) = default;
25
31 std::string const& getFilename() const;
32
38 void setFilename(std::string const& filename);
39
45 uint_fast64_t getLineNumber() const;
46
52 void setLineNumber(uint_fast64_t lineNumber);
53
54 private:
55 // The file in which the piece of information was found.
56 std::string filename;
57
58 // The line in the file in which the piece of information was found.
59 uint_fast64_t lineNumber;
60};
61} // namespace prism
62} // namespace storm
63
64#endif /* STORM_STORAGE_PRISM_LOCATEDINFORMATION_H_ */
LocatedInformation(LocatedInformation &&other)=default
LocatedInformation & operator=(LocatedInformation const &other)=default
uint_fast64_t getLineNumber() const
Retrieves the line number in which the information was found.
std::string const & getFilename() const
Retrieves the name of the file in which the information was found.
void setFilename(std::string const &filename)
Sets the filename of this information.
void setLineNumber(uint_fast64_t lineNumber)
Sets the line number of this information.
LocatedInformation(LocatedInformation const &other)=default
LocatedInformation & operator=(LocatedInformation &&other)=default
LabParser.cpp.