|
RAVE
|
Python version of the PolarVolume API. More...
#include "polarvolume.h"Go to the source code of this file.
Classes | |
| struct | PyPolarVolume |
| The polar volume object. More... | |
Macros | |
| #define | PyPolarVolume_Type_NUM 0 |
| index of type | |
| #define | PyPolarVolume_GetNative_NUM 1 |
| index of GetNative | |
| #define | PyPolarVolume_GetNative_RETURN PolarVolume_t* |
| return type for GetNative | |
| #define | PyPolarVolume_GetNative_PROTO (PyPolarVolume*) |
| arguments for GetNative | |
| #define | PyPolarVolume_New_NUM 2 |
| index of New | |
| #define | PyPolarVolume_New_RETURN PyPolarVolume* |
| return type for New | |
| #define | PyPolarVolume_New_PROTO (PolarVolume_t*) |
| arguments for New | |
| #define | PyPolarVolume_API_pointers 3 |
| number of type and function pointers | |
| #define | PyPolarVolume_CAPSULE_NAME "_polarvolume._C_API" |
| #define | PyPolarVolume_GetNative (*(PyPolarVolume_GetNative_RETURN (*)PyPolarVolume_GetNative_PROTO) PyPolarVolume_API[PyPolarVolume_GetNative_NUM]) |
| Returns a pointer to the internal polar volume, remember to release the reference when done with the object. | |
| #define | PyPolarVolume_New (*(PyPolarVolume_New_RETURN (*)PyPolarVolume_New_PROTO) PyPolarVolume_API[PyPolarVolume_New_NUM]) |
| Creates a new polar volume instance. | |
| #define | PyPolarVolume_Check(op) |
| Checks if the object is a python polar volume. | |
| #define | PyPolarVolume_Type (*(PyTypeObject*)PyPolarVolume_API[PyPolarVolume_Type_NUM]) |
| #define | import_pypolarvolume() |
| Imports the PyPolarVolume module (like import _polarvolume in python). | |
Python version of the PolarVolume API.
| #define import_pypolarvolume | ( | ) |
Imports the PyPolarVolume module (like import _polarvolume in python).
| #define PyPolarVolume_API_pointers 3 |
number of type and function pointers
| #define PyPolarVolume_Check | ( | op | ) |
Checks if the object is a python polar volume.
| #define PyPolarVolume_GetNative (*(PyPolarVolume_GetNative_RETURN (*)PyPolarVolume_GetNative_PROTO) PyPolarVolume_API[PyPolarVolume_GetNative_NUM]) |
Returns a pointer to the internal polar volume, remember to release the reference when done with the object.
(RAVE_OBJECT_RELEASE).
| #define PyPolarVolume_GetNative_NUM 1 |
index of GetNative
| #define PyPolarVolume_GetNative_PROTO (PyPolarVolume*) |
arguments for GetNative
| #define PyPolarVolume_GetNative_RETURN PolarVolume_t* |
return type for GetNative
| #define PyPolarVolume_New (*(PyPolarVolume_New_RETURN (*)PyPolarVolume_New_PROTO) PyPolarVolume_API[PyPolarVolume_New_NUM]) |
Creates a new polar volume instance.
Release this object with Py_DECREF. If a PolarVolume_t instance is provided and this instance already is bound to a python instance, this instance will be increfed and returned.
| [in] | volume | - the PolarVolume_t intance. |
| #define PyPolarVolume_New_NUM 2 |
index of New
| #define PyPolarVolume_New_PROTO (PolarVolume_t*) |
arguments for New
| #define PyPolarVolume_New_RETURN PyPolarVolume* |
return type for New
| #define PyPolarVolume_Type_NUM 0 |
index of type