Add C++ interface for the libbabeltrace2 `bt_field_path` API
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 17 Dec 2020 18:13:10 +0000 (13:13 -0500)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 28 Jan 2022 16:22:26 +0000 (11:22 -0500)
commit40ed8b0148b4b1d02dc1fd4f8fa4f615f40a4f59
tree95eebd4359e4943e5d614bfd007621db2226c680
parent3aafc1652f91618c0ae7e485bcf50212ca4e112f
Add C++ interface for the libbabeltrace2 `bt_field_path` API

This patch adds C++ wrappers for Babeltrace 2 field path objects.

The new available classes are:

* `bt2::ConstFieldPathItem`
* `bt2::ConstIndexFieldPathItem`
* `bt2::ConstFieldPath`

Those new classes follow the approach of other wrappers in
`src/cpp-common/bt2`.

You can't create a field path: it's what some field class methods (not
part of `src/cpp-common/bt2` yet) return.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I3414ac96ff2d305669ae24ef13aa8e88dad88df5
Reviewed-on: https://review.lttng.org/c/babeltrace/+/4611
src/cpp-common/bt2/field-path.hpp [new file with mode: 0644]
This page took 0.023832 seconds and 4 git commands to generate.