Struct qt_core::QCborValueRef
source · #[repr(C)]pub struct QCborValueRef { /* private fields */ }
Expand description
C++ class: QCborValueRef
.
Implementations§
source§impl QCborValueRef
impl QCborValueRef
sourcepub unsafe fn compare(&self, other: impl CastInto<Ref<QCborValue>>) -> c_int
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn compare(&self, other: impl CastInto<Ref<QCborValue>>) -> c_int
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: int QCborValueRef::compare(const QCborValue& other) const
.
sourcepub unsafe fn copy_from_q_cbor_value(
&self,
other: impl CastInto<Ref<QCborValue>>
) -> Ref<QCborValueRef>
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn copy_from_q_cbor_value( &self, other: impl CastInto<Ref<QCborValue>> ) -> Ref<QCborValueRef>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: QCborValueRef& QCborValueRef::operator=(const QCborValue& other)
.
sourcepub unsafe fn copy_from_q_cbor_value_ref(
&self,
other: impl CastInto<Ref<QCborValueRef>>
) -> Ref<QCborValueRef>
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn copy_from_q_cbor_value_ref( &self, other: impl CastInto<Ref<QCborValueRef>> ) -> Ref<QCborValueRef>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: QCborValueRef& QCborValueRef::operator=(const QCborValueRef& other)
.
sourcepub unsafe fn index_q_string(
&self,
key: impl CastInto<Ref<QString>>
) -> CppBox<QCborValue>
Available on cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn index_q_string( &self, key: impl CastInto<Ref<QString>> ) -> CppBox<QCborValue>
cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.If this QCborValueRef refers to a QCborMap, searches elements for the value whose key matches key. If there's no key matching key in the map or if this QCborValueRef object is not a map, returns the undefined value.
Calls C++ function: QCborValue QCborValueRef::operator[](const QString& key) const
.
If this QCborValueRef refers to a QCborMap, searches elements for the value whose key matches key. If there’s no key matching key in the map or if this QCborValueRef object is not a map, returns the undefined value.
This function is equivalent to:
value.toMap().value(key);
See also operator[](qint64), QCborMap::operator[], QCborMap::value(), and QCborMap::find().
sourcepub unsafe fn index_q_latin1_string(
&self,
key: impl CastInto<Ref<QLatin1String>>
) -> CppBox<QCborValue>
Available on cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn index_q_latin1_string( &self, key: impl CastInto<Ref<QLatin1String>> ) -> CppBox<QCborValue>
cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.This is an overloaded function.
Calls C++ function: QCborValue QCborValueRef::operator[](QLatin1String key) const
.
This is an overloaded function.
If this QCborValueRef refers to a QCborMap, searches elements for the value whose key matches key. If there's no key matching key in the map or if this QCborValueRef object is not a map, returns the undefined value.
This function is equivalent to:
value.toMap().value(key);
See also operator[](qint64), QCborMap::operator[], QCborMap::value(), and QCborMap::find().
sourcepub unsafe fn index_i64(&self, key: i64) -> CppBox<QCborValue>
Available on cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn index_i64(&self, key: i64) -> CppBox<QCborValue>
cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.This is an overloaded function.
Calls C++ function: QCborValue QCborValueRef::operator[](qint64 key) const
.
This is an overloaded function.
If this QCborValueRef refers to a QCborMap, searches elements for the value whose key matches key. If this is a QCborArray, returns the element whose index is key. If there's no matching value in the array or map, or if this QCborValueRef object is not an array or map, returns the undefined value.
See also operator[], QCborMap::operator[], QCborMap::value(), QCborMap::find(), QCborArray::operator[], and QCborArray::at().
sourcepub unsafe fn index_i64_mut(&self, key: i64) -> CppBox<QCborValueRef>
Available on cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn index_i64_mut(&self, key: i64) -> CppBox<QCborValueRef>
cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.This is an overloaded function.
Calls C++ function: QCborValueRef QCborValueRef::operator[](qint64 key)
.
This is an overloaded function.
Returns a QCborValueRef that can be used to read or modify the entry in this, as a map or array, with the given key. When this QCborValue is a QCborMap or, for 0 <= key < 0x10000, a QCborArray, this function is equivalent to the matching operator[] on that map or array.
Before returning the reference: if the QCborValue referenced was an array but the key is out of range, the array is first converted to a map (so that map[i]
is array[i]
for each index, i
, with valid array[i]
); otherwise, if it was not a map it will be over-written with an empty map.
See also operator[], QCborMap::operator[], QCborMap::value(), QCborMap::find(), QCborArray::operator[], and QCborArray::at().
sourcepub unsafe fn index_q_latin1_string_mut(
&self,
key: impl CastInto<Ref<QLatin1String>>
) -> CppBox<QCborValueRef>
Available on cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn index_q_latin1_string_mut( &self, key: impl CastInto<Ref<QLatin1String>> ) -> CppBox<QCborValueRef>
cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.This is an overloaded function.
Calls C++ function: QCborValueRef QCborValueRef::operator[](QLatin1String key)
.
This is an overloaded function.
Returns a QCborValueRef that can be used to read or modify the entry in this, as a map, with the given key. When this QCborValue is a QCborMap, this function is equivalent to the matching operator[] on that map.
Before returning the reference: if the QCborValue referenced was an array, it is first converted to a map (so that map[i]
is array[i]
for each index, i
, with valid array[i]
); otherwise, if it was not a map it will be over-written with an empty map.
See also operator[](qint64), QCborMap::operator[], QCborMap::value(), and QCborMap::find().
sourcepub unsafe fn index_q_string_mut(
&self,
key: impl CastInto<Ref<QString>>
) -> CppBox<QCborValueRef>
Available on cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn index_q_string_mut( &self, key: impl CastInto<Ref<QString>> ) -> CppBox<QCborValueRef>
cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Returns a QCborValueRef that can be used to read or modify the entry in this, as a map, with the given key. When this QCborValueRef refers to a QCborMap, this function is equivalent to the matching operator[] on that map.
Calls C++ function: QCborValueRef QCborValueRef::operator[](const QString& key)
.
Returns a QCborValueRef that can be used to read or modify the entry in this, as a map, with the given key. When this QCborValueRef refers to a QCborMap, this function is equivalent to the matching operator[] on that map.
Before returning the reference: if the QCborValue referenced was an array, it is first converted to a map (so that map[i]
is array[i]
for each index, i
, with valid array[i]
); otherwise, if it was not a map it will be over-written with an empty map.
See also operator[](qint64), QCborMap::operator[], QCborMap::value(), and QCborMap::find().
sourcepub unsafe fn is_array(&self) -> bool
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn is_array(&self) -> bool
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: bool QCborValueRef::isArray() const
.
sourcepub unsafe fn is_bool(&self) -> bool
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn is_bool(&self) -> bool
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: bool QCborValueRef::isBool() const
.
sourcepub unsafe fn is_byte_array(&self) -> bool
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn is_byte_array(&self) -> bool
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: bool QCborValueRef::isByteArray() const
.
sourcepub unsafe fn is_container(&self) -> bool
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn is_container(&self) -> bool
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: bool QCborValueRef::isContainer() const
.
sourcepub unsafe fn is_date_time(&self) -> bool
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn is_date_time(&self) -> bool
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: bool QCborValueRef::isDateTime() const
.
sourcepub unsafe fn is_double(&self) -> bool
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn is_double(&self) -> bool
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: bool QCborValueRef::isDouble() const
.
sourcepub unsafe fn is_false(&self) -> bool
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn is_false(&self) -> bool
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: bool QCborValueRef::isFalse() const
.
sourcepub unsafe fn is_integer(&self) -> bool
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn is_integer(&self) -> bool
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: bool QCborValueRef::isInteger() const
.
sourcepub unsafe fn is_invalid(&self) -> bool
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn is_invalid(&self) -> bool
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: bool QCborValueRef::isInvalid() const
.
sourcepub unsafe fn is_map(&self) -> bool
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn is_map(&self) -> bool
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: bool QCborValueRef::isMap() const
.
sourcepub unsafe fn is_null(&self) -> bool
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn is_null(&self) -> bool
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: bool QCborValueRef::isNull() const
.
sourcepub unsafe fn is_regular_expression(&self) -> bool
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn is_regular_expression(&self) -> bool
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: bool QCborValueRef::isRegularExpression() const
.
sourcepub unsafe fn is_simple_type_0a(&self) -> bool
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn is_simple_type_0a(&self) -> bool
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: bool QCborValueRef::isSimpleType() const
.
sourcepub unsafe fn is_simple_type_1a(&self, st: QCborSimpleType) -> bool
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn is_simple_type_1a(&self, st: QCborSimpleType) -> bool
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: bool QCborValueRef::isSimpleType(QCborSimpleType st) const
.
sourcepub unsafe fn is_string(&self) -> bool
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn is_string(&self) -> bool
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: bool QCborValueRef::isString() const
.
sourcepub unsafe fn is_tag(&self) -> bool
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn is_tag(&self) -> bool
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: bool QCborValueRef::isTag() const
.
sourcepub unsafe fn is_true(&self) -> bool
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn is_true(&self) -> bool
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: bool QCborValueRef::isTrue() const
.
sourcepub unsafe fn is_undefined(&self) -> bool
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn is_undefined(&self) -> bool
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: bool QCborValueRef::isUndefined() const
.
sourcepub unsafe fn is_url(&self) -> bool
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn is_url(&self) -> bool
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: bool QCborValueRef::isUrl() const
.
sourcepub unsafe fn is_uuid(&self) -> bool
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn is_uuid(&self) -> bool
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: bool QCborValueRef::isUuid() const
.
sourcepub unsafe fn new_copy(
arg1: impl CastInto<Ref<QCborValueRef>>
) -> CppBox<QCborValueRef>
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn new_copy( arg1: impl CastInto<Ref<QCborValueRef>> ) -> CppBox<QCborValueRef>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: [constructor] void QCborValueRef::QCborValueRef(const QCborValueRef& arg1)
.
sourcepub unsafe fn tag_1a(&self, default_value: QCborTag) -> QCborTag
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn tag_1a(&self, default_value: QCborTag) -> QCborTag
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: QCborTag QCborValueRef::tag(QCborTag defaultValue = …) const
.
sourcepub unsafe fn tag_0a(&self) -> QCborTag
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn tag_0a(&self) -> QCborTag
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: QCborTag QCborValueRef::tag() const
.
sourcepub unsafe fn tagged_value_1a(
&self,
default_value: impl CastInto<Ref<QCborValue>>
) -> CppBox<QCborValue>
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn tagged_value_1a( &self, default_value: impl CastInto<Ref<QCborValue>> ) -> CppBox<QCborValue>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: QCborValue QCborValueRef::taggedValue(const QCborValue& defaultValue = …) const
.
sourcepub unsafe fn tagged_value_0a(&self) -> CppBox<QCborValue>
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn tagged_value_0a(&self) -> CppBox<QCborValue>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: QCborValue QCborValueRef::taggedValue() const
.
sourcepub unsafe fn to_array_0a(&self) -> CppBox<QCborArray>
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn to_array_0a(&self) -> CppBox<QCborArray>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: QCborArray QCborValueRef::toArray() const
.
sourcepub unsafe fn to_array_1a(
&self,
a: impl CastInto<Ref<QCborArray>>
) -> CppBox<QCborArray>
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn to_array_1a( &self, a: impl CastInto<Ref<QCborArray>> ) -> CppBox<QCborArray>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: QCborArray QCborValueRef::toArray(const QCborArray& a) const
.
sourcepub unsafe fn to_bool_1a(&self, default_value: bool) -> bool
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn to_bool_1a(&self, default_value: bool) -> bool
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: bool QCborValueRef::toBool(bool defaultValue = …) const
.
sourcepub unsafe fn to_bool_0a(&self) -> bool
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn to_bool_0a(&self) -> bool
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: bool QCborValueRef::toBool() const
.
sourcepub unsafe fn to_byte_array_1a(
&self,
default_value: impl CastInto<Ref<QByteArray>>
) -> CppBox<QByteArray>
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn to_byte_array_1a( &self, default_value: impl CastInto<Ref<QByteArray>> ) -> CppBox<QByteArray>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: QByteArray QCborValueRef::toByteArray(const QByteArray& defaultValue = …) const
.
sourcepub unsafe fn to_byte_array_0a(&self) -> CppBox<QByteArray>
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn to_byte_array_0a(&self) -> CppBox<QByteArray>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: QByteArray QCborValueRef::toByteArray() const
.
sourcepub unsafe fn to_cbor_q_flags_encoding_option(
&self,
opt: QFlags<EncodingOption>
) -> CppBox<QByteArray>
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn to_cbor_q_flags_encoding_option( &self, opt: QFlags<EncodingOption> ) -> CppBox<QByteArray>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: QByteArray QCborValueRef::toCbor(QFlags<QCborValue::EncodingOption> opt = …)
.
sourcepub unsafe fn to_cbor_q_cbor_stream_writer_q_flags_encoding_option(
&self,
writer: impl CastInto<Ref<QCborStreamWriter>>,
opt: QFlags<EncodingOption>
)
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn to_cbor_q_cbor_stream_writer_q_flags_encoding_option( &self, writer: impl CastInto<Ref<QCborStreamWriter>>, opt: QFlags<EncodingOption> )
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: void QCborValueRef::toCbor(QCborStreamWriter& writer, QFlags<QCborValue::EncodingOption> opt = …)
.
sourcepub unsafe fn to_cbor(&self) -> CppBox<QByteArray>
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn to_cbor(&self) -> CppBox<QByteArray>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: QByteArray QCborValueRef::toCbor()
.
sourcepub unsafe fn to_cbor_q_cbor_stream_writer(
&self,
writer: impl CastInto<Ref<QCborStreamWriter>>
)
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn to_cbor_q_cbor_stream_writer( &self, writer: impl CastInto<Ref<QCborStreamWriter>> )
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: void QCborValueRef::toCbor(QCborStreamWriter& writer)
.
sourcepub unsafe fn to_date_time_1a(
&self,
default_value: impl CastInto<Ref<QDateTime>>
) -> CppBox<QDateTime>
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn to_date_time_1a( &self, default_value: impl CastInto<Ref<QDateTime>> ) -> CppBox<QDateTime>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: QDateTime QCborValueRef::toDateTime(const QDateTime& defaultValue = …) const
.
sourcepub unsafe fn to_date_time_0a(&self) -> CppBox<QDateTime>
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn to_date_time_0a(&self) -> CppBox<QDateTime>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: QDateTime QCborValueRef::toDateTime() const
.
sourcepub unsafe fn to_diagnostic_notation_1a(
&self,
opt: QFlags<DiagnosticNotationOption>
) -> CppBox<QString>
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn to_diagnostic_notation_1a( &self, opt: QFlags<DiagnosticNotationOption> ) -> CppBox<QString>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: QString QCborValueRef::toDiagnosticNotation(QFlags<QCborValue::DiagnosticNotationOption> opt = …)
.
sourcepub unsafe fn to_diagnostic_notation_0a(&self) -> CppBox<QString>
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn to_diagnostic_notation_0a(&self) -> CppBox<QString>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: QString QCborValueRef::toDiagnosticNotation()
.
sourcepub unsafe fn to_double_1a(&self, default_value: c_double) -> c_double
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn to_double_1a(&self, default_value: c_double) -> c_double
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: double QCborValueRef::toDouble(double defaultValue = …) const
.
sourcepub unsafe fn to_double_0a(&self) -> c_double
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn to_double_0a(&self) -> c_double
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: double QCborValueRef::toDouble() const
.
sourcepub unsafe fn to_integer_1a(&self, default_value: i64) -> i64
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn to_integer_1a(&self, default_value: i64) -> i64
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: qint64 QCborValueRef::toInteger(qint64 defaultValue = …) const
.
sourcepub unsafe fn to_integer_0a(&self) -> i64
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn to_integer_0a(&self) -> i64
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: qint64 QCborValueRef::toInteger() const
.
sourcepub unsafe fn to_json_value(&self) -> CppBox<QJsonValue>
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn to_json_value(&self) -> CppBox<QJsonValue>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: QJsonValue QCborValueRef::toJsonValue() const
.
sourcepub unsafe fn to_map_0a(&self) -> CppBox<QCborMap>
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn to_map_0a(&self) -> CppBox<QCborMap>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: QCborMap QCborValueRef::toMap() const
.
sourcepub unsafe fn to_map_1a(
&self,
m: impl CastInto<Ref<QCborMap>>
) -> CppBox<QCborMap>
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn to_map_1a( &self, m: impl CastInto<Ref<QCborMap>> ) -> CppBox<QCborMap>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: QCborMap QCborValueRef::toMap(const QCborMap& m) const
.
sourcepub unsafe fn to_q_cbor_value(&self) -> CppBox<QCborValue>
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn to_q_cbor_value(&self) -> CppBox<QCborValue>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: QCborValue QCborValueRef::operator QCborValue() const
.
sourcepub unsafe fn to_regular_expression_1a(
&self,
default_value: impl CastInto<Ref<QRegularExpression>>
) -> CppBox<QRegularExpression>
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn to_regular_expression_1a( &self, default_value: impl CastInto<Ref<QRegularExpression>> ) -> CppBox<QRegularExpression>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: QRegularExpression QCborValueRef::toRegularExpression(const QRegularExpression& defaultValue = …) const
.
sourcepub unsafe fn to_regular_expression_0a(&self) -> CppBox<QRegularExpression>
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn to_regular_expression_0a(&self) -> CppBox<QRegularExpression>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: QRegularExpression QCborValueRef::toRegularExpression() const
.
sourcepub unsafe fn to_string_1a(
&self,
default_value: impl CastInto<Ref<QString>>
) -> CppBox<QString>
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn to_string_1a( &self, default_value: impl CastInto<Ref<QString>> ) -> CppBox<QString>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: QString QCborValueRef::toString(const QString& defaultValue = …) const
.
sourcepub unsafe fn to_string_0a(&self) -> CppBox<QString>
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn to_string_0a(&self) -> CppBox<QString>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: QString QCborValueRef::toString() const
.
sourcepub unsafe fn to_url_1a(
&self,
default_value: impl CastInto<Ref<QUrl>>
) -> CppBox<QUrl>
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn to_url_1a( &self, default_value: impl CastInto<Ref<QUrl>> ) -> CppBox<QUrl>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: QUrl QCborValueRef::toUrl(const QUrl& defaultValue = …) const
.
sourcepub unsafe fn to_url_0a(&self) -> CppBox<QUrl>
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn to_url_0a(&self) -> CppBox<QUrl>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: QUrl QCborValueRef::toUrl() const
.
sourcepub unsafe fn to_uuid_1a(
&self,
default_value: impl CastInto<Ref<QUuid>>
) -> CppBox<QUuid>
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn to_uuid_1a( &self, default_value: impl CastInto<Ref<QUuid>> ) -> CppBox<QUuid>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: QUuid QCborValueRef::toUuid(const QUuid& defaultValue = …) const
.
sourcepub unsafe fn to_uuid_0a(&self) -> CppBox<QUuid>
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn to_uuid_0a(&self) -> CppBox<QUuid>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: QUuid QCborValueRef::toUuid() const
.
sourcepub unsafe fn to_variant(&self) -> CppBox<QVariant>
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn to_variant(&self) -> CppBox<QVariant>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: QVariant QCborValueRef::toVariant() const
.
Trait Implementations§
source§impl CppDeletable for QCborValueRef
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
impl CppDeletable for QCborValueRef
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.source§impl Lt<Ref<QCborValue>> for QCborValueRef
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
impl Lt<Ref<QCborValue>> for QCborValueRef
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.source§impl PartialEq<Ref<QCborValue>> for QCborValueRef
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
impl PartialEq<Ref<QCborValue>> for QCborValueRef
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.