BALTRAD PPC
pyppcradaroptions.h File Reference

Python version of the ppc radar options class. More...

Go to the source code of this file.

Classes

struct  PyPpcRadarOptions
 The ppc radar objects class. More...
 

Macros

#define PyPpcRadarOptions_Type_NUM   0
 index of type
 
#define PyPpcRadarOptions_GetNative_NUM   1
 index of GetNative
 
#define PyPpcRadarOptions_GetNative_RETURN   PpcRadarOptions_t*
 return type for GetNative
 
#define PyPpcRadarOptions_GetNative_PROTO   (PyPpcRadarOptions*)
 arguments for GetNative
 
#define PyPpcRadarOptions_New_NUM   2
 index of New
 
#define PyPpcRadarOptions_New_RETURN   PyPpcRadarOptions*
 return type for New
 
#define PyPpcRadarOptions_New_PROTO   (PpcRadarOptions_t*)
 arguments for New
 
#define PyPpcRadarOptions_API_pointers   3
 number of type and function pointers
 
#define PyPpcRadarOptions_CAPSULE_NAME   "_ppcradaroptions._C_API"
 
#define PyPpcRadarOptions_GetNative    (*(PyPpcRadarOptions_GetNative_RETURN (*)PyPpcRadarOptions_GetNative_PROTO) PyPpcRadarOptions_API[PyPpcRadarOptions_GetNative_NUM])
 Returns a pointer to the internal ppc radar options, remember to release the reference when done with the object.
 
#define PyPpcRadarOptions_New    (*(PyPpcRadarOptions_New_RETURN (*)PyPpcRadarOptions_New_PROTO) PyPpcRadarOptions_API[PyPpcRadarOptions_New_NUM])
 Creates a new ppc radar options instance.
 
#define PyPpcRadarOptions_Check(op)
 Checks if the object is a python ppc radar options instance.
 
#define PyPpcRadarOptions_Type   (*(PyTypeObject*)PyPpcRadarOptions_API[PyPpcRadarOptions_Type_NUM])
 
#define import_ppcradaroptions()
 Imports the PyPpcRadarOptions module (like import _ppcradaroptions in python).
 

Detailed Description

Python version of the ppc radar options class.

Author
Anders Henja (Swedish Meteorological and Hydrological Institute, SMHI)
Date
2019-02-17

Macro Definition Documentation

◆ import_ppcradaroptions

#define import_ppcradaroptions ( )
Value:
PyPpcRadarOptions_API = (void **)PyCapsule_Import(PyPpcRadarOptions_CAPSULE_NAME, 1);

Imports the PyPpcRadarOptions module (like import _ppcradaroptions in python).

◆ PyPpcRadarOptions_API_pointers

#define PyPpcRadarOptions_API_pointers   3

number of type and function pointers

◆ PyPpcRadarOptions_Check

#define PyPpcRadarOptions_Check ( op)
Value:
(Py_TYPE(op) == &PyPpcRadarOptions_Type)

Checks if the object is a python ppc radar options instance.

◆ PyPpcRadarOptions_GetNative

#define PyPpcRadarOptions_GetNative    (*(PyPpcRadarOptions_GetNative_RETURN (*)PyPpcRadarOptions_GetNative_PROTO) PyPpcRadarOptions_API[PyPpcRadarOptions_GetNative_NUM])

Returns a pointer to the internal ppc radar options, remember to release the reference when done with the object.

(RAVE_OBJECT_RELEASE).

◆ PyPpcRadarOptions_GetNative_NUM

#define PyPpcRadarOptions_GetNative_NUM   1

index of GetNative

◆ PyPpcRadarOptions_GetNative_PROTO

#define PyPpcRadarOptions_GetNative_PROTO   (PyPpcRadarOptions*)

arguments for GetNative

◆ PyPpcRadarOptions_GetNative_RETURN

#define PyPpcRadarOptions_GetNative_RETURN   PpcRadarOptions_t*

return type for GetNative

◆ PyPpcRadarOptions_New

#define PyPpcRadarOptions_New    (*(PyPpcRadarOptions_New_RETURN (*)PyPpcRadarOptions_New_PROTO) PyPpcRadarOptions_API[PyPpcRadarOptions_New_NUM])

Creates a new ppc radar options instance.

Release this object with Py_DECREF. If a PpcRadarOptions_t instance is provided and this instance already is bound to a python instance, this instance will be increfed and returned.

Parameters
[in]processor- the PpcRadarOptions_t instance.
Returns
the PyPpcRadarOptions instance.

◆ PyPpcRadarOptions_New_NUM

#define PyPpcRadarOptions_New_NUM   2

index of New

◆ PyPpcRadarOptions_New_PROTO

#define PyPpcRadarOptions_New_PROTO   (PpcRadarOptions_t*)

arguments for New

◆ PyPpcRadarOptions_New_RETURN

#define PyPpcRadarOptions_New_RETURN   PyPpcRadarOptions*

return type for New

◆ PyPpcRadarOptions_Type_NUM

#define PyPpcRadarOptions_Type_NUM   0

index of type