1 #ifndef OBJECT_MAPPER_H
2 #define OBJECT_MAPPER_H
11 std::map<std::string, std::shared_ptr<UiObject>> mObjectMap;
12 std::map<std::shared_ptr<UiObject>, std::string> mObjectMapReverse;
13 unsigned long long mObjCounter;
22 static ObjectMapper *getInstance();
23 std::string addElement(std::shared_ptr<UiObject> object);
25 std::shared_ptr<UiObject> getElement(const std::string key);
26 std::string getElement(std::shared_ptr<UiObject> object);
28 bool removeElement(const std::string key);
29 bool removeElement(std::shared_ptr<UiObject> object);