32#ifndef SCXML4CPP_REPLACE_RULES_H
33#define SCXML4CPP_REPLACE_RULES_H
36#error This is a C++ include file and cannot be used from plain C
80 const std::string& srcId,
81 const std::string& dstId);
100 const std::map<std::string, std::string>&
get()
const;
111 std::map<std::string, std::string> mRules;
112 std::map<ElementType, std::string> mPrefixes;
ReplaceRules()
Definition ReplaceRules.cpp:38
friend std::ostream & operator<<(std::ostream &stream, const ReplaceRules &rules)
Definition ReplaceRules.cpp:83
ElementType
Definition ReplaceRules.h:55
@ Guard
Definition ReplaceRules.h:58
@ Event
Definition ReplaceRules.h:57
@ State
Definition ReplaceRules.h:56
@ Activity
Definition ReplaceRules.h:60
@ Action
Definition ReplaceRules.h:59
std::string apply(const ElementType elementType, const std::string &srcId)
Definition ReplaceRules.cpp:63
void add(const ElementType elementType, const std::string &srcId, const std::string &dstId)
Definition ReplaceRules.cpp:49
ReplaceRules(const ReplaceRules &)=default
void clear()
Definition ReplaceRules.cpp:57
const std::map< std::string, std::string > & get() const
Definition ReplaceRules.cpp:76
ReplaceRules & operator=(const ReplaceRules &)=default