22 #ifndef __M2ETIS_PUBSUB_ORDER_REMOVEHELPER_H__
23 #define __M2ETIS_PUBSUB_ORDER_REMOVEHELPER_H__
31 template <
typename IDType,
typename KEYType>
34 void dropped(IDType
id,
const KEYType & rec) {
35 missing_[rec].push_back(
id);
38 void dropped(
const std::vector<IDType> & droppedIDs,
const KEYType & rec) {
39 missing_[rec].insert(droppedIDs.begin(), droppedIDs.end());
42 void clear(
const KEYType & rec) {
43 missing_[rec].clear();
51 std::map<KEYType, std::vector<IDType>> missing_;
void clear(const KEYType &rec)
std::vector< IDType > getDropped(const KEYType &rec)
void dropped(const std::vector< IDType > &droppedIDs, const KEYType &rec)
void dropped(IDType id, const KEYType &rec)