@brief Gets pointer from repository. If none found, nullptr is returned.
| 1479 | |
| 1480 | /// @brief Gets pointer from repository. If none found, nullptr is returned. |
| 1481 | T_Ptr* get(const T_Key& uniqKey) { |
| 1482 | iterator it = this->list().find(uniqKey); |
| 1483 | return it == this->list().end() |
| 1484 | ? nullptr |
| 1485 | : it->second; |
| 1486 | } |
| 1487 | |
| 1488 | private: |
| 1489 | virtual void deepCopy(const AbstractRegistry<T_Ptr, std::map<T_Key, T_Ptr*>>& sr) ELPP_FINAL { |
no test coverage detected