| 510 | } |
| 511 | |
| 512 | std::vector<ObjectType> getElementsOfID(const KeyType &ID) const |
| 513 | { |
| 514 | std::vector<ObjectType> Objects; |
| 515 | |
| 516 | if (_DataStreams.count(ID) > 0) |
| 517 | { |
| 518 | for(auto it = _DataStreams.at(ID).begin(); it != _DataStreams.at(ID).end(); ++it) |
| 519 | { |
| 520 | Objects.push_back(it->second); |
| 521 | } |
| 522 | } |
| 523 | |
| 524 | if(Objects.empty()) |
| 525 | { |
| 526 | PRINT_WARNING("Returned empty vector!"); |
| 527 | } |
| 528 | return Objects; |
| 529 | } |
| 530 | |
| 531 | std::vector<ObjectType> getElements(const KeyType &ID, const double Timestamp) const |
| 532 | { |
no test coverage detected