| 90 | } |
| 91 | |
| 92 | void ElementRepository::RemoveManagedElement(const std::string& element_id) { |
| 93 | LOG(TRACE) << "Entering ElementRepository::RemoveManagedElement"; |
| 94 | |
| 95 | ElementMap::iterator found_iterator = this->managed_elements_.find(element_id); |
| 96 | if (found_iterator != this->managed_elements_.end()) { |
| 97 | this->managed_elements_.erase(element_id); |
| 98 | } else { |
| 99 | LOG(DEBUG) << "Unable to find element to remove with id " << element_id; |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | void ElementRepository::ListManagedElements() { |
| 104 | LOG(TRACE) << "Entering ElementRepository::ListManagedElements"; |
no test coverage detected