MCPcopy Create free account
hub / github.com/OAID/Tengine / CreatorInfo

Method CreatorInfo

core/include/generic_factory.hpp:92–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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
106protected:
107 bool RegisterCreator(const std::string& key, any creator, bool replace = false)

Callers 2

test_creatorFunction · 0.80
test_constructorFunction · 0.80

Calls

no outgoing calls

Tested by 2

test_creatorFunction · 0.64
test_constructorFunction · 0.64