Gecode::Serialization::GJSSpace Class Reference
#include <javascript.hh>
Detailed Description
Wrapper class to export a Space to JavaScript.Definition at line 49 of file javascript.hh.
Public Slots | |
void | constraint (const QString &name, QScriptValue args) |
QScriptValue | variable (const QString &vti, QScriptValue args) |
QScriptValue | pair (QScriptValue a, QScriptValue b) |
Public Member Functions | |
GJSSpace (QScriptEngine *, Gecode::Space *s0) | |
Gecode::Reflection::Arg * | scriptValToArg (QScriptValue v) |
Public Attributes | |
QScriptValue | varProto |
QScriptValue | pairProto |
Gecode::Space * | s |
Gecode::Reflection::VarMap | vm |
Gecode::Reflection::Unreflector | d |
Constructor & Destructor Documentation
Gecode::Serialization::GJSSpace::GJSSpace | ( | QScriptEngine * | , | |
Gecode::Space * | s0 | |||
) |
Member Function Documentation
Gecode::Reflection::Arg* Gecode::Serialization::GJSSpace::scriptValToArg | ( | QScriptValue | v | ) |
void Gecode::Serialization::GJSSpace::constraint | ( | const QString & | name, | |
QScriptValue | args | |||
) | [slot] |
QScriptValue Gecode::Serialization::GJSSpace::variable | ( | const QString & | vti, | |
QScriptValue | args | |||
) | [slot] |
QScriptValue Gecode::Serialization::GJSSpace::pair | ( | QScriptValue | a, | |
QScriptValue | b | |||
) | [slot] |
Member Data Documentation
QScriptValue Gecode::Serialization::GJSSpace::varProto |
Definition at line 53 of file javascript.hh.
QScriptValue Gecode::Serialization::GJSSpace::pairProto |
Definition at line 54 of file javascript.hh.
Definition at line 55 of file javascript.hh.
Definition at line 56 of file javascript.hh.
Definition at line 57 of file javascript.hh.
The documentation for this class was generated from the following file:
- gecode/serialization/javascript.hh (Revision: 5983)