MCPcopy Create free account
hub / github.com/comaps/comaps / GetParent

Method GetParent

libs/indexer/complex/tree_node.hpp:56–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54
55 bool HasParent() const { return m_parent.lock() != nullptr; }
56 Ptr GetParent() const { return m_parent.lock(); }
57 void SetParent(Ptr const & parent) { m_parent = parent; }
58
59 Data & GetData() { return m_data; }

Callers 3

GetDepthFunction · 0.45
GetRootFunction · 0.45
GetPathToRootFunction · 0.45

Calls 1

lockMethod · 0.80

Tested by

no test coverage detected