#ifndef GUARD_MWERKSXMAPFILE_H #define GUARD_MWERKSXMAPFILE_H #ifndef NDEBUG #include #include "find_filesystem.h" #include #include using namespace std; using namespace fs; class MwerksXmapFile { map, size_t> _section_addrs; public: MwerksXmapFile() = default; explicit MwerksXmapFile(path const &filename); void open(path const &filename); size_t &at(pair const &key) { return _section_addrs.at(key); } size_t &operator[](pair const &key) { return _section_addrs[key]; } }; #endif #endif //GUARD_MWERKSXMAPFILE_H