| 629 | } |
| 630 | |
| 631 | bool getTimesOfID(const KeyType &ID, std::vector<double> &Times) const |
| 632 | { |
| 633 | if(this->checkID(ID)) |
| 634 | { |
| 635 | const ObjectStream &StreamRef = _DataStreams.at(ID); |
| 636 | for(auto it = StreamRef.begin(); it != StreamRef.end(); it = StreamRef.upper_bound(it->first)) |
| 637 | { |
| 638 | Times.push_back(it->first); |
| 639 | } |
| 640 | return true; |
| 641 | } |
| 642 | else |
| 643 | { |
| 644 | PRINT_ERROR("There is no ID: ", ID); |
| 645 | return false; |
| 646 | } |
| 647 | } |
| 648 | |
| 649 | bool getTimesBetween(const KeyType &ID, const double StartTime, const double EndTime, std::vector<double> &Times) const |
| 650 | { |
nothing calls this directly
no test coverage detected