MCPcopy Create free account
hub / github.com/catboost/catboost / GetCreator

Method GetCreator

library/cpp/object_factory/object_factory.h:81–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79 protected:
80 template <class T>
81 IFactoryObjectCreator<TProduct, TArgs...>* GetCreator(const T& key) const {
82 TReadGuard guard(CreatorsLock);
83 typename ICreators::const_iterator i = Creators.find(key);
84 return i == Creators.end() ? nullptr : i->second.Get();
85 }
86
87 template <class T>
88 bool HasImpl(const T& key) const {

Callers

nothing calls this directly

Calls 3

findMethod · 0.45
endMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected