#include <babeltrace2/babeltrace.h>
+#include "cpp-common/bt2c/c-string-view.hpp"
+
#include "borrowed-object.hpp"
namespace bt2 {
class SelfComponentClass final : public BorrowedObject<bt_self_component_class>
{
public:
- explicit SelfComponentClass(const _LibObjPtr libObjPtr) noexcept :
+ explicit SelfComponentClass(const LibObjPtr libObjPtr) noexcept :
_ThisBorrowedObject {libObjPtr}
{
}
{
}
- const char *name() const noexcept
+ bt2c::CStringView name() const noexcept
{
return bt_component_class_get_name(this->_libCompClsPtr());
}
- const char *description() const noexcept
+ bt2c::CStringView description() const noexcept
{
return bt_component_class_get_description(this->_libCompClsPtr());
}
- const char *help() const noexcept
+ bt2c::CStringView help() const noexcept
{
return bt_component_class_get_help(this->_libCompClsPtr());
}