io.qt.core.QCborValue Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.core;
import io.qt.*;
/**
* Encapsulates a value in CBOR
* Java wrapper for Qt class QCborValue
*/
public class QCborValue extends QtObject
implements java.lang.Comparable,
java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QCborValue.class);
/**
* Java wrapper for Qt enum QCborValue::DiagnosticNotationOption
*
* @see DiagnosticNotationOptions
*/
public enum DiagnosticNotationOption implements QtFlagEnumerator {
/**
* Representing QCborValue:: Compact
*/
Compact(0),
/**
* Representing QCborValue:: LineWrapped
*/
LineWrapped(1),
/**
* Representing QCborValue:: ExtendedFormat
*/
ExtendedFormat(2);
static {
QtJambi_LibraryUtilities.initialize();
}
private DiagnosticNotationOption(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
@Override
public int value() {
return value;
}
/**
* Create a QFlags of the enum entry.
* @return QFlags
*/
@Override
public @NonNull DiagnosticNotationOptions asFlags() {
return new DiagnosticNotationOptions(value);
}
/**
* Combines this entry with other enum entry.
* @param e enum entry
* @return new flag
*/
public @NonNull DiagnosticNotationOptions combined(@NonNull DiagnosticNotationOption e) {
return asFlags().setFlag(e, true);
}
/**
* Excludes other enum entry from a flag of this entry.
* @param e enum entry
* @return new flag
*/
public @NonNull DiagnosticNotationOptions cleared(@NonNull DiagnosticNotationOption e) {
return asFlags().setFlag(e, false);
}
/**
* Creates a new {@link DiagnosticNotationOptions} from the entries.
* @param values entries
* @return new flag
*/
public static @NonNull DiagnosticNotationOptions flags(@Nullable DiagnosticNotationOption @NonNull... values) {
return new DiagnosticNotationOptions(values);
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull DiagnosticNotationOption resolve(int value) {
switch (value) {
case 0: return Compact;
case 1: return LineWrapped;
case 2: return ExtendedFormat;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* {@link QFlags} type for enum {@link DiagnosticNotationOption}
*/
public static final class DiagnosticNotationOptions extends QFlags implements Comparable {
private static final long serialVersionUID = 0xbda75b99cd1984f6L;
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* Creates a new DiagnosticNotationOptions where the flags in args
are set.
* @param args enum entries
*/
public DiagnosticNotationOptions(@Nullable DiagnosticNotationOption @NonNull... args){
super(args);
}
/**
* Creates a new DiagnosticNotationOptions with given value
.
* @param value
*/
public DiagnosticNotationOptions(int value) {
super(value);
}
/**
* Combines this flags with enum entry.
* @param e enum entry
* @return new DiagnosticNotationOptions
*/
@Override
public final @NonNull DiagnosticNotationOptions combined(@StrictNonNull DiagnosticNotationOption e){
return new DiagnosticNotationOptions(value() | e.value());
}
/**
* Sets the flag e
* @param e enum entry
* @return this
*/
@Override
public final @NonNull DiagnosticNotationOptions setFlag(@Nullable DiagnosticNotationOption e){
return setFlag(e, true);
}
/**
* Sets or clears the flag flag
* @param e enum entry
* @param on set (true) or clear (false)
* @return this
*/
@Override
public final @NonNull DiagnosticNotationOptions setFlag(@Nullable DiagnosticNotationOption e, boolean on){
if (on) {
setValue(value() | e.value());
}else {
setValue(value() & ~e.value());
}
return this;
}
/**
* Returns an array of flag objects represented by this DiagnosticNotationOptions.
* @return array of enum entries
*/
@Override
public final @NonNull DiagnosticNotationOption @NonNull[] flags(){
return super.flags(DiagnosticNotationOption.values());
}
/**
* {@inheritDoc}
*/
@Override
public final @NonNull DiagnosticNotationOptions clone(){
return new DiagnosticNotationOptions(value());
}
/**
* {@inheritDoc}
*/
@Override
public final int compareTo(@StrictNonNull DiagnosticNotationOptions other){
return Integer.compare(value(), other.value());
}
}
/**
* Java wrapper for Qt enum QCborValue::EncodingOption
*
* @see EncodingOptions
*/
public enum EncodingOption implements QtFlagEnumerator {
/**
* Representing QCborValue:: SortKeysInMaps
*/
SortKeysInMaps(1),
/**
* Representing QCborValue:: UseFloat
*/
UseFloat(2),
/**
* Representing QCborValue:: UseFloat16
*/
UseFloat16(6),
/**
* Representing QCborValue:: UseIntegers
*/
UseIntegers(8),
/**
* Representing QCborValue:: NoTransformation
*/
NoTransformation(0);
static {
QtJambi_LibraryUtilities.initialize();
}
private EncodingOption(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
@Override
public int value() {
return value;
}
/**
* Create a QFlags of the enum entry.
* @return QFlags
*/
@Override
public @NonNull EncodingOptions asFlags() {
return new EncodingOptions(value);
}
/**
* Combines this entry with other enum entry.
* @param e enum entry
* @return new flag
*/
public @NonNull EncodingOptions combined(@NonNull EncodingOption e) {
return asFlags().setFlag(e, true);
}
/**
* Excludes other enum entry from a flag of this entry.
* @param e enum entry
* @return new flag
*/
public @NonNull EncodingOptions cleared(@NonNull EncodingOption e) {
return asFlags().setFlag(e, false);
}
/**
* Creates a new {@link EncodingOptions} from the entries.
* @param values entries
* @return new flag
*/
public static @NonNull EncodingOptions flags(@Nullable EncodingOption @NonNull... values) {
return new EncodingOptions(values);
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull EncodingOption resolve(int value) {
switch (value) {
case 1: return SortKeysInMaps;
case 2: return UseFloat;
case 6: return UseFloat16;
case 8: return UseIntegers;
case 0: return NoTransformation;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* {@link QFlags} type for enum {@link EncodingOption}
*/
public static final class EncodingOptions extends QFlags implements Comparable {
private static final long serialVersionUID = 0xc05246b15ba9cb40L;
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* Creates a new EncodingOptions where the flags in args
are set.
* @param args enum entries
*/
public EncodingOptions(@Nullable EncodingOption @NonNull... args){
super(args);
}
/**
* Creates a new EncodingOptions with given value
.
* @param value
*/
public EncodingOptions(int value) {
super(value);
}
/**
* Combines this flags with enum entry.
* @param e enum entry
* @return new EncodingOptions
*/
@Override
public final @NonNull EncodingOptions combined(@StrictNonNull EncodingOption e){
return new EncodingOptions(value() | e.value());
}
/**
* Sets the flag e
* @param e enum entry
* @return this
*/
@Override
public final @NonNull EncodingOptions setFlag(@Nullable EncodingOption e){
return setFlag(e, true);
}
/**
* Sets or clears the flag flag
* @param e enum entry
* @param on set (true) or clear (false)
* @return this
*/
@Override
public final @NonNull EncodingOptions setFlag(@Nullable EncodingOption e, boolean on){
if (on) {
setValue(value() | e.value());
}else {
setValue(value() & ~e.value());
}
return this;
}
/**
* Returns an array of flag objects represented by this EncodingOptions.
* @return array of enum entries
*/
@Override
public final @NonNull EncodingOption @NonNull[] flags(){
return super.flags(EncodingOption.values());
}
/**
* {@inheritDoc}
*/
@Override
public final @NonNull EncodingOptions clone(){
return new EncodingOptions(value());
}
/**
* {@inheritDoc}
*/
@Override
public final int compareTo(@StrictNonNull EncodingOptions other){
return Integer.compare(value(), other.value());
}
}
/**
* Java wrapper for Qt enum QCborValue::Type
*/
public enum Type implements QtEnumerator {
/**
* Representing QCborValue:: Integer
*/
Integer(0),
/**
* Representing QCborValue:: ByteArray
*/
ByteArray(64),
/**
* Representing QCborValue:: String
*/
String(96),
/**
* Representing QCborValue:: Array
*/
Array(128),
/**
* Representing QCborValue:: Map
*/
Map(160),
/**
* Representing QCborValue:: Tag
*/
Tag(192),
/**
* Representing QCborValue:: SimpleType
*/
SimpleType(256),
/**
* Representing QCborValue:: False
*/
False(20),
/**
* Representing QCborValue:: True
*/
True(21),
/**
* Representing QCborValue:: Null
*/
Null(22),
/**
* Representing QCborValue:: Undefined
*/
Undefined(23),
/**
* Representing QCborValue:: Double
*/
Double(514),
/**
* Representing QCborValue:: DateTime
*/
DateTime(65536),
/**
* Representing QCborValue:: Url
*/
Url(65568),
/**
* Representing QCborValue:: RegularExpression
*/
RegularExpression(65571),
/**
* Representing QCborValue:: Uuid
*/
Uuid(65573),
/**
* Representing QCborValue:: Invalid
*/
Invalid(-1);
static {
QtJambi_LibraryUtilities.initialize();
}
private Type(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
@Override
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull Type resolve(int value) {
switch (value) {
case 0: return Integer;
case 64: return ByteArray;
case 96: return String;
case 128: return Array;
case 160: return Map;
case 192: return Tag;
case 256: return SimpleType;
case 20: return False;
case 21: return True;
case 22: return Null;
case 23: return Undefined;
case 514: return Double;
case 65536: return DateTime;
case 65568: return Url;
case 65571: return RegularExpression;
case 65573: return Uuid;
case -1: return Invalid;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
*
*/
public QCborValue(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QCborValue instance);
/**
* See QCborValue:: QCborValue(QByteArray)
*/
public QCborValue(io.qt.core.@NonNull QByteArray ba){
super((QPrivateConstructor)null);
initialize_native(this, ba);
}
private native static void initialize_native(QCborValue instance, io.qt.core.QByteArray ba);
/**
* See QCborValue:: QCborValue(QCborArray)
*/
public QCborValue(io.qt.core.@NonNull QCborArray a){
super((QPrivateConstructor)null);
initialize_native(this, a);
}
private native static void initialize_native(QCborValue instance, io.qt.core.QCborArray a);
/**
* See QCborValue:: QCborValue(QCborKnownTags, QCborValue)
*/
public QCborValue(io.qt.core.@NonNull QCborKnownTags t_, io.qt.core.@NonNull QCborValue tv){
super((QPrivateConstructor)null);
initialize_native(this, t_, tv);
}
private native static void initialize_native(QCborValue instance, io.qt.core.QCborKnownTags t_, io.qt.core.QCborValue tv);
/**
* See QCborValue:: QCborValue(QCborMap)
*/
public QCborValue(io.qt.core.@NonNull QCborMap m){
super((QPrivateConstructor)null);
initialize_native(this, m);
}
private native static void initialize_native(QCborValue instance, io.qt.core.QCborMap m);
/**
* See QCborValue:: QCborValue(QCborSimpleType)
*/
public QCborValue(io.qt.core.@NonNull QCborSimpleType st){
super((QPrivateConstructor)null);
initialize_native(this, st);
}
private native static void initialize_native(QCborValue instance, io.qt.core.QCborSimpleType st);
/**
* See QCborValue:: QCborValue(QCborTag, QCborValue)
*/
public QCborValue(io.qt.core.@NonNull QCborTag tag, io.qt.core.@NonNull QCborValue taggedValue){
super((QPrivateConstructor)null);
initialize_native(this, tag, taggedValue);
}
private native static void initialize_native(QCborValue instance, io.qt.core.QCborTag tag, io.qt.core.QCborValue taggedValue);
/**
* See QCborValue:: QCborValue(QCborValue)
*/
public QCborValue(io.qt.core.@NonNull QCborValue other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QCborValue instance, io.qt.core.QCborValue other);
/**
* See QCborValue:: QCborValue(QCborValue::Type)
*/
public QCborValue(io.qt.core.QCborValue.@NonNull Type t_){
super((QPrivateConstructor)null);
initialize_native(this, t_);
}
private native static void initialize_native(QCborValue instance, io.qt.core.QCborValue.Type t_);
/**
* See QCborValue:: QCborValue(QDateTime)
*/
public QCborValue(io.qt.core.@NonNull QDateTime dt){
super((QPrivateConstructor)null);
initialize_native(this, dt);
}
private native static void initialize_native(QCborValue instance, io.qt.core.QDateTime dt);
/**
* See QCborValue:: QCborValue(QRegularExpression)
*/
public QCborValue(io.qt.core.@NonNull QRegularExpression rx){
super((QPrivateConstructor)null);
initialize_native(this, rx);
}
private native static void initialize_native(QCborValue instance, io.qt.core.QRegularExpression rx);
/**
* See QCborValue:: QCborValue(QString)
*/
public QCborValue(java.lang.@NonNull String s){
super((QPrivateConstructor)null);
initialize_native(this, s);
}
private native static void initialize_native(QCborValue instance, java.lang.String s);
/**
* See QCborValue:: QCborValue(QUrl)
*/
public QCborValue(io.qt.core.@NonNull QUrl url){
super((QPrivateConstructor)null);
initialize_native(this, url);
}
private native static void initialize_native(QCborValue instance, io.qt.core.QUrl url);
/**
* See QCborValue:: QCborValue(QUuid)
*/
public QCborValue(io.qt.core.@NonNull QUuid uuid){
super((QPrivateConstructor)null);
initialize_native(this, uuid);
}
private native static void initialize_native(QCborValue instance, io.qt.core.QUuid uuid);
/**
* See QCborValue:: QCborValue(bool)
*/
public QCborValue(boolean b_){
super((QPrivateConstructor)null);
initialize_native(this, b_);
}
private native static void initialize_native(QCborValue instance, boolean b_);
/**
* See QCborValue:: QCborValue(double)
*/
public QCborValue(double v){
super((QPrivateConstructor)null);
initialize_native(this, v);
}
private native static void initialize_native(QCborValue instance, double v);
/**
* See QCborValue:: QCborValue(int)
*/
public QCborValue(int i){
super((QPrivateConstructor)null);
initialize_native(this, i);
}
private native static void initialize_native(QCborValue instance, int i);
/**
* See QCborValue:: QCborValue(qint64)
*/
public QCborValue(long i){
super((QPrivateConstructor)null);
initialize_native(this, i);
}
private native static void initialize_native(QCborValue instance, long i);
/**
* See QCborValue:: compare(QCborValue)const
*/
@QtUninvokable
public final int compare(io.qt.core.@NonNull QCborValue other){
return compare_native_cref_QCborValue_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native int compare_native_cref_QCborValue_constfct(long __this__nativeId, long other);
/**
* See QCborValue:: isArray()const
*/
@QtUninvokable
public final boolean isArray(){
return isArray_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isArray_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final boolean isBool(){
return isBool_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isBool_native_constfct(long __this__nativeId);
/**
* See QCborValue:: isByteArray()const
*/
@QtUninvokable
public final boolean isByteArray(){
return isByteArray_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isByteArray_native_constfct(long __this__nativeId);
/**
* See QCborValue:: isContainer()const
*/
@QtUninvokable
public final boolean isContainer(){
return isContainer_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isContainer_native_constfct(long __this__nativeId);
/**
* See QCborValue:: isDateTime()const
*/
@QtUninvokable
public final boolean isDateTime(){
return isDateTime_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isDateTime_native_constfct(long __this__nativeId);
/**
* See QCborValue:: isDouble()const
*/
@QtUninvokable
public final boolean isDouble(){
return isDouble_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isDouble_native_constfct(long __this__nativeId);
/**
* See QCborValue:: isFalse()const
*/
@QtUninvokable
public final boolean isFalse(){
return isFalse_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isFalse_native_constfct(long __this__nativeId);
/**
* See QCborValue:: isInteger()const
*/
@QtUninvokable
public final boolean isInteger(){
return isInteger_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isInteger_native_constfct(long __this__nativeId);
/**
* See QCborValue:: isInvalid()const
*/
@QtUninvokable
public final boolean isInvalid(){
return isInvalid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isInvalid_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final boolean isMap(){
return isMap_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isMap_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final boolean isNull(){
return isNull_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isNull_native_constfct(long __this__nativeId);
/**
* See QCborValue:: isRegularExpression()const
*/
@QtUninvokable
public final boolean isRegularExpression(){
return isRegularExpression_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isRegularExpression_native_constfct(long __this__nativeId);
/**
* See QCborValue:: isSimpleType()const
*/
@QtUninvokable
public final boolean isSimpleType(){
return isSimpleType_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isSimpleType_native_constfct(long __this__nativeId);
/**
* See QCborValue:: isSimpleType(QCborSimpleType)const
*/
@QtUninvokable
public final boolean isSimpleType(io.qt.core.@NonNull QCborSimpleType st){
return isSimpleType_native_QCborSimpleType_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), st.value());
}
@QtUninvokable
private native boolean isSimpleType_native_QCborSimpleType_constfct(long __this__nativeId, byte st);
/**
* See QCborValue:: isString()const
*/
@QtUninvokable
public final boolean isString(){
return isString_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isString_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final boolean isTag(){
return isTag_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isTag_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final boolean isTrue(){
return isTrue_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isTrue_native_constfct(long __this__nativeId);
/**
* See QCborValue:: isUndefined()const
*/
@QtUninvokable
public final boolean isUndefined(){
return isUndefined_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isUndefined_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final boolean isUrl(){
return isUrl_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isUrl_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final boolean isUuid(){
return isUuid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isUuid_native_constfct(long __this__nativeId);
/**
* See QCborValue:: operator<(QCborValue)const
*/
@QtUninvokable
private final boolean operator_less(io.qt.core.@NonNull QCborValue other){
return operator_less_native_cref_QCborValue_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native boolean operator_less_native_cref_QCborValue_constfct(long __this__nativeId, long other);
/**
* See operator<<(QDataStream&, QCborValue)
*/
@QtUninvokable
public void writeTo(io.qt.core.@StrictNonNull QDataStream arg__1){
java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected.");
writeTo_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void writeTo_native_ref_QDataStream(long __this__nativeId, long arg__1);
/**
* See QCborValue:: operator=(QCborValue)
*/
@QtUninvokable
public final void assign(io.qt.core.@NonNull QCborValue other){
assign_native_cref_QCborValue(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QCborValue(long __this__nativeId, long other);
/**
* See QCborValue:: operator==(QCborValue)const
*/
@QtUninvokable
public final boolean equals(io.qt.core.@NonNull QCborValue other){
return equals_native_cref_QCborValue_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native boolean equals_native_cref_QCborValue_constfct(long __this__nativeId, long other);
/**
* See operator>>(QDataStream&, QCborValue&)
*/
@QtUninvokable
public void readFrom(io.qt.core.@StrictNonNull QDataStream arg__1){
java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected.");
readFrom_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void readFrom_native_ref_QDataStream(long __this__nativeId, long arg__1);
/**
* See QCborValue:: operator[](QString)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QCborValue get(java.lang.@NonNull String key){
return get_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), key);
}
@QtUninvokable
private native io.qt.core.QCborValue get_native_cref_QString_constfct(long __this__nativeId, java.lang.String key);
/**
* See QCborValue:: operator[](QString)
*/
@QtUninvokable
public final void set(java.lang.@NonNull String key, io.qt.core.@NonNull QCborValue value){
set_native_cref_QString_const_QCborValue(QtJambi_LibraryUtilities.internal.nativeId(this), key, QtJambi_LibraryUtilities.internal.checkedNativeId(value));
}
@QtUninvokable
private native void set_native_cref_QString_const_QCborValue(long __this__nativeId, java.lang.String key, long value);
/**
* See QCborValue:: operator[](qint64)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QCborValue get(long key){
return get_native_qint64_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), key);
}
@QtUninvokable
private native io.qt.core.QCborValue get_native_qint64_constfct(long __this__nativeId, long key);
/**
* See QCborValue:: operator[](qint64)
*/
@QtUninvokable
public final void set(long key, io.qt.core.@NonNull QCborValue value){
set_native_qint64_const_QCborValue(QtJambi_LibraryUtilities.internal.nativeId(this), key, QtJambi_LibraryUtilities.internal.checkedNativeId(value));
}
@QtUninvokable
private native void set_native_qint64_const_QCborValue(long __this__nativeId, long key, long value);
/**
* See QCborValue:: swap(QCborValue&)
*/
@QtUninvokable
public final void swap(io.qt.core.@StrictNonNull QCborValue other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
swap_native_ref_QCborValue(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void swap_native_ref_QCborValue(long __this__nativeId, long other);
/**
* See QCborValue:: tag(QCborTag)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QCborTag tag(io.qt.core.@NonNull QCborTag defaultValue){
return io.qt.core.QCborTag.resolve(tag_native_QCborTag_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), defaultValue.value()));
}
@QtUninvokable
private native long tag_native_QCborTag_constfct(long __this__nativeId, long defaultValue);
/**
* See QCborValue:: taggedValue(QCborValue)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QCborValue taggedValue(io.qt.core.@NonNull QCborValue defaultValue){
return taggedValue_native_cref_QCborValue_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(defaultValue));
}
@QtUninvokable
private native io.qt.core.QCborValue taggedValue_native_cref_QCborValue_constfct(long __this__nativeId, long defaultValue);
/**
* See QCborValue:: toArray()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QCborArray toArray(){
return toArray_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QCborArray toArray_native_constfct(long __this__nativeId);
/**
* See QCborValue:: toArray(QCborArray)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QCborArray toArray(io.qt.core.@NonNull QCborArray defaultValue){
return toArray_native_cref_QCborArray_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(defaultValue));
}
@QtUninvokable
private native io.qt.core.QCborArray toArray_native_cref_QCborArray_constfct(long __this__nativeId, long defaultValue);
/**
* See QCborValue:: toBool(bool)const
*/
@QtUninvokable
public final boolean toBool(boolean defaultValue){
return toBool_native_bool_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), defaultValue);
}
@QtUninvokable
private native boolean toBool_native_bool_constfct(long __this__nativeId, boolean defaultValue);
/**
* See QCborValue:: toByteArray(QByteArray)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray toByteArray(io.qt.core.@NonNull QByteArray defaultValue){
return toByteArray_native_cref_QByteArray_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(defaultValue));
}
@QtUninvokable
private native io.qt.core.QByteArray toByteArray_native_cref_QByteArray_constfct(long __this__nativeId, long defaultValue);
/**
* See QCborValue:: toCbor(QCborStreamWriter&, QCborValue::EncodingOptions)const
*/
@QtUninvokable
public final void toCbor(io.qt.core.@StrictNonNull QCborStreamWriter writer, io.qt.core.QCborValue.@NonNull EncodingOptions opt){
java.util.Objects.requireNonNull(writer, "Argument 'writer': null not expected.");
toCbor_native_ref_QCborStreamWriter_QCborValue_EncodingOptions_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(writer), opt.value());
}
@QtUninvokable
private native void toCbor_native_ref_QCborStreamWriter_QCborValue_EncodingOptions_constfct(long __this__nativeId, long writer, int opt);
/**
* See QCborValue:: toCbor(QCborValue::EncodingOptions)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray toCbor(io.qt.core.QCborValue.@NonNull EncodingOptions opt){
return toCbor_native_QCborValue_EncodingOptions_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), opt.value());
}
@QtUninvokable
private native io.qt.core.QByteArray toCbor_native_QCborValue_EncodingOptions_constfct(long __this__nativeId, int opt);
/**
* See QCborValue:: toDateTime(QDateTime)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QDateTime toDateTime(io.qt.core.@NonNull QDateTime defaultValue){
return toDateTime_native_cref_QDateTime_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(defaultValue));
}
@QtUninvokable
private native io.qt.core.QDateTime toDateTime_native_cref_QDateTime_constfct(long __this__nativeId, long defaultValue);
/**
* See QCborValue:: toDiagnosticNotation(QCborValue::DiagnosticNotationOptions)const
*/
@QtUninvokable
public final java.lang.@NonNull String toDiagnosticNotation(io.qt.core.QCborValue.@NonNull DiagnosticNotationOptions opts){
return toDiagnosticNotation_native_QCborValue_DiagnosticNotationOptions_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), opts.value());
}
@QtUninvokable
private native java.lang.String toDiagnosticNotation_native_QCborValue_DiagnosticNotationOptions_constfct(long __this__nativeId, int opts);
/**
* See QCborValue:: toDouble(double)const
*/
@QtUninvokable
public final double toDouble(double defaultValue){
return toDouble_native_double_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), defaultValue);
}
@QtUninvokable
private native double toDouble_native_double_constfct(long __this__nativeId, double defaultValue);
/**
* See QCborValue:: toInteger(qint64)const
*/
@QtUninvokable
public final long toInteger(long defaultValue){
return toInteger_native_qint64_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), defaultValue);
}
@QtUninvokable
private native long toInteger_native_qint64_constfct(long __this__nativeId, long defaultValue);
/**
* See QCborValue:: toJsonValue()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QJsonValue toJsonValue(){
return toJsonValue_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QJsonValue toJsonValue_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QCborMap toMap(){
return toMap_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QCborMap toMap_native_constfct(long __this__nativeId);
/**
* See QCborValue:: toMap(QCborMap)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QCborMap toMap(io.qt.core.@NonNull QCborMap defaultValue){
return toMap_native_cref_QCborMap_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(defaultValue));
}
@QtUninvokable
private native io.qt.core.QCborMap toMap_native_cref_QCborMap_constfct(long __this__nativeId, long defaultValue);
/**
* See QCborValue:: toRegularExpression(QRegularExpression)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QRegularExpression toRegularExpression(io.qt.core.@NonNull QRegularExpression defaultValue){
return toRegularExpression_native_cref_QRegularExpression_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(defaultValue));
}
@QtUninvokable
private native io.qt.core.QRegularExpression toRegularExpression_native_cref_QRegularExpression_constfct(long __this__nativeId, long defaultValue);
/**
* See QCborValue:: toSimpleType(QCborSimpleType)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QCborSimpleType toSimpleType(io.qt.core.@NonNull QCborSimpleType defaultValue){
return io.qt.core.QCborSimpleType.resolve(toSimpleType_native_QCborSimpleType_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), defaultValue.value()));
}
@QtUninvokable
private native byte toSimpleType_native_QCborSimpleType_constfct(long __this__nativeId, byte defaultValue);
/**
* See QCborValue:: toString(QString)const
*/
@QtUninvokable
public final java.lang.@NonNull String toString(java.lang.@NonNull String defaultValue){
return toString_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), defaultValue);
}
@QtUninvokable
private native java.lang.String toString_native_cref_QString_constfct(long __this__nativeId, java.lang.String defaultValue);
/**
* See QCborValue:: toUrl(QUrl)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QUrl toUrl(io.qt.core.@NonNull QUrl defaultValue){
return toUrl_native_cref_QUrl_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(defaultValue));
}
@QtUninvokable
private native io.qt.core.QUrl toUrl_native_cref_QUrl_constfct(long __this__nativeId, long defaultValue);
/**
* See QCborValue:: toUuid(QUuid)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QUuid toUuid(io.qt.core.@NonNull QUuid defaultValue){
return toUuid_native_cref_QUuid_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(defaultValue));
}
@QtUninvokable
private native io.qt.core.QUuid toUuid_native_cref_QUuid_constfct(long __this__nativeId, long defaultValue);
/**
* See QCborValue:: toVariant()const
*/
@QtUninvokable
public final java.lang.Object toVariant(){
return toVariant_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.Object toVariant_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final io.qt.core.QCborValue.@NonNull Type type(){
return io.qt.core.QCborValue.Type.resolve(type_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int type_native_constfct(long __this__nativeId);
/**
* See QCborValue:: fromCbor(QByteArray, QCborParserError*)
*/
public static io.qt.core.QCborValue.@StrictNonNull FromCborResult fromCbor(io.qt.core.@NonNull QByteArray ba){
return fromCbor_native_cref_QByteArray_QCborParserError_ptr(QtJambi_LibraryUtilities.internal.checkedNativeId(ba));
}
private native static io.qt.core.QCborValue.FromCborResult fromCbor_native_cref_QByteArray_QCborParserError_ptr(long ba);
/**
* See QCborValue:: fromCbor(QCborStreamReader&)
*/
public static io.qt.core.@NonNull QCborValue fromCbor(io.qt.core.@StrictNonNull QCborStreamReader reader){
java.util.Objects.requireNonNull(reader, "Argument 'reader': null not expected.");
return fromCbor_native_ref_QCborStreamReader(QtJambi_LibraryUtilities.internal.checkedNativeId(reader));
}
private native static io.qt.core.QCborValue fromCbor_native_ref_QCborStreamReader(long reader);
/**
* See QCborValue:: fromJsonValue(QJsonValue)
*/
public static io.qt.core.@NonNull QCborValue fromJsonValue(io.qt.core.@NonNull QJsonValue v){
return fromJsonValue_native_cref_QJsonValue(QtJambi_LibraryUtilities.internal.checkedNativeId(v));
}
private native static io.qt.core.QCborValue fromJsonValue_native_cref_QJsonValue(long v);
/**
* See QCborValue:: fromVariant(QVariant)
*/
public native static io.qt.core.@NonNull QCborValue fromVariant(java.lang.Object variant);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QCborValue(QPrivateConstructor p) { super(p); }
/**
* See QCborValue:: operator==(QCborValue)const
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other==null || other instanceof io.qt.core.QCborValue) {
return equals((io.qt.core.QCborValue) other);
}
return false;
}
/**
* See QCborValue:: operator<(QCborValue)const
*/
@QtUninvokable
public int compareTo(io.qt.core.@StrictNonNull QCborValue other) {
if (equals(other)) return 0;
else if (operator_less(other)) return -1;
else return 1;
}
/**
* Returns the objects's hash code computed by qHash(QCborValue)
.
*/
@QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native static int hashCode_native(long __this_nativeId);
/**
* Result class for {@link #fromCbor(QByteArray)}
*/
public static final class FromCborResult{
private FromCborResult(QCborValue value, QCborParserError error) {
super();
this.value = value;
this.error = error;
}
public final QCborValue value;
public final QCborParserError error;
}
/**
* Creates and returns a copy of this object.
See QCborValue:: QCborValue(QCborValue)
*/
@QtUninvokable
@Override
public QCborValue clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QCborValue clone_native(long __this_nativeId);
/**
* Overloaded constructor for {@link #QCborValue(io.qt.core.QByteArray)}.
*/
public QCborValue(byte @NonNull[] ba) {
this(new io.qt.core.QByteArray(ba));
}
/**
* Overloaded constructor for {@link #QCborValue(io.qt.core.QCborKnownTags, io.qt.core.QCborValue)}
* with tv = new io.qt.core.QCborValue()
.
*/
public QCborValue(io.qt.core.@NonNull QCborKnownTags t_) {
this(t_, new io.qt.core.QCborValue());
}
/**
* Overloaded constructor for {@link #QCborValue(io.qt.core.QCborKnownTags, io.qt.core.QCborValue)}.
*/
public QCborValue(io.qt.core.@NonNull QCborKnownTags t_, io.qt.core.QCborValue.@NonNull Type tv) {
this(t_, new io.qt.core.QCborValue(tv));
}
/**
* Overloaded constructor for {@link #QCborValue(io.qt.core.QCborKnownTags, io.qt.core.QCborValue)}.
*/
public QCborValue(io.qt.core.@NonNull QCborKnownTags t_, boolean tv) {
this(t_, new io.qt.core.QCborValue(tv));
}
/**
* Overloaded constructor for {@link #QCborValue(io.qt.core.QCborKnownTags, io.qt.core.QCborValue)}.
*/
public QCborValue(io.qt.core.@NonNull QCborKnownTags t_, int tv) {
this(t_, new io.qt.core.QCborValue(tv));
}
/**
* Overloaded constructor for {@link #QCborValue(io.qt.core.QCborKnownTags, io.qt.core.QCborValue)}.
*/
public QCborValue(io.qt.core.@NonNull QCborKnownTags t_, long tv) {
this(t_, new io.qt.core.QCborValue(tv));
}
/**
* Overloaded constructor for {@link #QCborValue(io.qt.core.QCborKnownTags, io.qt.core.QCborValue)}.
*/
public QCborValue(io.qt.core.@NonNull QCborKnownTags t_, double tv) {
this(t_, new io.qt.core.QCborValue(tv));
}
/**
* Overloaded constructor for {@link #QCborValue(io.qt.core.QCborKnownTags, io.qt.core.QCborValue)}.
*/
public QCborValue(io.qt.core.@NonNull QCborKnownTags t_, io.qt.core.@NonNull QCborSimpleType tv) {
this(t_, new io.qt.core.QCborValue(tv));
}
/**
* Overloaded constructor for {@link #QCborValue(io.qt.core.QCborKnownTags, io.qt.core.QCborValue)}.
*/
public QCborValue(io.qt.core.@NonNull QCborKnownTags t_, io.qt.core.@NonNull QByteArray tv) {
this(t_, new io.qt.core.QCborValue(tv));
}
/**
* Overloaded constructor for {@link #QCborValue(io.qt.core.QCborKnownTags, io.qt.core.QCborValue)}.
*/
public QCborValue(io.qt.core.@NonNull QCborKnownTags t_, java.lang.@NonNull String tv) {
this(t_, new io.qt.core.QCborValue(tv));
}
/**
* Overloaded constructor for {@link #QCborValue(io.qt.core.QCborKnownTags, io.qt.core.QCborValue)}.
*/
public QCborValue(io.qt.core.@NonNull QCborKnownTags t_, io.qt.core.@NonNull QCborArray tv) {
this(t_, new io.qt.core.QCborValue(tv));
}
/**
* Overloaded constructor for {@link #QCborValue(io.qt.core.QCborKnownTags, io.qt.core.QCborValue)}.
*/
public QCborValue(io.qt.core.@NonNull QCborKnownTags t_, io.qt.core.@NonNull QCborMap tv) {
this(t_, new io.qt.core.QCborValue(tv));
}
/**
* Overloaded constructor for {@link #QCborValue(io.qt.core.QCborKnownTags, io.qt.core.QCborValue)}.
*/
public QCborValue(io.qt.core.@NonNull QCborKnownTags t_, io.qt.core.@NonNull QCborTag tv) {
this(t_, new io.qt.core.QCborValue(tv));
}
/**
* Overloaded constructor for {@link #QCborValue(io.qt.core.QCborKnownTags, io.qt.core.QCborValue)}.
*/
public QCborValue(io.qt.core.@NonNull QCborKnownTags t_, io.qt.core.@NonNull QCborKnownTags tv) {
this(t_, new io.qt.core.QCborValue(tv));
}
/**
* Overloaded constructor for {@link #QCborValue(io.qt.core.QCborTag, io.qt.core.QCborValue)}
* with taggedValue = new io.qt.core.QCborValue()
.
*/
public QCborValue(io.qt.core.@NonNull QCborTag tag) {
this(tag, new io.qt.core.QCborValue());
}
/**
* Overloaded constructor for {@link #QCborValue(io.qt.core.QCborTag, io.qt.core.QCborValue)}.
*/
public QCborValue(io.qt.core.@NonNull QCborTag tag, io.qt.core.QCborValue.@NonNull Type taggedValue) {
this(tag, new io.qt.core.QCborValue(taggedValue));
}
/**
* Overloaded constructor for {@link #QCborValue(io.qt.core.QCborTag, io.qt.core.QCborValue)}.
*/
public QCborValue(io.qt.core.@NonNull QCborTag tag, boolean taggedValue) {
this(tag, new io.qt.core.QCborValue(taggedValue));
}
/**
* Overloaded constructor for {@link #QCborValue(io.qt.core.QCborTag, io.qt.core.QCborValue)}.
*/
public QCborValue(io.qt.core.@NonNull QCborTag tag, int taggedValue) {
this(tag, new io.qt.core.QCborValue(taggedValue));
}
/**
* Overloaded constructor for {@link #QCborValue(io.qt.core.QCborTag, io.qt.core.QCborValue)}.
*/
public QCborValue(io.qt.core.@NonNull QCborTag tag, long taggedValue) {
this(tag, new io.qt.core.QCborValue(taggedValue));
}
/**
* Overloaded constructor for {@link #QCborValue(io.qt.core.QCborTag, io.qt.core.QCborValue)}.
*/
public QCborValue(io.qt.core.@NonNull QCborTag tag, double taggedValue) {
this(tag, new io.qt.core.QCborValue(taggedValue));
}
/**
* Overloaded constructor for {@link #QCborValue(io.qt.core.QCborTag, io.qt.core.QCborValue)}.
*/
public QCborValue(io.qt.core.@NonNull QCborTag tag, io.qt.core.@NonNull QCborSimpleType taggedValue) {
this(tag, new io.qt.core.QCborValue(taggedValue));
}
/**
* Overloaded constructor for {@link #QCborValue(io.qt.core.QCborTag, io.qt.core.QCborValue)}.
*/
public QCborValue(io.qt.core.@NonNull QCborTag tag, io.qt.core.@NonNull QByteArray taggedValue) {
this(tag, new io.qt.core.QCborValue(taggedValue));
}
/**
* Overloaded constructor for {@link #QCborValue(io.qt.core.QCborTag, io.qt.core.QCborValue)}.
*/
public QCborValue(io.qt.core.@NonNull QCborTag tag, java.lang.@NonNull String taggedValue) {
this(tag, new io.qt.core.QCborValue(taggedValue));
}
/**
* Overloaded constructor for {@link #QCborValue(io.qt.core.QCborTag, io.qt.core.QCborValue)}.
*/
public QCborValue(io.qt.core.@NonNull QCborTag tag, io.qt.core.@NonNull QCborArray taggedValue) {
this(tag, new io.qt.core.QCborValue(taggedValue));
}
/**
* Overloaded constructor for {@link #QCborValue(io.qt.core.QCborTag, io.qt.core.QCborValue)}.
*/
public QCborValue(io.qt.core.@NonNull QCborTag tag, io.qt.core.@NonNull QCborMap taggedValue) {
this(tag, new io.qt.core.QCborValue(taggedValue));
}
/**
* Overloaded constructor for {@link #QCborValue(io.qt.core.QCborTag, io.qt.core.QCborValue)}.
*/
public QCborValue(io.qt.core.@NonNull QCborTag tag, io.qt.core.@NonNull QCborTag taggedValue) {
this(tag, new io.qt.core.QCborValue(taggedValue));
}
/**
* Overloaded constructor for {@link #QCborValue(io.qt.core.QCborTag, io.qt.core.QCborValue)}.
*/
public QCborValue(io.qt.core.@NonNull QCborTag tag, io.qt.core.@NonNull QCborKnownTags taggedValue) {
this(tag, new io.qt.core.QCborValue(taggedValue));
}
/**
* Overloaded function for {@link #compare(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final int compare(io.qt.core.QCborValue.@NonNull Type other) {
return compare(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #compare(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final int compare(boolean other) {
return compare(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #compare(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final int compare(int other) {
return compare(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #compare(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final int compare(long other) {
return compare(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #compare(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final int compare(double other) {
return compare(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #compare(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final int compare(io.qt.core.@NonNull QCborSimpleType other) {
return compare(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #compare(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final int compare(io.qt.core.@NonNull QByteArray other) {
return compare(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #compare(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final int compare(java.lang.@NonNull String other) {
return compare(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #compare(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final int compare(io.qt.core.@NonNull QCborArray other) {
return compare(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #compare(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final int compare(io.qt.core.@NonNull QCborMap other) {
return compare(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #compare(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final int compare(io.qt.core.@NonNull QCborTag other) {
return compare(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #compare(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final int compare(io.qt.core.@NonNull QCborKnownTags other) {
return compare(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #operator_less(io.qt.core.QCborValue)}.
*/
@QtUninvokable
private final boolean operator_less(io.qt.core.QCborValue.@NonNull Type other) {
return operator_less(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #operator_less(io.qt.core.QCborValue)}.
*/
@QtUninvokable
private final boolean operator_less(boolean other) {
return operator_less(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #operator_less(io.qt.core.QCborValue)}.
*/
@QtUninvokable
private final boolean operator_less(int other) {
return operator_less(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #operator_less(io.qt.core.QCborValue)}.
*/
@QtUninvokable
private final boolean operator_less(long other) {
return operator_less(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #operator_less(io.qt.core.QCborValue)}.
*/
@QtUninvokable
private final boolean operator_less(double other) {
return operator_less(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #operator_less(io.qt.core.QCborValue)}.
*/
@QtUninvokable
private final boolean operator_less(io.qt.core.@NonNull QCborSimpleType other) {
return operator_less(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #operator_less(io.qt.core.QCborValue)}.
*/
@QtUninvokable
private final boolean operator_less(io.qt.core.@NonNull QByteArray other) {
return operator_less(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #operator_less(io.qt.core.QCborValue)}.
*/
@QtUninvokable
private final boolean operator_less(java.lang.@NonNull String other) {
return operator_less(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #operator_less(io.qt.core.QCborValue)}.
*/
@QtUninvokable
private final boolean operator_less(io.qt.core.@NonNull QCborArray other) {
return operator_less(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #operator_less(io.qt.core.QCborValue)}.
*/
@QtUninvokable
private final boolean operator_less(io.qt.core.@NonNull QCborMap other) {
return operator_less(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #operator_less(io.qt.core.QCborValue)}.
*/
@QtUninvokable
private final boolean operator_less(io.qt.core.@NonNull QCborTag other) {
return operator_less(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #operator_less(io.qt.core.QCborValue)}.
*/
@QtUninvokable
private final boolean operator_less(io.qt.core.@NonNull QCborKnownTags other) {
return operator_less(new io.qt.core.QCborValue(other));
}
/**
* @deprecated Use {@link #assign(io.qt.core.QCborValue)} instead.
*/
@Deprecated
@QtUninvokable
public final void set(io.qt.core.@NonNull QCborValue other) {
assign(other);
}
/**
* @deprecated Use {@link #assign(io.qt.core.QCborValue.Type)} instead.
*/
@Deprecated
@QtUninvokable
public final void set(io.qt.core.QCborValue.@NonNull Type other) {
assign(new io.qt.core.QCborValue(other));
}
/**
* @deprecated Use {@link #assign(boolean)} instead.
*/
@Deprecated
@QtUninvokable
public final void set(boolean other) {
assign(new io.qt.core.QCborValue(other));
}
/**
* @deprecated Use {@link #assign(int)} instead.
*/
@Deprecated
@QtUninvokable
public final void set(int other) {
assign(new io.qt.core.QCborValue(other));
}
/**
* @deprecated Use {@link #assign(long)} instead.
*/
@Deprecated
@QtUninvokable
public final void set(long other) {
assign(new io.qt.core.QCborValue(other));
}
/**
* @deprecated Use {@link #assign(double)} instead.
*/
@Deprecated
@QtUninvokable
public final void set(double other) {
assign(new io.qt.core.QCborValue(other));
}
/**
* @deprecated Use {@link #assign(io.qt.core.QCborSimpleType)} instead.
*/
@Deprecated
@QtUninvokable
public final void set(io.qt.core.@NonNull QCborSimpleType other) {
assign(new io.qt.core.QCborValue(other));
}
/**
* @deprecated Use {@link #assign(io.qt.core.QByteArray)} instead.
*/
@Deprecated
@QtUninvokable
public final void set(io.qt.core.@NonNull QByteArray other) {
assign(new io.qt.core.QCborValue(other));
}
/**
* @deprecated Use {@link #assign(java.lang.String)} instead.
*/
@Deprecated
@QtUninvokable
public final void set(java.lang.@NonNull String other) {
assign(new io.qt.core.QCborValue(other));
}
/**
* @deprecated Use {@link #assign(io.qt.core.QCborArray)} instead.
*/
@Deprecated
@QtUninvokable
public final void set(io.qt.core.@NonNull QCborArray other) {
assign(new io.qt.core.QCborValue(other));
}
/**
* @deprecated Use {@link #assign(io.qt.core.QCborMap)} instead.
*/
@Deprecated
@QtUninvokable
public final void set(io.qt.core.@NonNull QCborMap other) {
assign(new io.qt.core.QCborValue(other));
}
/**
* @deprecated Use {@link #assign(io.qt.core.QCborTag)} instead.
*/
@Deprecated
@QtUninvokable
public final void set(io.qt.core.@NonNull QCborTag other) {
assign(new io.qt.core.QCborValue(other));
}
/**
* @deprecated Use {@link #assign(io.qt.core.QCborKnownTags)} instead.
*/
@Deprecated
@QtUninvokable
public final void set(io.qt.core.@NonNull QCborKnownTags other) {
assign(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #assign(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void assign(io.qt.core.QCborValue.@NonNull Type other) {
assign(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #assign(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void assign(boolean other) {
assign(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #assign(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void assign(int other) {
assign(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #assign(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void assign(long other) {
assign(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #assign(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void assign(double other) {
assign(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #assign(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void assign(io.qt.core.@NonNull QCborSimpleType other) {
assign(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #assign(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void assign(io.qt.core.@NonNull QByteArray other) {
assign(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #assign(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void assign(java.lang.@NonNull String other) {
assign(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #assign(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void assign(io.qt.core.@NonNull QCborArray other) {
assign(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #assign(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void assign(io.qt.core.@NonNull QCborMap other) {
assign(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #assign(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void assign(io.qt.core.@NonNull QCborTag other) {
assign(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #assign(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void assign(io.qt.core.@NonNull QCborKnownTags other) {
assign(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #equals(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final boolean equals(io.qt.core.QCborValue.@NonNull Type other) {
return equals(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #equals(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final boolean equals(boolean other) {
return equals(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #equals(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final boolean equals(int other) {
return equals(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #equals(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final boolean equals(long other) {
return equals(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #equals(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final boolean equals(double other) {
return equals(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #equals(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final boolean equals(io.qt.core.@NonNull QCborSimpleType other) {
return equals(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #equals(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final boolean equals(io.qt.core.@NonNull QByteArray other) {
return equals(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #equals(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final boolean equals(java.lang.@NonNull String other) {
return equals(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #equals(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final boolean equals(io.qt.core.@NonNull QCborArray other) {
return equals(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #equals(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final boolean equals(io.qt.core.@NonNull QCborMap other) {
return equals(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #equals(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final boolean equals(io.qt.core.@NonNull QCborTag other) {
return equals(new io.qt.core.QCborValue(other));
}
/**
* Overloaded function for {@link #equals(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final boolean equals(io.qt.core.@NonNull QCborKnownTags other) {
return equals(new io.qt.core.QCborValue(other));
}
/**
* Delegate for {@link #get(java.lang.String)}.
*/
@QtUninvokable
public final io.qt.core.@NonNull QCborValue value(java.lang.@NonNull String key) {
return get(key);
}
/**
* Delegate for {@link #set(java.lang.String, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void setValue(java.lang.@NonNull String key, io.qt.core.@NonNull QCborValue value) {
set(key, value);
}
/**
* Delegate for {@link #set(java.lang.String, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void setValue(java.lang.@NonNull String key, io.qt.core.QCborValue.@NonNull Type value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Delegate for {@link #set(java.lang.String, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void setValue(java.lang.@NonNull String key, boolean value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Delegate for {@link #set(java.lang.String, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void setValue(java.lang.@NonNull String key, int value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Delegate for {@link #set(java.lang.String, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void setValue(java.lang.@NonNull String key, long value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Delegate for {@link #set(java.lang.String, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void setValue(java.lang.@NonNull String key, double value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Delegate for {@link #set(java.lang.String, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void setValue(java.lang.@NonNull String key, io.qt.core.@NonNull QCborSimpleType value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Delegate for {@link #set(java.lang.String, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void setValue(java.lang.@NonNull String key, io.qt.core.@NonNull QByteArray value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Delegate for {@link #set(java.lang.String, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void setValue(java.lang.@NonNull String key, java.lang.@NonNull String value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Delegate for {@link #set(java.lang.String, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void setValue(java.lang.@NonNull String key, io.qt.core.@NonNull QCborArray value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Delegate for {@link #set(java.lang.String, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void setValue(java.lang.@NonNull String key, io.qt.core.@NonNull QCborMap value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Delegate for {@link #set(java.lang.String, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void setValue(java.lang.@NonNull String key, io.qt.core.@NonNull QCborTag value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Delegate for {@link #set(java.lang.String, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void setValue(java.lang.@NonNull String key, io.qt.core.@NonNull QCborKnownTags value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Overloaded function for {@link #set(java.lang.String, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void set(java.lang.@NonNull String key, io.qt.core.QCborValue.@NonNull Type value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Overloaded function for {@link #set(java.lang.String, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void set(java.lang.@NonNull String key, boolean value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Overloaded function for {@link #set(java.lang.String, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void set(java.lang.@NonNull String key, int value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Overloaded function for {@link #set(java.lang.String, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void set(java.lang.@NonNull String key, long value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Overloaded function for {@link #set(java.lang.String, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void set(java.lang.@NonNull String key, double value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Overloaded function for {@link #set(java.lang.String, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void set(java.lang.@NonNull String key, io.qt.core.@NonNull QCborSimpleType value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Overloaded function for {@link #set(java.lang.String, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void set(java.lang.@NonNull String key, io.qt.core.@NonNull QByteArray value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Overloaded function for {@link #set(java.lang.String, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void set(java.lang.@NonNull String key, java.lang.@NonNull String value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Overloaded function for {@link #set(java.lang.String, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void set(java.lang.@NonNull String key, io.qt.core.@NonNull QCborArray value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Overloaded function for {@link #set(java.lang.String, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void set(java.lang.@NonNull String key, io.qt.core.@NonNull QCborMap value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Overloaded function for {@link #set(java.lang.String, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void set(java.lang.@NonNull String key, io.qt.core.@NonNull QCborTag value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Overloaded function for {@link #set(java.lang.String, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void set(java.lang.@NonNull String key, io.qt.core.@NonNull QCborKnownTags value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Delegate for {@link #get(long)}.
*/
@QtUninvokable
public final io.qt.core.@NonNull QCborValue value(long key) {
return get(key);
}
/**
* Delegate for {@link #set(long, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void setValue(long key, io.qt.core.@NonNull QCborValue value) {
set(key, value);
}
/**
* Delegate for {@link #set(long, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void setValue(long key, io.qt.core.QCborValue.@NonNull Type value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Delegate for {@link #set(long, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void setValue(long key, boolean value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Delegate for {@link #set(long, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void setValue(long key, int value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Delegate for {@link #set(long, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void setValue(long key, long value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Delegate for {@link #set(long, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void setValue(long key, double value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Delegate for {@link #set(long, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void setValue(long key, io.qt.core.@NonNull QCborSimpleType value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Delegate for {@link #set(long, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void setValue(long key, io.qt.core.@NonNull QByteArray value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Delegate for {@link #set(long, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void setValue(long key, java.lang.@NonNull String value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Delegate for {@link #set(long, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void setValue(long key, io.qt.core.@NonNull QCborArray value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Delegate for {@link #set(long, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void setValue(long key, io.qt.core.@NonNull QCborMap value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Delegate for {@link #set(long, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void setValue(long key, io.qt.core.@NonNull QCborTag value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Delegate for {@link #set(long, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void setValue(long key, io.qt.core.@NonNull QCborKnownTags value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Overloaded function for {@link #set(long, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void set(long key, io.qt.core.QCborValue.@NonNull Type value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Overloaded function for {@link #set(long, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void set(long key, boolean value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Overloaded function for {@link #set(long, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void set(long key, int value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Overloaded function for {@link #set(long, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void set(long key, long value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Overloaded function for {@link #set(long, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void set(long key, double value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Overloaded function for {@link #set(long, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void set(long key, io.qt.core.@NonNull QCborSimpleType value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Overloaded function for {@link #set(long, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void set(long key, io.qt.core.@NonNull QByteArray value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Overloaded function for {@link #set(long, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void set(long key, java.lang.@NonNull String value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Overloaded function for {@link #set(long, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void set(long key, io.qt.core.@NonNull QCborArray value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Overloaded function for {@link #set(long, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void set(long key, io.qt.core.@NonNull QCborMap value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Overloaded function for {@link #set(long, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void set(long key, io.qt.core.@NonNull QCborTag value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Overloaded function for {@link #set(long, io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final void set(long key, io.qt.core.@NonNull QCborKnownTags value) {
set(key, new io.qt.core.QCborValue(value));
}
/**
* Overloaded function for {@link #tag(io.qt.core.QCborTag)}
* with defaultValue = QCborTag.resolve(-1)
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QCborTag tag() {
return tag(QCborTag.resolve(-1));
}
/**
* Overloaded function for {@link #taggedValue(io.qt.core.QCborValue)}
* with defaultValue = new io.qt.core.QCborValue()
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QCborValue taggedValue() {
return taggedValue(new io.qt.core.QCborValue());
}
/**
* Overloaded function for {@link #taggedValue(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final io.qt.core.@NonNull QCborValue taggedValue(io.qt.core.QCborValue.@NonNull Type defaultValue) {
return taggedValue(new io.qt.core.QCborValue(defaultValue));
}
/**
* Overloaded function for {@link #taggedValue(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final io.qt.core.@NonNull QCborValue taggedValue(boolean defaultValue) {
return taggedValue(new io.qt.core.QCborValue(defaultValue));
}
/**
* Overloaded function for {@link #taggedValue(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final io.qt.core.@NonNull QCborValue taggedValue(int defaultValue) {
return taggedValue(new io.qt.core.QCborValue(defaultValue));
}
/**
* Overloaded function for {@link #taggedValue(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final io.qt.core.@NonNull QCborValue taggedValue(long defaultValue) {
return taggedValue(new io.qt.core.QCborValue(defaultValue));
}
/**
* Overloaded function for {@link #taggedValue(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final io.qt.core.@NonNull QCborValue taggedValue(double defaultValue) {
return taggedValue(new io.qt.core.QCborValue(defaultValue));
}
/**
* Overloaded function for {@link #taggedValue(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final io.qt.core.@NonNull QCborValue taggedValue(io.qt.core.@NonNull QCborSimpleType defaultValue) {
return taggedValue(new io.qt.core.QCborValue(defaultValue));
}
/**
* Overloaded function for {@link #taggedValue(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final io.qt.core.@NonNull QCborValue taggedValue(io.qt.core.@NonNull QByteArray defaultValue) {
return taggedValue(new io.qt.core.QCborValue(defaultValue));
}
/**
* Overloaded function for {@link #taggedValue(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final io.qt.core.@NonNull QCborValue taggedValue(java.lang.@NonNull String defaultValue) {
return taggedValue(new io.qt.core.QCborValue(defaultValue));
}
/**
* Overloaded function for {@link #taggedValue(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final io.qt.core.@NonNull QCborValue taggedValue(io.qt.core.@NonNull QCborArray defaultValue) {
return taggedValue(new io.qt.core.QCborValue(defaultValue));
}
/**
* Overloaded function for {@link #taggedValue(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final io.qt.core.@NonNull QCborValue taggedValue(io.qt.core.@NonNull QCborMap defaultValue) {
return taggedValue(new io.qt.core.QCborValue(defaultValue));
}
/**
* Overloaded function for {@link #taggedValue(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final io.qt.core.@NonNull QCborValue taggedValue(io.qt.core.@NonNull QCborTag defaultValue) {
return taggedValue(new io.qt.core.QCborValue(defaultValue));
}
/**
* Overloaded function for {@link #taggedValue(io.qt.core.QCborValue)}.
*/
@QtUninvokable
public final io.qt.core.@NonNull QCborValue taggedValue(io.qt.core.@NonNull QCborKnownTags defaultValue) {
return taggedValue(new io.qt.core.QCborValue(defaultValue));
}
/**
* Overloaded function for {@link #toBool(boolean)}
* with defaultValue = false
.
*/
@QtUninvokable
public final boolean toBool() {
return toBool((boolean)false);
}
/**
* Overloaded function for {@link #toByteArray(io.qt.core.QByteArray)}
* with defaultValue = new io.qt.core.QByteArray()
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray toByteArray() {
return toByteArray(new io.qt.core.QByteArray());
}
/**
* Overloaded function for {@link #toByteArray(io.qt.core.QByteArray)}.
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray toByteArray(byte @NonNull[] defaultValue) {
return toByteArray(new io.qt.core.QByteArray(defaultValue));
}
/**
* Overloaded function for {@link #toCbor(io.qt.core.QCborStreamWriter, io.qt.core.QCborValue.EncodingOptions)}
* with opt = new io.qt.core.QCborValue.EncodingOptions(0)
.
*/
@QtUninvokable
public final void toCbor(io.qt.core.@StrictNonNull QCborStreamWriter writer) {
toCbor(writer, new io.qt.core.QCborValue.EncodingOptions(0));
}
/**
* Overloaded function for {@link #toCbor(io.qt.core.QCborStreamWriter, io.qt.core.QCborValue.EncodingOptions)}.
*/
@QtUninvokable
public final void toCbor(io.qt.core.@StrictNonNull QCborStreamWriter writer, io.qt.core.QCborValue.@NonNull EncodingOption @NonNull... opt) {
toCbor(writer, new io.qt.core.QCborValue.EncodingOptions(opt));
}
/**
* Overloaded function for {@link #toCbor(io.qt.core.QCborValue.EncodingOptions)}
* with opt = new io.qt.core.QCborValue.EncodingOptions(0)
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray toCbor() {
return toCbor(new io.qt.core.QCborValue.EncodingOptions(0));
}
/**
* Overloaded function for {@link #toCbor(io.qt.core.QCborValue.EncodingOptions)}.
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray toCbor(io.qt.core.QCborValue.@NonNull EncodingOption @NonNull... opt) {
return toCbor(new io.qt.core.QCborValue.EncodingOptions(opt));
}
/**
* Overloaded function for {@link #toDateTime(io.qt.core.QDateTime)}
* with defaultValue = new io.qt.core.QDateTime()
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QDateTime toDateTime() {
return toDateTime(new io.qt.core.QDateTime());
}
/**
* Overloaded function for {@link #toDiagnosticNotation(io.qt.core.QCborValue.DiagnosticNotationOptions)}
* with opts = new io.qt.core.QCborValue.DiagnosticNotationOptions(0)
.
*/
@QtUninvokable
public final java.lang.@NonNull String toDiagnosticNotation() {
return toDiagnosticNotation(new io.qt.core.QCborValue.DiagnosticNotationOptions(0));
}
/**
* Overloaded function for {@link #toDiagnosticNotation(io.qt.core.QCborValue.DiagnosticNotationOptions)}.
*/
@QtUninvokable
public final java.lang.@NonNull String toDiagnosticNotation(io.qt.core.QCborValue.@NonNull DiagnosticNotationOption @NonNull... opts) {
return toDiagnosticNotation(new io.qt.core.QCborValue.DiagnosticNotationOptions(opts));
}
/**
* Overloaded function for {@link #toDouble(double)}
* with defaultValue = 0
.
*/
@QtUninvokable
public final double toDouble() {
return toDouble((double)0);
}
/**
* Overloaded function for {@link #toInteger(long)}
* with defaultValue = 0
.
*/
@QtUninvokable
public final long toInteger() {
return toInteger((long)0);
}
/**
* Overloaded function for {@link #toRegularExpression(io.qt.core.QRegularExpression)}
* with defaultValue = new io.qt.core.QRegularExpression()
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QRegularExpression toRegularExpression() {
return toRegularExpression(new io.qt.core.QRegularExpression());
}
/**
* Overloaded function for {@link #toSimpleType(io.qt.core.QCborSimpleType)}
* with defaultValue = io.qt.core.QCborSimpleType.Undefined
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QCborSimpleType toSimpleType() {
return toSimpleType(io.qt.core.QCborSimpleType.Undefined);
}
/**
* Overloaded function for {@link #toString(java.lang.String)}
* with defaultValue = (String)null
.
*/
@QtUninvokable
public final java.lang.@NonNull String toString() {
return toString((String)null);
}
/**
* Overloaded function for {@link #toUrl(io.qt.core.QUrl)}
* with defaultValue = new io.qt.core.QUrl()
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QUrl toUrl() {
return toUrl(new io.qt.core.QUrl());
}
/**
* Overloaded function for {@link #toUrl(io.qt.core.QUrl)}.
*/
@QtUninvokable
public final io.qt.core.@NonNull QUrl toUrl(java.lang.@NonNull String defaultValue) {
return toUrl(new io.qt.core.QUrl(defaultValue));
}
/**
* Overloaded function for {@link #toUuid(io.qt.core.QUuid)}
* with defaultValue = new io.qt.core.QUuid()
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QUuid toUuid() {
return toUuid(new io.qt.core.QUuid());
}
/**
* Overloaded function for {@link #fromCbor(io.qt.core.QByteArray)}.
*/
public static io.qt.core.QCborValue.@StrictNonNull FromCborResult fromCbor(byte @NonNull[] ba) {
return fromCbor(new io.qt.core.QByteArray(ba));
}
/**
* Overloaded function for {@link #fromJsonValue(io.qt.core.QJsonValue)}.
*/
public static io.qt.core.@NonNull QCborValue fromJsonValue(io.qt.core.QJsonValue.@NonNull Type v) {
return fromJsonValue(new io.qt.core.QJsonValue(v));
}
/**
* Overloaded function for {@link #fromJsonValue(io.qt.core.QJsonValue)}.
*/
public static io.qt.core.@NonNull QCborValue fromJsonValue(boolean v) {
return fromJsonValue(new io.qt.core.QJsonValue(v));
}
/**
* Overloaded function for {@link #fromJsonValue(io.qt.core.QJsonValue)}.
*/
public static io.qt.core.@NonNull QCborValue fromJsonValue(double v) {
return fromJsonValue(new io.qt.core.QJsonValue(v));
}
/**
* Overloaded function for {@link #fromJsonValue(io.qt.core.QJsonValue)}.
*/
public static io.qt.core.@NonNull QCborValue fromJsonValue(int v) {
return fromJsonValue(new io.qt.core.QJsonValue(v));
}
/**
* Overloaded function for {@link #fromJsonValue(io.qt.core.QJsonValue)}.
*/
public static io.qt.core.@NonNull QCborValue fromJsonValue(long v) {
return fromJsonValue(new io.qt.core.QJsonValue(v));
}
/**
* Overloaded function for {@link #fromJsonValue(io.qt.core.QJsonValue)}.
*/
public static io.qt.core.@NonNull QCborValue fromJsonValue(java.lang.@NonNull String v) {
return fromJsonValue(new io.qt.core.QJsonValue(v));
}
/**
* Overloaded function for {@link #fromJsonValue(io.qt.core.QJsonValue)}.
*/
public static io.qt.core.@NonNull QCborValue fromJsonValue(io.qt.core.@NonNull QJsonArray v) {
return fromJsonValue(new io.qt.core.QJsonValue(v));
}
/**
* Overloaded function for {@link #fromJsonValue(io.qt.core.QJsonValue)}.
*/
public static io.qt.core.@NonNull QCborValue fromJsonValue(io.qt.core.@NonNull QJsonObject v) {
return fromJsonValue(new io.qt.core.QJsonValue(v));
}
}