diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-03-12 12:07:58 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-03-12 12:07:58 (GMT) |
commit | 7d98ac1fd2e9da3162f3b6d38b22106f463edd9d (patch) | |
tree | 712a8f5400654a88f916438bf6bf86621cab5e67 /src/uscxml/debug/Breakpoint.cpp | |
parent | c34e0ce034586a05308e552cbbdff48beec7dd96 (diff) | |
download | uscxml-7d98ac1fd2e9da3162f3b6d38b22106f463edd9d.zip uscxml-7d98ac1fd2e9da3162f3b6d38b22106f463edd9d.tar.gz uscxml-7d98ac1fd2e9da3162f3b6d38b22106f463edd9d.tar.bz2 |
Support different threads on prolog datamodel
Diffstat (limited to 'src/uscxml/debug/Breakpoint.cpp')
-rw-r--r-- | src/uscxml/debug/Breakpoint.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/uscxml/debug/Breakpoint.cpp b/src/uscxml/debug/Breakpoint.cpp index 58cf295..df5dd61 100644 --- a/src/uscxml/debug/Breakpoint.cpp +++ b/src/uscxml/debug/Breakpoint.cpp @@ -93,11 +93,11 @@ Breakpoint::Breakpoint(const Data& data) { if (data.hasKey("stateId")) stateId = data["stateId"].atom; - if (data.hasKey("transSource")) - transSource = data["transSource"].atom; + if (data.hasKey("transSourceId")) + transSourceId = data["transSourceId"].atom; - if (data.hasKey("transTarget")) - transTarget = data["transTarget"].atom; + if (data.hasKey("transTargetId")) + transTargetId = data["transTargetId"].atom; } @@ -183,11 +183,11 @@ Data Breakpoint::toData() const { if (stateId.length() > 0) data.compound["stateId"] = Data(stateId, Data::VERBATIM); - if (transSource.length() > 0) - data.compound["transSource"] = Data(transSource, Data::VERBATIM); + if (transSourceId.length() > 0) + data.compound["transSourceId"] = Data(transSourceId, Data::VERBATIM); - if (transTarget.length() > 0) - data.compound["transTarget"] = Data(transTarget, Data::VERBATIM); + if (transTargetId.length() > 0) + data.compound["transTargetId"] = Data(transTargetId, Data::VERBATIM); if (condition.length() > 0) data.compound["condition"] = Data(condition, Data::VERBATIM); @@ -241,11 +241,11 @@ bool Breakpoint::matches(Interpreter interpreter, const Breakpoint& other) const return Interpreter::isMember(other.element, nodes); } - if(transSource.length() > 0 && transSource != other.transSource) { + if(transSourceId.length() > 0 && transSourceId != other.transSourceId) { return false; } - if(transTarget.length() > 0 && transTarget != other.transTarget) { + if(transTargetId.length() > 0 && transTargetId != other.transTargetId) { return false; } |