| |
- object
-
- CArgCalculator
- CArgCalculatorElement
- CArgumentCalculator
- PyArgCalculator
- PyArgCalculatorElement
- Wrapper
- cArgConverter
-
- DefaultCConverter
- getPyArgsName
- cArgumentConverter
- pyArgConverter
-
- CallFuncPyConverter
- returnConverter
-
- returnCArgument
- returnPyArgument
- returnPyArgumentIndex
class CArgCalculator(object) |
|
C-coded version of the c-arg calculator pattern |
|
Methods defined here:
- __call__(...)
- __init__(...)
- x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Data and other attributes defined here:
- __new__ = <built-in method __new__ of type object at 0x7f8ebcb70f20>
- T.__new__(S, ...) -> a new object with type S, a subtype of T
- __pyx_vtable__ = <PyCObject object at 0x7f8ebf97e710>
|
class CArgCalculatorElement(object) |
| |
Methods defined here:
- __call__(...)
- If callable, call converter( pyArgs, index, wrapper ), else return converter
- __init__(...)
- x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Data and other attributes defined here:
- __new__ = <built-in method __new__ of type object at 0x7f8ebcb70d80>
- T.__new__(S, ...) -> a new object with type S, a subtype of T
- __pyx_vtable__ = <PyCObject object at 0x7f8ebf97e3c8>
|
class CArgumentCalculator(object) |
| |
Methods defined here:
- __call__(...)
- __init__(...)
- x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Data and other attributes defined here:
- __new__ = <built-in method __new__ of type object at 0x7f8ebcb71400>
- T.__new__(S, ...) -> a new object with type S, a subtype of T
- __pyx_vtable__ = <PyCObject object at 0x7f8ebf97e878>
|
class PyArgCalculator(object) |
|
C-coded version of the py-arg calculator pattern |
|
Methods defined here:
- __call__(...)
- __init__(...)
- x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Data and other attributes defined here:
- __new__ = <built-in method __new__ of type object at 0x7f8ebcb71260>
- T.__new__(S, ...) -> a new object with type S, a subtype of T
- __pyx_vtable__ = <PyCObject object at 0x7f8ebf97e8a0>
|
class PyArgCalculatorElement(object) |
| |
Methods defined here:
- __call__(...)
- If converter is not None, call converter( pyArgs[self.index], wrapper, pyArgs ), else return args[self.index]
- __init__(...)
- x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Data and other attributes defined here:
- __new__ = <built-in method __new__ of type object at 0x7f8ebcb710c0>
- T.__new__(S, ...) -> a new object with type S, a subtype of T
- __pyx_vtable__ = <PyCObject object at 0x7f8ebf97e7d8>
|
class Wrapper(object) |
|
C-coded most-generic form of the wrapper's core function
Applies a series of wrapper stages to the core function in order
to expand and/or convert parameters into formats which are compatible
with the underlying (ctypes) library. Requires the use of the
Calculator objects defined later in this module in order to provide
efficient operations. |
|
Methods defined here:
- __call__(...)
- __init__(...)
- x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Data descriptors defined here:
- returnValues
- storeValues
- wrappedOperation
Data and other attributes defined here:
- __new__ = <built-in method __new__ of type object at 0x7f8ebcb718e0>
- T.__new__(S, ...) -> a new object with type S, a subtype of T
|
class cArgConverter(object) |
|
C-level API definition for cConverter objects |
|
Methods defined here:
- __call__(...)
- Return pyArgs[self.index] or raise a ValueError
Data and other attributes defined here:
- __new__ = <built-in method __new__ of type object at 0x7f8ebcb70700>
- T.__new__(S, ...) -> a new object with type S, a subtype of T
- __pyx_vtable__ = <PyCObject object at 0x7f8ebf97e5f8>
|
class cArgumentConverter(object) |
|
C-level API definition for cArgument convert objects |
|
Methods defined here:
- __call__(...)
- Call our function on incoming
Data and other attributes defined here:
- __new__ = <built-in method __new__ of type object at 0x7f8ebcb70a40>
- T.__new__(S, ...) -> a new object with type S, a subtype of T
- __pyx_vtable__ = <PyCObject object at 0x7f8ebf97e288>
|
class getPyArgsName(cArgConverter) |
|
CConverter returning named Python argument
Intended for use in cConverters, the function returned
retrieves the named pyArg and returns it when called. |
|
- Method resolution order:
- getPyArgsName
- cArgConverter
- object
Methods defined here:
- __init__(...)
- x.__init__(...) initializes x; see x.__class__.__doc__ for signature
- __repr__(...)
- finalise(...)
Data descriptors defined here:
- index
- name
Data and other attributes defined here:
- __new__ = <built-in method __new__ of type object at 0x7f8ebcb71a80>
- T.__new__(S, ...) -> a new object with type S, a subtype of T
- __pyx_vtable__ = <PyCObject object at 0x7f8ebf97e940>
Methods inherited from cArgConverter:
- __call__(...)
- Return pyArgs[self.index] or raise a ValueError
|
class pyArgConverter(object) |
|
C-level API definition for pyArg converter objects |
|
Methods defined here:
- __call__(...)
- Call our function on incoming
Data and other attributes defined here:
- __new__ = <built-in method __new__ of type object at 0x7f8ebcb708a0>
- T.__new__(S, ...) -> a new object with type S, a subtype of T
- __pyx_vtable__ = <PyCObject object at 0x7f8ebf97e530>
|
class returnConverter(object) |
|
C-level API definition for cArgument convert objects |
|
Methods defined here:
- __call__(...)
- Call our function on incoming
Data and other attributes defined here:
- __new__ = <built-in method __new__ of type object at 0x7f8ebcb70be0>
- T.__new__(S, ...) -> a new object with type S, a subtype of T
- __pyx_vtable__ = <PyCObject object at 0x7f8ebf97e6e8>
|
|