-/** Convert a string representation of the path into an array of `simgrid::mc::Transition`
- */
-XBT_PRIVATE RecordTrace parseRecordTrace(const char* data);
-XBT_PRIVATE std::string traceToString(simgrid::mc::RecordTrace const& trace);
-XBT_PRIVATE void dumpRecordPath();
+public:
+ RecordTrace() = default;
+
+ /** Build a trace that can be replayed from a string representation */
+ explicit RecordTrace(const char* data);
+ /** Make a string representation that can later be used to create a new trace */
+ std::string to_string() const;
+
+ void push_back(Transition* t) { transitions_.push_back(t); }
+
+ /** Replay all transitions of a trace */
+ void replay() const;