| 492 | } |
| 493 | |
| 494 | std::vector<KeyType> getKeysAtTime(const double Timestamp) const |
| 495 | { |
| 496 | std::vector<KeyType> KeysAll, KeysAtT; |
| 497 | KeysAll = this->getKeysAll(); |
| 498 | for(const KeyType& Key : KeysAll) |
| 499 | { |
| 500 | if (this->checkElement(Key, Timestamp) == true) |
| 501 | { |
| 502 | KeysAtT.push_back(Key); |
| 503 | } |
| 504 | } |
| 505 | if(KeysAtT.empty()) |
| 506 | { |
| 507 | PRINT_WARNING("Returned empty vector!"); |
| 508 | } |
| 509 | return KeysAtT; |
| 510 | } |
| 511 | |
| 512 | std::vector<ObjectType> getElementsOfID(const KeyType &ID) const |
| 513 | { |
nothing calls this directly
no test coverage detected