MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / createInstance

Method createInstance

src/Base/Type.cpp:82–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82void* Type::createInstance() const
83{
84 const auto method = getInstantiationMethod();
85 return method ? (*method)() : nullptr;
86}
87
88bool Type::canInstantiate() const
89{

Callers 15

addObjectMethod · 0.45
supportedPropertiesMethod · 0.45
addObjectMethod · 0.45
addObjectsMethod · 0.45
addDynamicPropertyMethod · 0.45
restoreExtensionsMethod · 0.45
addExtensionMethod · 0.45
createInstanceByNameMethod · 0.45
replaceSwitchesFunction · 0.45
supportedPropertiesMethod · 0.45
createMethod · 0.45
slotNewObjectMethod · 0.45

Calls

no outgoing calls

Tested by 2

_instantiateFunction · 0.36
_instantiateFunction · 0.36