io.qt.scxml.QScxmlCppDataModel Maven / Gradle / Ivy
package io.qt.scxml;
import io.qt.*;
/**
* C++ data model for a Qt SCXML state machine
* Java wrapper for Qt class QScxmlCppDataModel
*/
public abstract class QScxmlCppDataModel extends io.qt.scxml.QScxmlDataModel
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QScxmlCppDataModel.class);
@NativeAccess
private static final class ConcreteWrapper extends QScxmlCppDataModel {
@NativeAccess
private ConcreteWrapper(QPrivateConstructor p) { super(p); }
@Override
@QtUninvokable
public boolean evaluateToBool(int id, boolean @Nullable[] ok){
return evaluateToBool_native_qint32_bool_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), id, ok);
}
@QtUninvokable
private native boolean evaluateToBool_native_qint32_bool_ptr(long __this__nativeId, int id, boolean[] ok);
@Override
@QtUninvokable
public java.lang.@NonNull String evaluateToString(int id, boolean @Nullable[] ok){
return evaluateToString_native_qint32_bool_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), id, ok);
}
@QtUninvokable
private native java.lang.String evaluateToString_native_qint32_bool_ptr(long __this__nativeId, int id, boolean[] ok);
@Override
@QtUninvokable
public java.lang.Object evaluateToVariant(int id, boolean @Nullable[] ok){
return evaluateToVariant_native_qint32_bool_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), id, ok);
}
@QtUninvokable
private native java.lang.Object evaluateToVariant_native_qint32_bool_ptr(long __this__nativeId, int id, boolean[] ok);
@Override
@QtUninvokable
public void evaluateToVoid(int id, boolean @Nullable[] ok){
evaluateToVoid_native_qint32_bool_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), id, ok);
}
@QtUninvokable
private native void evaluateToVoid_native_qint32_bool_ptr(long __this__nativeId, int id, boolean[] ok);
}
/**
* See QScxmlCppDataModel:: QScxmlCppDataModel(QObject*)
* @param parent
*/
public QScxmlCppDataModel(io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QScxmlCppDataModel instance, io.qt.core.QObject parent);
/**
* See QScxmlCppDataModel:: inState(QString)const
* @param stateName
* @return
*/
@QtUninvokable
public final boolean inState(java.lang.@NonNull String stateName){
return inState_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), stateName);
}
@QtUninvokable
private native boolean inState_native_cref_QString_constfct(long __this__nativeId, java.lang.String stateName);
/**
* See QScxmlCppDataModel:: scxmlEvent()const
* @return
*/
@QtUninvokable
public final io.qt.scxml.@NonNull QScxmlEvent scxmlEvent(){
return scxmlEvent_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.scxml.QScxmlEvent scxmlEvent_native_constfct(long __this__nativeId);
/**
* See QScxmlDataModel:: setScxmlEvent(QScxmlEvent)
* @param scxmlEvent
*/
public final void setScxmlEvent(io.qt.scxml.@NonNull QScxmlEvent scxmlEvent){
setScxmlEvent_native_cref_QScxmlEvent(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(scxmlEvent));
}
private native void setScxmlEvent_native_cref_QScxmlEvent(long __this__nativeId, long scxmlEvent);
/**
* See QScxmlDataModel:: evaluateAssignment(QScxmlExecutableContent::EvaluatorId, bool*)
* @param id
* @param ok
*/
@QtUninvokable
@Override
public void evaluateAssignment(int id, boolean @Nullable[] ok){
evaluateAssignment_native_qint32_bool_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), id, ok);
}
@QtUninvokable
private native void evaluateAssignment_native_qint32_bool_ptr(long __this__nativeId, int id, boolean[] ok);
/**
*
* @param id
* @param ok
* @param body
*/
@QtUninvokable
@Override
public void evaluateForeach(int id, boolean @Nullable[] ok, io.qt.scxml.QScxmlDataModel.@Nullable ForeachLoopBody body){
evaluateForeach_native_qint32_bool_ptr_QScxmlDataModel_ForeachLoopBody_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), id, ok, QtJambi_LibraryUtilities.internal.checkedNativeId(body));
}
@QtUninvokable
private native void evaluateForeach_native_qint32_bool_ptr_QScxmlDataModel_ForeachLoopBody_ptr(long __this__nativeId, int id, boolean[] ok, long body);
/**
* See QScxmlDataModel:: evaluateInitialization(QScxmlExecutableContent::EvaluatorId, bool*)
* @param id
* @param ok
*/
@QtUninvokable
@Override
public void evaluateInitialization(int id, boolean @Nullable[] ok){
evaluateInitialization_native_qint32_bool_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), id, ok);
}
@QtUninvokable
private native void evaluateInitialization_native_qint32_bool_ptr(long __this__nativeId, int id, boolean[] ok);
/**
* See QScxmlDataModel:: hasScxmlProperty(QString)const
* @param name
* @return
*/
@QtUninvokable
@Override
public boolean hasScxmlProperty(java.lang.@NonNull String name){
return hasScxmlProperty_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), name);
}
@QtUninvokable
private native boolean hasScxmlProperty_native_cref_QString_constfct(long __this__nativeId, java.lang.String name);
/**
* See QScxmlDataModel:: scxmlProperty(QString)const
* @param name
* @return
*/
@QtUninvokable
@Override
public java.lang.Object scxmlProperty(java.lang.@NonNull String name){
return scxmlProperty_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), name);
}
@QtUninvokable
private native java.lang.Object scxmlProperty_native_cref_QString_constfct(long __this__nativeId, java.lang.String name);
/**
* See QScxmlDataModel:: setScxmlProperty(QString, QVariant, QString)
* @param name
* @param value
* @param context
* @return
*/
@QtUninvokable
@Override
public boolean setScxmlProperty(java.lang.@NonNull String name, java.lang.Object value, java.lang.@NonNull String context){
return setScxmlProperty_native_cref_QString_cref_QVariant_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), name, value, context);
}
@QtUninvokable
private native boolean setScxmlProperty_native_cref_QString_cref_QVariant_cref_QString(long __this__nativeId, java.lang.String name, java.lang.Object value, java.lang.String context);
/**
* See QScxmlDataModel:: setup(QVariantMap)
* @param initialDataValues
* @return
*/
@Override
public boolean setup(java.util.@NonNull Map initialDataValues){
return setup_native_cref_QMap(QtJambi_LibraryUtilities.internal.nativeId(this), initialDataValues);
}
private native boolean setup_native_cref_QMap(long __this__nativeId, java.util.Map initialDataValues);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QScxmlCppDataModel(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QScxmlCppDataModel(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QScxmlCppDataModel instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QScxmlCppDataModel(io.qt.core.QObject)}
* with parent = null
.
*/
public QScxmlCppDataModel() {
this((io.qt.core.QObject)null);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy