MCPcopy Create free account
hub / github.com/LUX-Core/lux / CreateObject

Method CreateObject

src/cryptopp/factory.h:74–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72 }
73
74 AbstractClass *CreateObject(const char *name) const
75 {
76 const ObjectFactory<AbstractClass> *factory = GetFactory(name);
77 if (!factory)
78 throw FactoryNotFound(name);
79 return factory->CreateObject();
80 }
81
82 // Return a vector containing the factory names. This is easier than returning an iterator.
83 // from Andrew Pitonyak

Callers

nothing calls this directly

Calls 2

FactoryNotFoundClass · 0.85
CreateObjectMethod · 0.45

Tested by

no test coverage detected