| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public PyFloat | __float__()
Overrides org. Equivalent to the standard Python __float__ method. |
| public PyObject | __int__()
Overrides org. Equivalent to the standard Python __int__ method. |
| public PyObject | __long__()
Overrides org. Equivalent to the standard Python __long__ method. |
| public int | |
| public long | |
| public long | |
| public static final PyObject | |
| pack-priv static final CType. | |
| public PyObject | |
| protected final void | |
| public boolean | refersDirectlyTo(PyObject ob)
Overrides org. Implements org. Optional operation. |
| public static PyObject | ScalarCData_new(PyNewWrapper new_, boolean init, PyType subtype, PyObject[] args, String[] keywords)
|
| public void | |
| public final String | toString()
Overrides org. Returns a string representation of the object. |
| public int | traverse(Visitproc visit, Object arg)
Overrides org. Implements org. Traverses all directly contained |
| TYPE | back to summary |
|---|---|
| public static final PyType TYPE | |
| value | back to summary |
|---|---|
| private PyObject value | |
| ScalarCData | back to summary |
|---|---|
| pack-priv ScalarCData(PyType pytype, CType. | |
| ScalarCData | back to summary |
|---|---|
| pack-priv ScalarCData(PyType pytype, CType. | |
| __float__ | back to summary |
|---|---|
| public PyFloat __float__() Overrides org. Doc from org. Equivalent to the standard Python __float__ method. Should only be overridden by numeric objects that can be reasonably coerced into a python float.
| |
| __int__ | back to summary |
|---|---|
| public PyObject __int__() Overrides org. Doc from org. Equivalent to the standard Python __int__ method. Should only be overridden by numeric objects that can be reasonably coerced into an integer.
| |
| __long__ | back to summary |
|---|---|
| public PyObject __long__() Overrides org. Doc from org. Equivalent to the standard Python __long__ method. Should only be overridden by numeric objects that can be reasonably coerced into a python long.
| |
| asInt | back to summary |
|---|---|
| public int asInt() Overrides org. Doc from org. Convert this object into an int. Throws a PyException on failure.
| |
| asLong | back to summary |
|---|---|
| public long asLong(int index) throws ConversionException Overrides org.
| |
| asLong | back to summary |
|---|---|
| public long asLong() Overrides org. Doc from org. Convert this object into a long. Throws a PyException on failure.
| |
| from_address | back to summary |
|---|---|
public static final PyObject from_address(PyType subtype, PyObject address)
| |
| getScalarType | back to summary |
|---|---|
| pack-priv static final CType. | |
| getValue | back to summary |
|---|---|
public PyObject getValue()
| |
| initReferenceMemory | back to summary |
|---|---|
| protected final void initReferenceMemory(Memory m) Implements abstract org. | |
| refersDirectlyTo | back to summary |
|---|---|
| public boolean refersDirectlyTo(PyObject ob) Overrides org. Implements org. Doc from org. Optional operation.
Should only be implemented if it is more efficient
than calling
| |
| ScalarCData_new | back to summary |
|---|---|
public static PyObject ScalarCData_new(PyNewWrapper new_, boolean init, PyType subtype, PyObject[] args, String[] keywords)
| |
| setValue | back to summary |
|---|---|
public void setValue(PyObject value)
| |
| toString | back to summary |
|---|---|
| public final String toString() Overrides org. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| traverse | back to summary |
|---|---|
| public int traverse(Visitproc visit, Object arg) Overrides org. Implements org. Doc from org. Traverses all directly contained
| |