add an element according to its ID and Timestamp*/
| 71 | |
| 72 | /** add an element according to its ID and Timestamp*/ |
| 73 | void addElement(const KeyType &ID, const double &Timestamp, const ObjectType &Object) |
| 74 | { |
| 75 | if (!this->checkID(ID)) |
| 76 | { |
| 77 | ObjectStream TempStream; |
| 78 | _DataStreams.emplace(ID, TempStream); |
| 79 | } |
| 80 | |
| 81 | _DataStreams.at(ID).emplace(Timestamp, Object); |
| 82 | } |
| 83 | |
| 84 | void removeElement(const KeyType &ID, const double Timestamp, const int Number) |
| 85 | { |
no test coverage detected