| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class | |
| private static class | StructLayout.
We enclose any references to the jffi Type class in a lazily-loaded class so the exposed types processor does not crash when jffi can't load the native stub lib. |
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private final List | |
| public static final PyType |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public PyObject | __getitem__(PyObject
the key to lookup in this container. key)Overrides org. Equivalent to the standard Python __getitem__ method. |
| pack-priv StructLayout. | |
| pack-priv StructLayout. | |
| pack-priv List | |
| public boolean | refersDirectlyTo(PyObject ob)
Implements org. Optional operation. |
| public static PyObject | StructLayout_new(PyNewWrapper new_, boolean init, PyType subtype, PyObject[] args, String[] keywords)
|
| public int | traverse(Visitproc visit, Object arg)
Implements org. Traverses all directly contained |
| fieldMap | back to summary |
|---|---|
| private final Map<Object, StructLayout. | |
| fields | back to summary |
|---|---|
| private final List<StructLayout. | |
| TYPE | back to summary |
|---|---|
| public static final PyType TYPE | |
| StructLayout | back to summary |
|---|---|
| pack-priv StructLayout(StructLayout. | |
| __getitem__ | back to summary |
|---|---|
| public PyObject __getitem__(PyObject key) Overrides org. Doc from org. Equivalent to the standard Python __getitem__ method. This method should not be overridden.
Override the | |
| getField | back to summary |
|---|---|
| pack-priv StructLayout. | |
| getField | back to summary |
|---|---|
| pack-priv StructLayout. | |
| getFieldList | back to summary |
|---|---|
| pack-priv List | |
| refersDirectlyTo | back to summary |
|---|---|
| public boolean refersDirectlyTo(PyObject ob) Implements org. Doc from org. Optional operation.
Should only be implemented if it is more efficient
than calling
| |
| StructLayout_new | back to summary |
|---|---|
public static PyObject StructLayout_new(PyNewWrapper new_, boolean init, PyType subtype, PyObject[] args, String[] keywords)
| |
| traverse | back to summary |
|---|---|
| public int traverse(Visitproc visit, Object arg) Implements org. Doc from org. Traverses all directly contained
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final CType | |
| pack-priv final PyObject | |
| pack-priv final int | |
| pack-priv final MemoryOp | |
| public static final PyType |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public PyObject | __get__(PyObject
- the instance accessing this descriptor. Can be null if this is being accessed by
a type. obj, PyObject - the type accessing this descriptor. Will be null if obj exists as obj is of the
type accessing the descriptor. type)Overrides org. Get descriptor for this PyObject. |
| public void | |
| private static Pointer | |
| public PyObject | |
| public void | |
| pack-priv PyObject | |
| public boolean | refersDirectlyTo(PyObject ob)
Implements org. Optional operation. |
| pack-priv PyObject | |
| public int | traverse(Visitproc visit, Object arg)
Implements org. Traverses all directly contained |
| ctype | back to summary |
|---|---|
| pack-priv final CType ctype
| |
| name | back to summary |
|---|---|
| pack-priv final PyObject name | |
| offset | back to summary |
|---|---|
| pack-priv final int offset
| |
| op | back to summary |
|---|---|
| pack-priv final MemoryOp op | |
| TYPE | back to summary |
|---|---|
| public static final PyType TYPE | |
| Field | back to summary |
|---|---|
| pack-priv Field(PyObject name, CType ctype, int offset, MemoryOp op) | |
| Field | back to summary |
|---|---|
| pack-priv Field(PyObject name, CType ctype, int offset) | |
| __get__ | back to summary |
|---|---|
| public PyObject __get__(PyObject obj, PyObject type) Overrides org. Doc from org. Get descriptor for this PyObject.
- the object defined for this descriptor for the given obj and type. | |
| __set__ | back to summary |
|---|---|
| public void __set__(PyObject obj, PyObject value) Overrides org.
| |
| asPointer | back to summary |
|---|---|
| private static Pointer asPointer(PyObject obj) | |
| Field___get__ | back to summary |
|---|---|
public PyObject Field___get__(PyObject obj, PyObject type)
| |
| Field___set__ | back to summary |
|---|---|
public void Field___set__(PyObject obj, PyObject value)
| |
| get | back to summary |
|---|---|
pack-priv PyObject get(PyObject obj)
| |
| refersDirectlyTo | back to summary |
|---|---|
| public boolean refersDirectlyTo(PyObject ob) Implements org. Doc from org. Optional operation.
Should only be implemented if it is more efficient
than calling
| |
| set | back to summary |
|---|---|
pack-priv PyObject set(PyObject obj, PyObject value)
| |
| traverse | back to summary |
|---|---|
| public int traverse(Visitproc visit, Object arg) Implements org. Doc from org. Traverses all directly contained
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final PyType |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static PyObject | ScalarField_new(PyNewWrapper new_, boolean init, PyType subtype, PyObject[] args, String[] keywords)
|
| TYPE | back to summary |
|---|---|
| public static final PyType TYPE | |
| ScalarField | back to summary |
|---|---|
| public ScalarField(PyObject name, CType ctype, int offset) | |
| ScalarField_new | back to summary |
|---|---|
public static PyObject ScalarField_new(PyNewWrapper new_, boolean init, PyType subtype, PyObject[] args, String[] keywords)
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static final StructLayout |
| StructUtil | back to summary |
|---|---|
| private StructUtil() | |
| newStructLayout | back to summary |
|---|---|
| public static final StructLayout newStructLayout(StructLayout. | |