Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
ModuleRenaming.h
Go to the documentation of this file.
1#pragma once
2
3#include <map>
4#include <memory>
5#include <set>
6#include <string>
7#include <vector>
8
15
16namespace storm {
17namespace prism {
19 public:
25 ModuleRenaming(std::map<std::string, std::string> const& renaming);
26
32 ModuleRenaming(std::map<std::string, std::string>&& renaming);
33
34 // Create default implementations of constructors/assignment.
35 ModuleRenaming() = default;
36 ModuleRenaming(ModuleRenaming const& other) = default;
37 ModuleRenaming& operator=(ModuleRenaming const& other) = default;
38 ModuleRenaming(ModuleRenaming&& other) = default;
40
47 std::map<std::string, std::string> const& getRenaming() const;
48
49 friend std::ostream& operator<<(std::ostream& stream, ModuleRenaming const& module);
50
51 private:
52 // contains the provided renaming of identifiers.
53 std::map<std::string, std::string> renaming;
54};
55
56} // namespace prism
57} // namespace storm
ModuleRenaming(ModuleRenaming &&other)=default
friend std::ostream & operator<<(std::ostream &stream, ModuleRenaming const &module)
std::map< std::string, std::string > const & getRenaming() const
If the module was created via renaming, this method returns the applied renaming of identifiers used ...
ModuleRenaming & operator=(ModuleRenaming const &other)=default
ModuleRenaming & operator=(ModuleRenaming &&other)=default
ModuleRenaming(ModuleRenaming const &other)=default
LabParser.cpp.
Definition cli.cpp:18