Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
GetDepth
Function · 0.45
GetRoot
Function · 0.45
GetPathToRoot
Function · 0.45
Calls
1
lock
Method · 0.80
Tested by
no test coverage detected