222,224d221
< void
< setCheckpointDir(const std::string &name);
<
230,231d226
< const std::string basePath;
< std::map<std::string, Serializable*> objMap;
234c229
< Checkpoint(const std::string &cpt_dir, const std::string &path);
---
> Checkpoint(const std::string &cpt_dir);
248c243,246
< // namespace for them though.
---
> // namespace for them though. Currently no Checkpoint object is
> // created on serialization (only unserialization) so we track the
> // directory name as a global. It would be nice to change this
> // someday
249a248,257
> private:
> // current directory we're serializing into.
> static std::string currentDirectory;
>
> public:
> // Set the current directory. This function takes care of
> // inserting curTick if there's a '%d' in the argument, and
> // appends a '/' if necessary. The final name is returned.
> static std::string setDir(const std::string &base_name);
>