21 #ifndef HX3D_UTILS_OBJECT_MAP 22 #define HX3D_UTILS_OBJECT_MAP 24 #include "hx3d/utils/ptr.hpp" 46 T*
get(std::string name);
65 void set(std::string name, T* object);
68 std::map<std::string, void*> _objects;
73 #include "hx3d/utils/_inline/object_map.inl.hpp"
Map of whatever you want. Useful for user data.
T & getValue(std::string name)
Get the value of a named value (because values are all pointers)