#ifndef MODGMT_MAP_H #define MODGMT_MAP_H #include "common.h" class ObjectGMTMap: public ObjectBase { std::shared_ptr data; int64_t bblx,bbly,bbrx,bbry; ObjectGMTMap(const ObjectGMTMap* p):data(p->data),bblx(p->bblx),bbly(p->bbly),bbrx(p->bbrx),bbry(p->bbry) {}; public: ObjectGMTMap(std::string* s, int nbblx, int nbbly, int nbbrx, int nbbry):data(s),bblx(nbblx),bbly(nbbly),bbrx(nbbrx),bbry(nbbry) {}; // Pure virtual overrides ObjectBase* Copy() const override {return new ObjectGMTMap(this);} bool Print() const override { COUT(NORMAL)<size(); return reinterpret_cast(data->data()); } }; // Creating eps map from set of layers ObjectBase* GMT_Map(const ObjectList* input); #endif