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
7
namespace
storm
{
8
namespace
prism {
9
class
LocatedInformation
{
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
;
22
LocatedInformation
&
operator=
(
LocatedInformation
const
& other) =
default
;
23
LocatedInformation
(
LocatedInformation
&& other) =
default
;
24
LocatedInformation
&
operator=
(
LocatedInformation
&& 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_ */
storm::prism::LocatedInformation
Definition
LocatedInformation.h:9
storm::prism::LocatedInformation::LocatedInformation
LocatedInformation(LocatedInformation &&other)=default
storm::prism::LocatedInformation::operator=
LocatedInformation & operator=(LocatedInformation const &other)=default
storm::prism::LocatedInformation::getLineNumber
uint_fast64_t getLineNumber() const
Retrieves the line number in which the information was found.
Definition
LocatedInformation.cpp:17
storm::prism::LocatedInformation::LocatedInformation
LocatedInformation()=default
storm::prism::LocatedInformation::getFilename
std::string const & getFilename() const
Retrieves the name of the file in which the information was found.
Definition
LocatedInformation.cpp:9
storm::prism::LocatedInformation::setFilename
void setFilename(std::string const &filename)
Sets the filename of this information.
Definition
LocatedInformation.cpp:13
storm::prism::LocatedInformation::setLineNumber
void setLineNumber(uint_fast64_t lineNumber)
Sets the line number of this information.
Definition
LocatedInformation.cpp:21
storm::prism::LocatedInformation::LocatedInformation
LocatedInformation(LocatedInformation const &other)=default
storm::prism::LocatedInformation::operator=
LocatedInformation & operator=(LocatedInformation &&other)=default
storm
LabParser.cpp.
Definition
AutomaticSettings.cpp:13
src
storm
storage
prism
LocatedInformation.h
Generated by
1.9.8