| 90 | } |
| 91 | |
| 92 | std::vector<std::string> CreatorInfo(const std::string& name) |
| 93 | { |
| 94 | std::vector<std::string> result; |
| 95 | |
| 96 | auto range = type_map_.equal_range(name); |
| 97 | |
| 98 | for(auto ir = range.first; ir != range.second; ir++) |
| 99 | { |
| 100 | result.emplace_back(ir->second); |
| 101 | } |
| 102 | |
| 103 | return result; |
| 104 | } |
| 105 | |
| 106 | protected: |
| 107 | bool RegisterCreator(const std::string& key, any creator, bool replace = false) |
no outgoing calls