MCPcopy Create free account
hub / github.com/XRay3D/GERBER_X3 / row

Method row

static_libs/thermal/thermalnode.cpp:54–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52int ThermalNode::childCount() const { return static_cast<int>(childs.size()); }
53
54int ThermalNode::row() const
55{
56 if (m_parent)
57 for (size_t i = 0, size = m_parent->childs.size(); i < size; ++i)
58 if (m_parent->childs[i].get() == this)
59 return static_cast<int>(i);
60 return 0;
61}
62
63void ThermalNode::append(ThermalNode* item)
64{

Callers 1

parentMethod · 0.45

Calls 2

sizeMethod · 0.80
getMethod · 0.80

Tested by

no test coverage detected