MCPcopy Create free account
hub / github.com/MITK/MITK / GenerateUid

Method GenerateUid

Modules/RESTAPI/src/mitkNodeUidMapper.cpp:178–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176}
177
178std::string NodeUidMapper::GenerateUid()
179{
180 // Format: "node_<counter>" - simple, unique within session
181 return "node_" + std::to_string(++m_UidCounter);
182}
183
184void NodeUidMapper::OnNodeAdded(const DataNode* node)
185{

Callers 1

GetOrCreateUidMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected