get the yet unevaluated object record with a given id
| 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 { |
no test coverage detected