return *this;
}
+ CommonValue<const bt_value> asConst() const noexcept
+ {
+ return CommonValue<const bt_value> {*this};
+ }
+
ValueType type() const noexcept
{
return static_cast<ValueType>(bt_value_get_type(this->libObjPtr()));
return *this;
}
+ CommonNullValue<const bt_value> asConst() const noexcept
+ {
+ return CommonNullValue<const bt_value> {*this};
+ }
+
Shared shared() const noexcept
{
return Shared::createWithRef(*this);
return *this;
}
+ CommonBoolValue<const bt_value> asConst() const noexcept
+ {
+ return CommonBoolValue<const bt_value> {*this};
+ }
+
CommonBoolValue<LibObjT> operator=(const Value rawVal) const noexcept
{
static_assert(!std::is_const<LibObjT>::value, "`LibObjT` must NOT be `const`.");
return *this;
}
+ CommonUnsignedIntegerValue<const bt_value> asConst() const noexcept
+ {
+ return CommonUnsignedIntegerValue<const bt_value> {*this};
+ }
+
CommonUnsignedIntegerValue<LibObjT> operator=(const Value rawVal) const noexcept
{
bt_value_integer_unsigned_set(this->libObjPtr(), rawVal);
return *this;
}
+ CommonSignedIntegerValue<const bt_value> asConst() const noexcept
+ {
+ return CommonSignedIntegerValue<const bt_value> {*this};
+ }
+
CommonSignedIntegerValue<LibObjT> operator=(const Value rawVal) const noexcept
{
static_assert(!std::is_const<LibObjT>::value, "`LibObjT` must NOT be `const`.");
return *this;
}
+ CommonRealValue<const bt_value> asConst() const noexcept
+ {
+ return CommonRealValue<const bt_value> {*this};
+ }
+
CommonRealValue<LibObjT> operator=(const Value rawVal) const noexcept
{
static_assert(!std::is_const<LibObjT>::value, "`LibObjT` must NOT be `const`.");
return *this;
}
+ CommonStringValue<const bt_value> asConst() const noexcept
+ {
+ return CommonStringValue<const bt_value> {*this};
+ }
+
CommonStringValue<LibObjT> operator=(const char * const rawVal) const
{
static_assert(!std::is_const<LibObjT>::value, "`LibObjT` must NOT be `const`.");
return *this;
}
+ CommonArrayValue<const bt_value> asConst() const noexcept
+ {
+ return CommonArrayValue<const bt_value> {*this};
+ }
+
std::uint64_t length() const noexcept
{
return bt_value_array_get_length(this->libObjPtr());
return *this;
}
+ CommonMapValue<const bt_value> asConst() const noexcept
+ {
+ return CommonMapValue<const bt_value> {*this};
+ }
+
std::uint64_t length() const noexcept
{
return bt_value_map_get_size(this->libObjPtr());