| Home | Trees | Indices | Help |
|---|
|
|
Meta class to make classes with ctypes pointers or containers with ctypes pointers. The type will feather classes with bind/unbind methods along with is_bound/is_unbound properties. The names of pointer variables have to be listed in _pointers_ class list variable.
The bind/unbind methods are designed to be applied to pointers used by the instance. is_bound/is_unbound properties can test for if pointers are fully bound or fully unbound to the instance, respectively. You have to override the bind method and initiate pointers in it rather than in other method. You can leave it alone if you don't need it. Be sure to enter correct entries into the _pointers_ class variable.
|
|||
|
Inherited from Inherited from |
|||
|
|||
| a new object with type S, a subtype of T |
|
||
|
|||
|
_pointers_ a list containing names of variables for ctypes pointers, ctypes structures, or containers that hold ctypes pointers. |
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
|
|||
_pointers_a list containing names of variables for ctypes pointers, ctypes structures, or containers that hold ctypes pointers. The list would be used in binding/unbinding process. Subclassing does not override the content of this list. The names defined in the superclasses will be prepended in front of anything in the list defined in the subclass. |
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Sat Jan 21 09:38:33 2012 | http://epydoc.sourceforge.net |