|
RAVE
|
Python version of the properties API. More...
#include "rave_properties.h"Go to the source code of this file.
Classes | |
| struct | PyRaveProperties |
| A cartesian product. More... | |
Macros | |
| #define | PyRaveProperties_Type_NUM 0 |
| index of type | |
| #define | PyRaveProperties_GetNative_NUM 1 |
| index of GetNative | |
| #define | PyRaveProperties_GetNative_RETURN RaveProperties_t* |
| return type for GetNative | |
| #define | PyRaveProperties_GetNative_PROTO (PyRaveProperties*) |
| arguments for GetNative | |
| #define | PyRaveProperties_New_NUM 2 |
| index of New | |
| #define | PyRaveProperties_New_RETURN PyRaveProperties* |
| return type for New | |
| #define | PyRaveProperties_New_PROTO (RaveProperties_t*) |
| arguments for New | |
| #define | PyRaveProperties_API_pointers 3 |
| number of API pointers | |
| #define | PyRaveProperties_CAPSULE_NAME "_raveproperties._C_API" |
| #define | PyRaveProperties_GetNative (*(PyRaveProperties_GetNative_RETURN (*)PyRaveProperties_GetNative_PROTO) PyRaveProperties_API[PyRaveProperties_GetNative_NUM]) |
| Returns a pointer to the internal area, remember to release the reference when done with the object. | |
| #define | PyRaveProperties_New (*(PyRaveProperties_New_RETURN (*)PyRaveProperties_New_PROTO) PyRaveProperties_API[PyRaveProperties_New_NUM]) |
| Creates a area registry instance. | |
| #define | PyRaveProperties_Check(op) |
| Loads a area registry instance. | |
| #define | PyRaveProperties_Type (*(PyTypeObject*)PyRaveProperties_API[PyRaveProperties_Type_NUM]) |
| #define | import_raveproperties() |
| Imports the PyRaveProperties module (like import _arearegistry in python). | |
Python version of the properties API.
| #define import_raveproperties | ( | ) |
Imports the PyRaveProperties module (like import _arearegistry in python).
| #define PyRaveProperties_API_pointers 3 |
number of API pointers
| #define PyRaveProperties_Check | ( | op | ) |
Loads a area registry instance.
Release this object with Py_DECREF.
| [in] | filename | - the filename. |
| [in] | pyprojregistry | - the py projection registry |
| #define PyRaveProperties_GetNative (*(PyRaveProperties_GetNative_RETURN (*)PyRaveProperties_GetNative_PROTO) PyRaveProperties_API[PyRaveProperties_GetNative_NUM]) |
Returns a pointer to the internal area, remember to release the reference when done with the object.
(RAVE_OBJECT_RELEASE).
| #define PyRaveProperties_GetNative_NUM 1 |
index of GetNative
| #define PyRaveProperties_GetNative_PROTO (PyRaveProperties*) |
arguments for GetNative
| #define PyRaveProperties_GetNative_RETURN RaveProperties_t* |
return type for GetNative
| #define PyRaveProperties_New (*(PyRaveProperties_New_RETURN (*)PyRaveProperties_New_PROTO) PyRaveProperties_API[PyRaveProperties_New_NUM]) |
Creates a area registry instance.
Release this object with Py_DECREF. If a AreaRegistry_t area is provided and this registry already is bound to a python instance, this instance will be increfed and returned.
| [in] | area | - the Area_t intance. |
| #define PyRaveProperties_New_NUM 2 |
index of New
| #define PyRaveProperties_New_PROTO (RaveProperties_t*) |
arguments for New
| #define PyRaveProperties_New_RETURN PyRaveProperties* |
return type for New
| #define PyRaveProperties_Type_NUM 0 |
index of type