RAVE
pyprojectionpipeline.h File Reference

Python version of the projection pipeline API. More...

Go to the source code of this file.

Classes

struct  PyProjectionPipeline
 A projection. More...
 

Macros

#define PyProjectionPipeline_Type_NUM   0
 index for Type
 
#define PyProjectionPipeline_GetNative_NUM   1
 index for GetNative
 
#define PyProjectionPipeline_GetNative_RETURN   ProjectionPipeline_t*
 return type for GetNative
 
#define PyProjectionPipeline_GetNative_PROTO   (PyProjectionPipeline*)
 argument prototype for GetNative
 
#define PyProjectionPipeline_New_NUM   2
 index for New
 
#define PyProjectionPipeline_New_RETURN   PyProjectionPipeline*
 return type for New
 
#define PyProjectionPipeline_New_PROTO   (ProjectionPipeline_t*)
 argument prototype for New
 
#define PyProjectionPipeline_API_pointers   3
 number of function and variable pointers
 
#define PyProjectionPipeline_CAPSULE_NAME   "_projectionpipeline._C_API"
 
#define PyProjectionPipeline_GetNative    (*(PyProjectionPipeline_GetNative_RETURN (*)PyProjectionPipeline_GetNative_PROTO) PyProjectionPipeline_API[PyProjectionPipeline_GetNative_NUM])
 Returns a pointer to the internal projection pipeline, remember to release the reference when done with the object.
 
#define PyProjectionPipeline_New    (*(PyProjectionPipeline_New_RETURN (*)PyProjectionPipeline_New_PROTO) PyProjectionPipeline_API[PyProjectionPipeline_New_NUM])
 Creates a new projection pipeline instance.
 
#define PyProjectionPipeline_Check(op)
 Checks if the object is a python projection pipeline.
 
#define PyProjectionPipeline_Type   (*(PyTypeObject *)PyProjectionPipeline_API[PyProjectionPipeline_Type_NUM])
 
#define import_pyprojectionpipeline()
 Imports the pyprojectionpipeline module (like import _projectionpipeline in python).
 

Detailed Description

Python version of the projection pipeline API.

Author
Anders Henja (Swedish Meteorological and Hydrological Institute, SMHI)
Date
2021-10-14

Macro Definition Documentation

◆ import_pyprojectionpipeline

#define import_pyprojectionpipeline ( )
Value:
PyProjectionPipeline_API = (void **)PyCapsule_Import(PyProjectionPipeline_CAPSULE_NAME, 1);

Imports the pyprojectionpipeline module (like import _projectionpipeline in python).

◆ PyProjectionPipeline_API_pointers

#define PyProjectionPipeline_API_pointers   3

number of function and variable pointers

◆ PyProjectionPipeline_Check

#define PyProjectionPipeline_Check ( op)
Value:
(Py_TYPE(op) == &PyProjectionPipeline_Type)

Checks if the object is a python projection pipeline.

◆ PyProjectionPipeline_GetNative

#define PyProjectionPipeline_GetNative    (*(PyProjectionPipeline_GetNative_RETURN (*)PyProjectionPipeline_GetNative_PROTO) PyProjectionPipeline_API[PyProjectionPipeline_GetNative_NUM])

Returns a pointer to the internal projection pipeline, remember to release the reference when done with the object.

(RAVE_OBJECT_RELEASE).

◆ PyProjectionPipeline_GetNative_NUM

#define PyProjectionPipeline_GetNative_NUM   1

index for GetNative

◆ PyProjectionPipeline_GetNative_PROTO

#define PyProjectionPipeline_GetNative_PROTO   (PyProjectionPipeline*)

argument prototype for GetNative

◆ PyProjectionPipeline_GetNative_RETURN

#define PyProjectionPipeline_GetNative_RETURN   ProjectionPipeline_t*

return type for GetNative

◆ PyProjectionPipeline_New

#define PyProjectionPipeline_New    (*(PyProjectionPipeline_New_RETURN (*)PyProjectionPipeline_New_PROTO) PyProjectionPipeline_API[PyProjectionPipeline_New_NUM])

Creates a new projection pipeline instance.

Release this object with Py_DECREF. If the passed ProjectionPipeline_t instance is bound to a python instance, this instance will be increfed and returned.

Parameters
[in]proj- the ProjectionPipeline_t intance.
Returns
the PyProjectionPipeline instance.

◆ PyProjectionPipeline_New_NUM

#define PyProjectionPipeline_New_NUM   2

index for New

◆ PyProjectionPipeline_New_PROTO

#define PyProjectionPipeline_New_PROTO   (ProjectionPipeline_t*)

argument prototype for New

◆ PyProjectionPipeline_New_RETURN

#define PyProjectionPipeline_New_RETURN   PyProjectionPipeline*

return type for New

◆ PyProjectionPipeline_Type_NUM

#define PyProjectionPipeline_Type_NUM   0

index for Type