MCPcopy Create free account
hub / github.com/assimp/assimp / GetObject

Method GetObject

code/AssetLib/Step/STEPFile.h:817–823  ·  view source on GitHub ↗

get the yet unevaluated object record with a given id

Source from the content-addressed store, hash-verified

815
816 // get the yet unevaluated object record with a given id
817 const LazyObject *GetObject(uint64_t id) const {
818 const ObjectMap::const_iterator it = objects.find(id);
819 if (it != objects.end()) {
820 return (*it).second;
821 }
822 return nullptr;
823 }
824
825 // get an arbitrary object out of the soup with the only restriction being its type.
826 const LazyObject *GetObject(const std::string &type) const {

Callers 9

GetMethod · 0.45
GetMethod · 0.45
operator()Method · 0.45
ProcessMaterialsFunction · 0.45
InternReadFileMethod · 0.45
ProcessMetadataFunction · 0.45
ProcessSpatialStructureFunction · 0.45
ProcessSpatialStructuresFunction · 0.45
ReadShaderMethod · 0.45

Calls 3

endMethod · 0.45
sizeMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected