The "get_supported_mip_versions" component class methods always receive
a map value. The equivalent methods in the C++ bindings should
therefore take a `ConstMapValue.
Change-Id: Ia3ba17048337d3abb72cefa2ae88c7b3187833f2
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/12048
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Tested-by: jenkins <jenkins@lttng.org>
}
static void getSupportedMipVersions(const SelfComponentClass selfCompCls,
}
static void getSupportedMipVersions(const SelfComponentClass selfCompCls,
- const ConstValue params, const LoggingLevel loggingLevel,
+ const ConstMapValue params, const LoggingLevel loggingLevel,
const UnsignedIntegerRangeSet ranges)
{
UserComponentT::_getSupportedMipVersions(selfCompCls, params, loggingLevel, ranges);
const UnsignedIntegerRangeSet ranges)
{
UserComponentT::_getSupportedMipVersions(selfCompCls, params, loggingLevel, ranges);
- static void _getSupportedMipVersions(SelfComponentClass, ConstValue, LoggingLevel,
+ static void _getSupportedMipVersions(SelfComponentClass, ConstMapValue, LoggingLevel,
const UnsignedIntegerRangeSet ranges)
{
ranges.addRange(0, 0);
const UnsignedIntegerRangeSet ranges)
{
ranges.addRange(0, 0);
}
static void getSupportedMipVersions(const SelfComponentClass selfCompCls,
}
static void getSupportedMipVersions(const SelfComponentClass selfCompCls,
- const ConstValue params, const LoggingLevel loggingLevel,
+ const ConstMapValue params, const LoggingLevel loggingLevel,
const UnsignedIntegerRangeSet ranges)
{
UserComponentT::_getSupportedMipVersions(selfCompCls, params, loggingLevel, ranges);
const UnsignedIntegerRangeSet ranges)
{
UserComponentT::_getSupportedMipVersions(selfCompCls, params, loggingLevel, ranges);
- static void _getSupportedMipVersions(SelfComponentClass, ConstValue, LoggingLevel,
+ static void _getSupportedMipVersions(SelfComponentClass, ConstMapValue, LoggingLevel,
const UnsignedIntegerRangeSet ranges)
{
ranges.addRange(0, 0);
const UnsignedIntegerRangeSet ranges)
{
ranges.addRange(0, 0);
}
static void getSupportedMipVersions(const SelfComponentClass selfCompCls,
}
static void getSupportedMipVersions(const SelfComponentClass selfCompCls,
- const ConstValue params, const LoggingLevel loggingLevel,
+ const ConstMapValue params, const LoggingLevel loggingLevel,
const UnsignedIntegerRangeSet ranges)
{
UserComponentT::_getSupportedMipVersions(selfCompCls, params, loggingLevel, ranges);
const UnsignedIntegerRangeSet ranges)
{
UserComponentT::_getSupportedMipVersions(selfCompCls, params, loggingLevel, ranges);
- static void _getSupportedMipVersions(SelfComponentClass, ConstValue, LoggingLevel,
+ static void _getSupportedMipVersions(SelfComponentClass, ConstMapValue, LoggingLevel,
const UnsignedIntegerRangeSet ranges)
{
ranges.addRange(0, 0);
const UnsignedIntegerRangeSet ranges)
{
ranges.addRange(0, 0);
bt_integer_range_set_unsigned * const libSupportedVersionsPtr) noexcept
{
try {
bt_integer_range_set_unsigned * const libSupportedVersionsPtr) noexcept
{
try {
- UserCompClsT::getSupportedMipVersions(wrap(libSelfCompClsPtr), wrap(libParamsPtr),
- static_cast<LoggingLevel>(logLevel),
- wrap(libSupportedVersionsPtr));
+ UserCompClsT::getSupportedMipVersions(
+ wrap(libSelfCompClsPtr), wrap(libParamsPtr).asMap(),
+ static_cast<LoggingLevel>(logLevel), wrap(libSupportedVersionsPtr));
return BT_COMPONENT_CLASS_GET_SUPPORTED_MIP_VERSIONS_METHOD_STATUS_OK;
} catch (const std::bad_alloc&) {
return BT_COMPONENT_CLASS_GET_SUPPORTED_MIP_VERSIONS_METHOD_STATUS_MEMORY_ERROR;
return BT_COMPONENT_CLASS_GET_SUPPORTED_MIP_VERSIONS_METHOD_STATUS_OK;
} catch (const std::bad_alloc&) {
return BT_COMPONENT_CLASS_GET_SUPPORTED_MIP_VERSIONS_METHOD_STATUS_MEMORY_ERROR;