|
| IntVariable (const std::string varname) |
| Constructor.
|
|
| ~IntVariable () |
| Destructor.
|
|
PyObject * | getPythonObject (int i0=0, int n=0) |
| Get a PyLongObject interpretation of the variable.
|
|
bool | setFromPythonObject (PyObject *obj, int i0=0, int n=0) |
| Set the variable from a Python object.
|
|
| ScalarNumberVariable (const std::string varname, const std::string vartype) |
| Constructor.
|
|
| ~ScalarNumberVariable () |
| Destructor.
|
|
virtual const std::string | asString () |
| Get the variable text representation.
|
|
| ScalarVariable (const std::string varname, const std::string vartype) |
| Constructor.
|
|
| ~ScalarVariable () |
| Destructor.
|
|
bool | isArray () |
| Report that the varaible is not an array.
|
|
size_t | typesize () const |
| Get the variable type size.
|
|
void * | get () |
| Get variable pointer basis pointer.
|
|
void * | get_async () |
| Get variable pointer basis pointer.
|
|
void | set (void *ptr) |
| Set variable from memory.
|
|
void | set_async (void *ptr) |
| Set variable from memory.
|
|
virtual const std::string | asString ()=0 |
| Get the variable text representation.
|
|
| Variable (const std::string varname, const std::string vartype) |
| Constructor.
|
|
virtual | ~Variable () |
| Destructor.
|
|
virtual bool | isArray ()=0 |
| Let efficiently know whether the variable is an array or not.
|
|
virtual bool | isScalar () |
| Let efficiently know whether the variable is a scalar or not.
|
|
std::string | name () const |
| Name of the variable.
|
|
virtual std::string | type () const |
| Type of the variable.
|
|
virtual size_t | typesize () const |
| Get the variable type size.
|
|
virtual size_t | size () const |
| Get the variable type size.
|
|
virtual void * | get () |
| Get variable pointer basis pointer.
|
|
virtual void | set (void *ptr)=0 |
| Set variable from memory.
|
|
virtual PyObject * | getPythonObject (int i0=0, int n=0) |
| Get a Python interpretation of the variable.
|
|
virtual bool | setFromPythonObject (PyObject *obj, int i0=0, int n=0) |
| Set the variable from a Python object.
|
|
virtual const std::string | asString () |
| Get the variable text representation.
|
|
void | setEvent (cl_event event) |
| Set the variable current event.
|
|
cl_event | getEvent () |
| Returns the last event associated to this variable.
|
|