`ctf` plugin: add `ctf::IntRange` class template
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 30 Nov 2023 03:00:06 +0000 (03:00 +0000)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 4 Sep 2024 19:05:14 +0000 (15:05 -0400)
commit8eba18cb258a42ba96a222cefd09799f1ccb19f8
tree43c5e8171b6142a2a398ebee47f890c507add8f9
parent3070a5bb4289a4eebfe73f208094d0a6b16cc00c
`ctf` plugin: add `ctf::IntRange` class template

This new class template is conceptually the same as the libbabeltrace2
equivalent (`bt2::ConstIntegerRange`), 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: Ic2ab4b4b8dd97bce8dc69a1a7331fed8a46d9254
Reviewed-on: https://review.lttng.org/c/babeltrace/+/7922
Reviewed-on: https://review.lttng.org/c/babeltrace/+/12251
src/Makefile.am
src/plugins/ctf/common/metadata/int-range.hpp [new file with mode: 0644]
This page took 0.024217 seconds and 4 git commands to generate.