MCPcopy Create free account
hub / github.com/OpenArkStudio/ARK / GetNode

Method GetNode

src/plugin/kernel/src/AFCEntity.cpp:449–457  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

447}
448
449bool AFCEntity::GetNode(const std::string& name, AFIData& data) const
450{
451 ARK_ASSERT_RET_VAL(m_pNodeManager != nullptr, false);
452
453 auto pNode = m_pNodeManager->GetNode(name);
454 ARK_ASSERT_RET_VAL(pNode != nullptr, false);
455
456 return data.From(pNode);
457}
458
459// get data
460bool AFCEntity::GetBool(const std::string& name) const

Callers 4

HaveMaskMethod · 0.45
GetMaskMethod · 0.45
GetNodeTypeMethod · 0.45
GetEntityByDataNodeMethod · 0.45

Calls 1

FromMethod · 0.80

Tested by

no test coverage detected