| 153 | } |
| 154 | |
| 155 | std::vector<TLogInterface> LogSystemConfig::allPresentLogs() const { |
| 156 | std::vector<TLogInterface> results; |
| 157 | for (int i = 0; i < tLogs.size(); i++) { |
| 158 | for (int j = 0; j < tLogs[i].tLogs.size(); j++) { |
| 159 | if (tLogs[i].tLogs[j].present()) { |
| 160 | results.push_back(tLogs[i].tLogs[j].interf()); |
| 161 | } |
| 162 | } |
| 163 | } |
| 164 | return results; |
| 165 | } |
| 166 | |
| 167 | std::pair<int8_t, int8_t> LogSystemConfig::getLocalityForDcId(Optional<Key> dcId) const { |
| 168 | std::map<int8_t, int> matchingLocalities; |
no test coverage detected