/** * Finds a FLARMNetRecord object based on the given FLARM id * @param id FLARM id * @return FLARMNetRecord object */ gcc_pure const FlarmNetRecord *FindRecordById(FlarmId id) const { auto i = map.find(id); return i != map.end() ? &i->second : NULL; }
StackMaps::RecordMap StackMaps::computeRecordMap() const { RecordMap result; for (unsigned i = records.size(); i--;) result.add(records[i].patchpointID, Vector<Record>()).iterator->value.append(records[i]); return result; }
StackMaps::RecordMap StackMaps::getRecordMap() const { RecordMap result; for (unsigned i = records.size(); i--;) result.add(records[i].patchpointID, records[i]); return result; }
RecordMap::const_iterator end() const { return map.end(); }
RecordMap::const_iterator begin() const { return map.begin(); }
void Clear() { map.clear(); }
bool IsEmpty() const { return map.empty(); }