Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
LocatedInformation.cpp
Go to the documentation of this file.
2
3namespace storm {
4namespace prism {
5LocatedInformation::LocatedInformation(std::string const& filename, uint_fast64_t lineNumber) : filename(filename), lineNumber(lineNumber) {
6 // Intentionally left empty.
7}
8
9std::string const& LocatedInformation::getFilename() const {
10 return this->filename;
11}
12
13void LocatedInformation::setFilename(std::string const& filename) {
14 this->filename = filename;
15}
16
17uint_fast64_t LocatedInformation::getLineNumber() const {
18 return this->lineNumber;
19}
20
21void LocatedInformation::setLineNumber(uint_fast64_t lineNumber) {
22 this->lineNumber = lineNumber;
23}
24} // namespace prism
25} // namespace storm
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.
LabParser.cpp.
Definition cli.cpp:18