MCPcopy Create free account
hub / github.com/Snapchat/Valdi / createViewFactory

Method createViewFactory

valdi/src/valdi/runtime/Views/GlobalViewFactories.cpp:76–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76Ref<ViewFactory> GlobalViewFactories::createViewFactory(const StringBox& className) {
77 auto boundAttributes = _attributesManager.getAttributesForClass(className);
78 return _attributesManager.getViewManager().createViewFactory(className, boundAttributes);
79}
80
81std::vector<Ref<ViewFactory>> GlobalViewFactories::copyViewFactories() const {
82 std::vector<Ref<ViewFactory>> viewFactories;

Callers 1

Calls 2

getViewManagerMethod · 0.80
getAttributesForClassMethod · 0.45

Tested by

no test coverage detected