|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.python.core.PyObject
org.python.modules.jffi.BasePointer
org.python.modules.jffi.Function
public class Function
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.python.core.PyObject |
|---|
PyObject.ConversionException |
| Field Summary | |
|---|---|
PyObject |
errcheck
|
String |
name
|
static PyType |
TYPE
|
| Method Summary | |
|---|---|
PyObject |
__call__()
A variant of the __call__ method with no arguments. |
PyObject |
__call__(PyObject arg0)
A variant of the __call__ method with one argument. |
PyObject |
__call__(PyObject[] args,
String[] keywords)
The basic method to override when implementing a callable object. |
PyObject |
__call__(PyObject arg0,
PyObject arg1)
A variant of the __call__ method with two arguments. |
PyObject |
__call__(PyObject arg0,
PyObject arg1,
PyObject arg2)
A variant of the __call__ method with three arguments. |
boolean |
__nonzero__()
Equivalent to the standard Python __nonzero__ method. |
void |
errcheck(PyObject errcheck)
|
PyObject |
fastGetDict()
xxx implements where meaningful |
static PyObject |
Function_new(PyNewWrapper new_,
boolean init,
PyType subtype,
PyObject[] args,
String[] keywords)
|
PyObject |
getArgTypes()
|
PyObject |
getDict()
xxx implements where meaningful |
DirectMemory |
getMemory()
|
PyObject |
getResultType()
|
void |
setArgTypes(PyObject parameterTypes)
|
void |
setResultType(PyObject restype)
|
| Methods inherited from class org.python.modules.jffi.BasePointer |
|---|
__int__, __long__, address |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final PyType TYPE
public PyObject errcheck
public final String name
| Method Detail |
|---|
public static PyObject Function_new(PyNewWrapper new_,
boolean init,
PyType subtype,
PyObject[] args,
String[] keywords)
public DirectMemory getMemory()
getMemory in interface Pointerpublic PyObject fastGetDict()
PyObject
fastGetDict in class PyObjectpublic PyObject getDict()
PyObject
getDict in class PyObject
public PyObject __call__(PyObject[] args,
String[] keywords)
PyObject
__call__ in class PyObjectargs - all arguments to the function (including
keyword arguments).keywords - the keywords used for all keyword arguments.public PyObject __call__()
PyObject__call__(args, keywords) with the
appropriate arguments. The only reason to override this function
would be for improved performance.
__call__ in class PyObjectpublic PyObject __call__(PyObject arg0)
PyObject__call__(args, keywords) with the
appropriate arguments. The only reason to override this function
would be for improved performance.
__call__ in class PyObjectarg0 - the single argument to the function.
public PyObject __call__(PyObject arg0,
PyObject arg1)
PyObject__call__(args, keywords) with the
appropriate arguments. The only reason to override this function
would be for improved performance.
__call__ in class PyObjectarg0 - the first argument to the function.arg1 - the second argument to the function.
public PyObject __call__(PyObject arg0,
PyObject arg1,
PyObject arg2)
PyObject__call__(args, keywords) with the
appropriate arguments. The only reason to override this function
would be for improved performance.
__call__ in class PyObjectarg0 - the first argument to the function.arg1 - the second argument to the function.arg2 - the third argument to the function.public PyObject getResultType()
public void setResultType(PyObject restype)
public PyObject getArgTypes()
public void setArgTypes(PyObject parameterTypes)
public void errcheck(PyObject errcheck)
public boolean __nonzero__()
PyObjectPyObject is considered true.
__nonzero__ in class BasePointer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||