`ctf` plugin: add `ctf::IntRangeSet` class template
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 3 Nov 2023 15:44:35 +0000 (15:44 +0000)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 4 Sep 2024 19:05:14 +0000 (15:05 -0400)
commitced0b7fde9652d643711c3e9641775b76a73f280
tree01e80af072982ccad15ffee0bde7d18ee8f12e7d
parent8eba18cb258a42ba96a222cefd09799f1ccb19f8
`ctf` plugin: add `ctf::IntRangeSet` class template

This new class template is conceptually the same as the libbabeltrace2
equivalent (`bt2::CommonIntegerRangeSet`), but it's templated and avoids
having to make libbabeltrace2 function calls to access data.

That being said, the contains() and intersects() methods don't have
their libbabeltrace2 equivalent.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I494dd1b236463eaf7c24d1143ed21afdd5e498b0
Reviewed-on: https://review.lttng.org/c/babeltrace/+/7923
Reviewed-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/12252
src/Makefile.am
src/plugins/ctf/common/metadata/int-range-set.hpp [new file with mode: 0644]
This page took 0.023965 seconds and 4 git commands to generate.