MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / createObject

Function createObject

source/MRMesh/MRObjectFactory.cpp:45–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43};
44
45std::shared_ptr<Object> createObject( const std::string & className )
46{
47 return ObjectMakers::instance().createObject( className );
48}
49
50ObjectFactoryBase::ObjectFactoryBase( std::string className, ObjectMakerFunc * creator )
51 : className_( std::move( className ) )

Callers 2

deserializeRecursive_Method · 0.85

Calls 2

instanceFunction · 0.85
createObjectMethod · 0.80

Tested by

no test coverage detected