| 383 | } |
| 384 | |
| 385 | std::vector<std::string> sample_result::register_names() const { |
| 386 | std::vector<std::string> ret; |
| 387 | for (auto &kv : sampleResults) |
| 388 | ret.push_back(kv.first); |
| 389 | std::sort(ret.begin(), ret.end()); |
| 390 | |
| 391 | return ret; |
| 392 | } |
| 393 | |
| 394 | CountsDictionary |
| 395 | sample_result::to_map(const std::string_view registerName) const { |