RAVE
pybitmapgenerator.h File Reference

Python version of the Transform API. More...

#include "bitmap_generator.h"

Go to the source code of this file.

Classes

struct  PyBitmapGenerator
 The definition. More...
 

Macros

#define PyBitmapGenerator_Type_NUM   0
 index for Type
 
#define PyBitmapGenerator_GetNative_NUM   1
 index for GetNative fp
 
#define PyBitmapGenerator_GetNative_RETURN   BitmapGenerator_t*
 Return type for GetNative.
 
#define PyBitmapGenerator_GetNative_PROTO   (PyBitmapGenerator*)
 Argument prototype for GetNative.
 
#define PyBitmapGenerator_New_NUM   2
 index for New fp
 
#define PyBitmapGenerator_New_RETURN   PyBitmapGenerator*
 Return type for New.
 
#define PyBitmapGenerator_New_PROTO   (BitmapGenerator_t*)
 Argument prototype for New.
 
#define PyBitmapGenerator_API_pointers   3
 total number of C API pointers
 
#define PyBitmapGenerator_CAPSULE_NAME   "_bitmapgenerator._C_API"
 
#define PyBitmapGenerator_GetNative    (*(PyBitmapGenerator_GetNative_RETURN (*)PyBitmapGenerator_GetNative_PROTO) PyBitmapGenerator_API[PyBitmapGenerator_GetNative_NUM])
 Returns a pointer to the internal polar scan, remember to release the reference when done with the object.
 
#define PyBitmapGenerator_New    (*(PyBitmapGenerator_New_RETURN (*)PyBitmapGenerator_New_PROTO) PyBitmapGenerator_API[PyBitmapGenerator_New_NUM])
 Creates a new polar scan instance.
 
#define PyBitmapGenerator_Check(op)
 Checks if the object is a bitmap generator.
 
#define PyBitmapGenerator_Type   (*(PyTypeObject*)PyBitmapGenerator_API[PyBitmapGenerator_Type_NUM])
 
#define import_pybitmapgenerator()
 Imports the PyBitmapGenerator module (like import _bitmapgenerator in python).
 

Detailed Description

Python version of the Transform API.

Author
Anders Henja (Swedish Meteorological and Hydrological Institute, SMHI)
Date
2009-12-10

Macro Definition Documentation

◆ import_pybitmapgenerator

#define import_pybitmapgenerator ( )
Value:
PyBitmapGenerator_API = (void **)PyCapsule_Import(PyBitmapGenerator_CAPSULE_NAME, 1);

Imports the PyBitmapGenerator module (like import _bitmapgenerator in python).

◆ PyBitmapGenerator_API_pointers

#define PyBitmapGenerator_API_pointers   3

total number of C API pointers

◆ PyBitmapGenerator_Check

#define PyBitmapGenerator_Check ( op)
Value:
(Py_TYPE(op) == &PyBitmapGenerator_Type)

Checks if the object is a bitmap generator.

◆ PyBitmapGenerator_GetNative

#define PyBitmapGenerator_GetNative    (*(PyBitmapGenerator_GetNative_RETURN (*)PyBitmapGenerator_GetNative_PROTO) PyBitmapGenerator_API[PyBitmapGenerator_GetNative_NUM])

Returns a pointer to the internal polar scan, remember to release the reference when done with the object.

(RAVE_OBJECT_RELEASE).

◆ PyBitmapGenerator_GetNative_NUM

#define PyBitmapGenerator_GetNative_NUM   1

index for GetNative fp

◆ PyBitmapGenerator_GetNative_PROTO

#define PyBitmapGenerator_GetNative_PROTO   (PyBitmapGenerator*)

Argument prototype for GetNative.

◆ PyBitmapGenerator_GetNative_RETURN

#define PyBitmapGenerator_GetNative_RETURN   BitmapGenerator_t*

Return type for GetNative.

◆ PyBitmapGenerator_New

#define PyBitmapGenerator_New    (*(PyBitmapGenerator_New_RETURN (*)PyBitmapGenerator_New_PROTO) PyBitmapGenerator_API[PyBitmapGenerator_New_NUM])

Creates a new polar scan instance.

Release this object with Py_DECREF.

Parameters
[in]scan- the PolarScan_t intance.
Returns
the PyBitmapGenerator instance.

◆ PyBitmapGenerator_New_NUM

#define PyBitmapGenerator_New_NUM   2

index for New fp

◆ PyBitmapGenerator_New_PROTO

#define PyBitmapGenerator_New_PROTO   (BitmapGenerator_t*)

Argument prototype for New.

◆ PyBitmapGenerator_New_RETURN

#define PyBitmapGenerator_New_RETURN   PyBitmapGenerator*

Return type for New.

◆ PyBitmapGenerator_Type_NUM

#define PyBitmapGenerator_Type_NUM   0

index for Type