| 108 | } |
| 109 | |
| 110 | std::vector<LivestatusRowValue> Table::FilterRows(const Filter::Ptr& filter, int limit) |
| 111 | { |
| 112 | std::vector<LivestatusRowValue> rs; |
| 113 | |
| 114 | FetchRows([this, filter, limit, &rs](const Value& row, LivestatusGroupByType groupByType, const Object::Ptr& groupByObject) { |
| 115 | return FilteredAddRow(rs, filter, limit, row, groupByType, groupByObject); |
| 116 | }); |
| 117 | |
| 118 | return rs; |
| 119 | } |
| 120 | |
| 121 | bool Table::FilteredAddRow(std::vector<LivestatusRowValue>& rs, const Filter::Ptr& filter, int limit, const Value& row, LivestatusGroupByType groupByType, const Object::Ptr& groupByObject) |
| 122 | { |