-/* Copyright (c) 2014-2022. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2014-2023. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
#include <string>
#include <vector>
-namespace simgrid {
-namespace mc {
+namespace simgrid::mc {
class RecordTrace {
std::vector<Transition*> transitions_;
void push_back(Transition* t) { transitions_.push_back(t); }
/** Replay all transitions of a trace */
- void replay();
+ void replay() const;
/** Parse and replay a string representation */
static void replay(const std::string& trace);
};
-}
-}
+} // namespace simgrid::mc
#endif