- virtual void Save(const std::string &path, const Functor<void (std::streambuf &)> &code);
- virtual bool Open(const std::string &path, const Functor<void (std::streambuf &)> &code);
- virtual void Find(const std::string &path, const Functor<void (const std::string &, const Functor<void (const Functor<void (std::streambuf &, std::streambuf &)> &)> &)> &code);
+ virtual void Save(const std::string &path, bool edit, const void *flag, const Functor<void (std::streambuf &)> &code);
+ virtual bool Look(const std::string &path) const;
+ virtual void Open(const std::string &path, const Functor<void (std::streambuf &, size_t, const void *)> &code) const;
+ virtual void Find(const std::string &path, const Functor<void (const std::string &)> &code, const Functor<void (const std::string &, const Functor<std::string ()> &)> &link) const;
+
+ void operator ()(const std::string &from) {
+ deletes_.insert(from);
+ }
+
+ void operator ()(const std::string &from, const std::string &to) {
+ operator ()(from);
+ remaps_[to] = from;
+ }