X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=laserbrain_demo;a=blobdiff_plain;f=src%2Fdatamap.h;h=674ab7cbfd1a78e0e03b3ab3d56ca2d65566ee77;hp=137fdca77454f5eb2e280062c08e77e360c93632;hb=6ef619c6d92c698728576a4ec1c798a0f716d9a4;hpb=b30241a8a51be904b22459a1d0cc3322e0a505d9 diff --git a/src/datamap.h b/src/datamap.h index 137fdca..674ab7c 100644 --- a/src/datamap.h +++ b/src/datamap.h @@ -9,11 +9,15 @@ class DataMap { std::vector> dmap; mutable std::map cache; std::string root; + bool strip_paths; public: + DataMap(); + void clear(); void set_path(const char *path); + void set_strip(bool s); bool load_map(const char *fname); void map(const char *match, const char *path);