summary refs log tree commit diff stats
path: root/src/prototype_manager.h
blob: 3fadd237ab5d12b366b012a3cdb91c9df0592ade (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef PROTOTYPE_MANAGER_H_83CECCA6
#define PROTOTYPE_MANAGER_H_83CECCA6

#include <string>
#include <map>
#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<std::string, Prototype> prototypes_;
};

#endif /* end of include guard: PROTOTYPE_MANAGER_H_83CECCA6 */