|
RAVE
|
Python version of the Projection registry API. More...
#include "projectionregistry.h"Go to the source code of this file.
Classes | |
| struct | PyProjectionRegistry |
| A projection registry. More... | |
Macros | |
| #define | PyProjectionRegistry_Type_NUM 0 |
| index of type | |
| #define | PyProjectionRegistry_GetNative_NUM 1 |
| index of GetNative | |
| #define | PyProjectionRegistry_GetNative_RETURN ProjectionRegistry_t* |
| return type for GetNative | |
| #define | PyProjectionRegistry_GetNative_PROTO (PyProjectionRegistry*) |
| arguments for GetNative | |
| #define | PyProjectionRegistry_New_NUM 2 |
| index of New | |
| #define | PyProjectionRegistry_New_RETURN PyProjectionRegistry* |
| return type for New | |
| #define | PyProjectionRegistry_New_PROTO (ProjectionRegistry_t*) |
| arguments for New | |
| #define | PyProjectionRegistry_Load_NUM 3 |
| index for Load | |
| #define | PyProjectionRegistry_Load_RETURN PyProjectionRegistry* |
| return type for Load | |
| #define | PyProjectionRegistry_Load_PROTO (const char* filename) |
| argument prototype for Open | |
| #define | PyProjectionRegistry_API_pointers 4 |
| number of API pointers | |
| #define | PyProjectionRegistry_CAPSULE_NAME "_projectionregistry._C_API" |
| #define | PyProjectionRegistry_GetNative (*(PyProjectionRegistry_GetNative_RETURN (*)PyProjectionRegistry_GetNative_PROTO) PyProjectionRegistry_API[PyProjectionRegistry_GetNative_NUM]) |
| Returns a pointer to the internal registry, remember to release the reference when done with the object. | |
| #define | PyProjectionRegistry_New (*(PyProjectionRegistry_New_RETURN (*)PyProjectionRegistry_New_PROTO) PyProjectionRegistry_API[PyProjectionRegistry_New_NUM]) |
| Creates a projection registry instance. | |
| #define | PyProjectionRegistry_Load (*(PyProjectionRegistry_Load_RETURN (*)PyProjectionRegistry_Load_PROTO) PyProjectionRegistry_API[PyProjectionRegistry_Load_NUM]) |
| Loads a projection registry instance. | |
| #define | PyProjectionRegistry_Check(op) |
| Checks if the object is a python projection registry. | |
| #define | PyProjectionRegistry_Type (*(PyTypeObject*)PyProjectionRegistry_API[PyProjectionRegistry_Type_NUM]) |
| #define | import_pyprojectionregistry() |
| Imports the PyProjectionRegistry module (like import _projectionregistry in python). | |
Python version of the Projection registry API.
| #define import_pyprojectionregistry | ( | ) |
Imports the PyProjectionRegistry module (like import _projectionregistry in python).
| #define PyProjectionRegistry_API_pointers 4 |
number of API pointers
| #define PyProjectionRegistry_Check | ( | op | ) |
Checks if the object is a python projection registry.
| #define PyProjectionRegistry_GetNative (*(PyProjectionRegistry_GetNative_RETURN (*)PyProjectionRegistry_GetNative_PROTO) PyProjectionRegistry_API[PyProjectionRegistry_GetNative_NUM]) |
Returns a pointer to the internal registry, remember to release the reference when done with the object.
(RAVE_OBJECT_RELEASE).
| #define PyProjectionRegistry_GetNative_NUM 1 |
index of GetNative
| #define PyProjectionRegistry_GetNative_PROTO (PyProjectionRegistry*) |
arguments for GetNative
| #define PyProjectionRegistry_GetNative_RETURN ProjectionRegistry_t* |
return type for GetNative
| #define PyProjectionRegistry_Load (*(PyProjectionRegistry_Load_RETURN (*)PyProjectionRegistry_Load_PROTO) PyProjectionRegistry_API[PyProjectionRegistry_Load_NUM]) |
Loads a projection registry instance.
Release this object with Py_DECREF.
| [in] | filename | - the filename. |
| #define PyProjectionRegistry_Load_NUM 3 |
index for Load
| #define PyProjectionRegistry_Load_PROTO (const char* filename) |
argument prototype for Open
| #define PyProjectionRegistry_Load_RETURN PyProjectionRegistry* |
return type for Load
| #define PyProjectionRegistry_New (*(PyProjectionRegistry_New_RETURN (*)PyProjectionRegistry_New_PROTO) PyProjectionRegistry_API[PyProjectionRegistry_New_NUM]) |
Creates a projection registry instance.
Release this object with Py_DECREF. If a ProjectionRegistry_t registry is provided and this registry already is bound to a python instance, this instance will be increfed and returned.
| [in] | registry | - the ProjectionRegistry_t intance. |
| #define PyProjectionRegistry_New_NUM 2 |
index of New
| #define PyProjectionRegistry_New_PROTO (ProjectionRegistry_t*) |
arguments for New
| #define PyProjectionRegistry_New_RETURN PyProjectionRegistry* |
return type for New
| #define PyProjectionRegistry_Type_NUM 0 |
index of type