io.qt.core.QCborParserError Maven / Gradle / Ivy
The newest version!
package io.qt.core;
/**
* Used by QCborValue to report a parsing error
* Java wrapper for Qt class QCborParserError
*/
public class QCborParserError extends io.qt.QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
public QCborParserError(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QCborParserError instance);
/**
* See QCborParserError::errorString()const
*/
@io.qt.QtUninvokable
public final java.lang.String errorString(){
return errorString_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String errorString_native_constfct(long __this__nativeId);
@io.qt.QtUninvokable
private final boolean operator_equal(io.qt.core.QCborParserError value2){
return operator_equal_native_cref_QCborParserError(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(value2));
}
@io.qt.QtUninvokable
private native boolean operator_equal_native_cref_QCborParserError(long __this__nativeId, long value2);
/**
*
*/
@io.qt.QtUninvokable
public final void setError(io.qt.core.QCborError error){
setError_native_cref_QCborError(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(error));
}
@io.qt.QtUninvokable
private native void setError_native_cref_QCborError(long __this__nativeId, long error);
/**
*
*/
@io.qt.QtUninvokable
public final io.qt.core.QCborError error(){
return error_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QCborError error_native(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final void setOffset(long offset){
setOffset_native_long_long(QtJambi_LibraryUtilities.internal.nativeId(this), offset);
}
@io.qt.QtUninvokable
private native void setOffset_native_long_long(long __this__nativeId, long offset);
/**
*
*/
@io.qt.QtUninvokable
public final long offset(){
return offset_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native long offset_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QCborParserError(QPrivateConstructor p) { super(p); }
@Override
@io.qt.QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.core.QCborParserError) {
return operator_equal((io.qt.core.QCborParserError) other);
}
return false;
}
@io.qt.QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native static int hashCode_native(long __this_nativeId);
@Override
public QCborParserError clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native QCborParserError clone_native(long __this_nativeId);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy