59 std::vector<int> chanKey{wheelId, stationId, sectorId};
60 std::vector<int>
const* confPtr;
61 int searchStatus =
dBuf->
find(chanKey.begin(), chanKey.end(), confPtr);
74 std::vector<std::pair<DTCCBId, int>*> tempList;
77 while (d_iter != d_iend)
78 tempList.push_back(
new std::pair<DTCCBId, int>(*d_iter++));
79 std::vector<std::pair<DTCCBId, int>*>::iterator t_iter = tempList.begin();
80 std::vector<std::pair<DTCCBId, int>*>::iterator t_iend = tempList.end();
81 while (t_iter != t_iend) {
82 std::pair<DTCCBId, int>* ptr = *t_iter++;
86 std::vector<int> cfgKeys;
87 cfgKeys.push_back(ptr->second);
88 std::vector<std::pair<DTCCBId, int>*>::iterator n_iter(t_iter);
89 while (n_iter != t_iend) {
90 std::pair<DTCCBId, int>*& pck = *n_iter++;
96 cfgKeys.push_back(pck->second);
101 keyList.push_back(std::pair<
DTCCBId, std::vector<int> >(ccbId, cfgKeys));
122 std::vector<int> chanKey{wheelId, stationId, sectorId};
124 std::vector<int>* confPtr;
125 int searchStatus =
dBuf->
find(chanKey.begin(), chanKey.end(), confPtr);
128 std::vector<std::pair<DTCCBId, int> > tempList;
131 while (iter != iend) {
132 const DTCCBId& ccbId(iter->first);
134 tempList.push_back(*iter);
142 std::vector<int>::const_iterator cfgIter = confKey.begin();
143 std::vector<int>::const_iterator cfgIend = confKey.end();
144 while (cfgIter != cfgIend)
145 dataList.push_back(std::pair<DTCCBId, int>(ccbId, *cfgIter++));
149 dBuf->
insert(chanKey.begin(), chanKey.end(), std::unique_ptr<std::vector<int> >(
new std::vector<int>(confKey)));
154 std::vector<int>::const_iterator cfgIter = confKey.begin();
155 std::vector<int>::const_iterator cfgIend = confKey.end();
156 while (cfgIter != cfgIend)
157 dataList.push_back(std::pair<DTCCBId, int>(ccbId, *cfgIter++));
167 std::vector<int> chanKey{wheelId, stationId, sectorId};
173 std::vector<int>::const_iterator iter = confKey.begin();
174 std::vector<int>::const_iterator iend = confKey.end();
177 std::vector<int>* confPtr;
178 int searchStatus =
dBuf->
find(chanKey.begin(), chanKey.end(), confPtr);
181 std::unique_ptr<std::vector<int> > newVector(
new std::vector<int>);
182 confPtr = newVector.get();
186 while (iter != iend) {
188 dataList.push_back(std::pair<DTCCBId, int>(ccbId,
key));
189 confPtr->push_back(
key);
212 std::vector<int> chanKey;
214 while (iter != iend) {
218 chanKey.push_back(
chan.wheelId);
219 chanKey.push_back(
chan.stationId);
220 chanKey.push_back(
chan.sectorId);
221 std::vector<int>* ccbConfPtr;
222 int searchStatus =
dBuf->
find(chanKey.begin(), chanKey.end(), ccbConfPtr);
225 std::unique_ptr<std::vector<int> > newVector(
new std::vector<int>);
226 ccbConfPtr = newVector.get();
229 ccbConfPtr->push_back(iter->second);