Storm
1.14.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
LocatedInformation.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <cstdint>
4
#include <string>
5
6
namespace
storm
{
7
namespace
prism
{
8
class
LocatedInformation
{
9
public
:
16
LocatedInformation
(std::string
const
& filename, uint_fast64_t lineNumber);
17
18
// Create default implementations of constructors/assignment.
19
LocatedInformation
() =
default
;
20
LocatedInformation
(
LocatedInformation
const
& other) =
default
;
21
LocatedInformation
&
operator=
(
LocatedInformation
const
& other) =
default
;
22
LocatedInformation
(
LocatedInformation
&& other) =
default
;
23
LocatedInformation
&
operator=
(
LocatedInformation
&& other) =
default
;
24
30
std::string
const
&
getFilename
()
const
;
31
37
void
setFilename
(std::string
const
& filename);
38
44
uint_fast64_t
getLineNumber
()
const
;
45
51
void
setLineNumber
(uint_fast64_t lineNumber);
52
53
private
:
54
// The file in which the piece of information was found.
55
std::string filename;
56
57
// The line in the file in which the piece of information was found.
58
uint_fast64_t lineNumber;
59
};
60
}
// namespace prism
61
}
// namespace storm
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::LocatedInformation
LocatedInformation(std::string const &filename, uint_fast64_t lineNumber)
Constructs a located information with the given filename and line number.
Definition
LocatedInformation.cpp:5
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::prism
Definition
storm-conv.h:10
storm
Definition
AutomaticSettings.cpp:13
src
storm
storage
prism
LocatedInformation.h
Generated by
1.15.0