Storm 1.10.0.1
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
14
15namespace storm {
16namespace prism {
18 public:
24 ModuleRenaming(std::map<std::string, std::string> const& renaming);
25
31 ModuleRenaming(std::map<std::string, std::string>&& renaming);
32
33 // Create default implementations of constructors/assignment.
34 ModuleRenaming() = default;
35 ModuleRenaming(ModuleRenaming const& other) = default;
36 ModuleRenaming& operator=(ModuleRenaming const& other) = default;
37 ModuleRenaming(ModuleRenaming&& other) = default;
39
46 std::map<std::string, std::string> const& getRenaming() const;
47
48 friend std::ostream& operator<<(std::ostream& stream, ModuleRenaming const& module);
49
50 private:
51 // contains the provided renaming of identifiers.
52 std::map<std::string, std::string> renaming;
53};
54
55} // namespace prism
56} // 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.