All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.core.QCborParserError Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
package io.qt.core;

import io.qt.*;


/**
 * 

Used by QCborValue to report a parsing error

*

Java wrapper for Qt class QCborParserError

*/ public class QCborParserError extends QtObject implements java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } /** *

See QCborParserError::QCborParserError()

*/ public QCborParserError(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QCborParserError instance); /** *

See QCborParserError::QCborParserError(QCborParserError)

*/ public QCborParserError(io.qt.core.@NonNull QCborParserError other){ super((QPrivateConstructor)null); initialize_native(this, other); } private native static void initialize_native(QCborParserError instance, io.qt.core.QCborParserError other); /** *

See QCborParserError::QCborParserError{qint64,QCborError}

*/ public QCborParserError(long offset, io.qt.core.@NonNull QCborError error){ super((QPrivateConstructor)null); initialize_native(this, offset, error); } private native static void initialize_native(QCborParserError instance, long offset, io.qt.core.QCborError error); /** *

See QCborParserError::errorString()const

*/ @QtUninvokable public final java.lang.@NonNull String errorString(){ return errorString_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String errorString_native_constfct(long __this__nativeId); /** *

See operator==(QCborParserError,QCborParserError)

*/ @QtUninvokable public final boolean equals(io.qt.core.@NonNull QCborParserError value2){ return equals_native_cref_QCborParserError(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(value2)); } @QtUninvokable private native boolean equals_native_cref_QCborParserError(long __this__nativeId, long value2); /** *

See QCborParserError::error

*/ @QtUninvokable public final void setError(io.qt.core.@NonNull QCborError error){ setError_native_cref_QCborError(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(error)); } @QtUninvokable private native void setError_native_cref_QCborError(long __this__nativeId, long error); /** *

See QCborParserError::error

*/ @QtUninvokable public final io.qt.core.@NonNull QCborError error(){ return error_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QCborError error_native(long __this__nativeId); /** *

See QCborParserError::offset

*/ @QtUninvokable public final void setOffset(long offset){ setOffset_native_qint64(QtJambi_LibraryUtilities.internal.nativeId(this), offset); } @QtUninvokable private native void setOffset_native_qint64(long __this__nativeId, long offset); /** *

See QCborParserError::offset

*/ @QtUninvokable public final long offset(){ return offset_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native long offset_native(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QCborParserError(QPrivateConstructor p) { super(p); } /** *

See operator==(QCborParserError,QCborParserError)

*/ @Override @QtUninvokable public boolean equals(Object other) { if (other instanceof io.qt.core.QCborParserError) { return equals((io.qt.core.QCborParserError) other); } return false; } /** * Returns the objects's hash code computed by qHash(QCborParserError). */ @QtUninvokable @Override public int hashCode() { return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native static int hashCode_native(long __this_nativeId); /** *

Creates and returns a copy of this object.

See QCborParserError::QCborParserError(QCborParserError)

*/ @QtUninvokable @Override public QCborParserError clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native QCborParserError clone_native(long __this_nativeId); /** *

Overloaded constructor for {@link #QCborParserError(long, io.qt.core.QCborError)}.

*/ public QCborParserError(long offset, io.qt.core.QCborError.@NonNull Code error) { this(offset, new io.qt.core.QCborError(error)); } /** *

Overloaded function for {@link #setError(io.qt.core.QCborError)}.

*/ @QtUninvokable public final void setError(io.qt.core.QCborError.@NonNull Code error) { setError(new io.qt.core.QCborError(error)); } /** * @hidden *

Kotlin property getter. In Java use {@link #error()} instead.

*/ @QtUninvokable public final io.qt.core.@NonNull QCborError getError() { return error(); } /** * @hidden *

Kotlin property getter. In Java use {@link #offset()} instead.

*/ @QtUninvokable public final long getOffset() { return offset(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy