From 8142a9c87a13cecc7a3698e877f24d89f128c074 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 21 Apr 2018 14:50:52 -0400 Subject: Started working on prototype objects --- src/prototype_manager.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/prototype_manager.h (limited to 'src/prototype_manager.h') diff --git a/src/prototype_manager.h b/src/prototype_manager.h new file mode 100644 index 0000000..3fadd23 --- /dev/null +++ b/src/prototype_manager.h @@ -0,0 +1,23 @@ +#ifndef PROTOTYPE_MANAGER_H_83CECCA6 +#define PROTOTYPE_MANAGER_H_83CECCA6 + +#include +#include +#include "prototype.h" + +class PrototypeManager { +public: + + PrototypeManager(std::string path); + + inline const Prototype& getPrototype(std::string name) const + { + return prototypes_.at(name); + } + +private: + + std::map prototypes_; +}; + +#endif /* end of include guard: PROTOTYPE_MANAGER_H_83CECCA6 */ -- cgit 1.4.1