MCPcopy Create free account
hub / github.com/Autodesk/Aurora / getReference

Method getReference

Libraries/Aurora/Source/ResourceStub.cpp:302–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300}
301
302ResourceStubPtr ResourceStub::getReference(const string& name)
303{
304 // Find property name for in references map.
305 auto iter = _references.find(name);
306
307 // Return null if none found.
308 if (iter == _references.end())
309 return nullptr;
310
311 // Return pointer to referenced resource stub.
312 return iter->second;
313}
314
315void ResourceStub::setReference(const string& name, const Path& path)
316{

Callers

nothing calls this directly

Calls 1

endMethod · 0.45

Tested by

no test coverage detected