BEAM BLOCKAGE
pybeamblockagemap.h File Reference

Python version of the beam blockage map. More...

#include "beamblockagemap.h"

Go to the source code of this file.

Classes

struct  PyBeamBlockageMap
 The beam blockage. More...
 

Macros

#define PyBeamBlockageMap_Type_NUM   0
 index of type
 
#define PyBeamBlockageMap_GetNative_NUM   1
 index of GetNative
 
#define PyBeamBlockageMap_GetNative_RETURN   BeamBlockageMap_t*
 return type for GetNative
 
#define PyBeamBlockageMap_GetNative_PROTO   (PyBeamBlockageMap*)
 arguments for GetNative
 
#define PyBeamBlockageMap_New_NUM   2
 index of New
 
#define PyBeamBlockageMap_New_RETURN   PyBeamBlockageMap*
 return type for New
 
#define PyBeamBlockageMap_New_PROTO   (BeamBlockageMap_t*)
 arguments for New
 
#define PyBeamBlockageMap_API_pointers   3
 number of type and function pointers
 
#define PyBeamBlockageMap_CAPSULE_NAME   "_beamblockagemap._C_API"
 
#define PyBeamBlockageMap_GetNative    (*(PyBeamBlockageMap_GetNative_RETURN (*)PyBeamBlockageMap_GetNative_PROTO) PyBeamBlockageMap_API[PyBeamBlockageMap_GetNative_NUM])
 Returns a pointer to the internal beam blockage, remember to release the reference when done with the object.
 
#define PyBeamBlockageMap_New    (*(PyBeamBlockageMap_New_RETURN (*)PyBeamBlockageMap_New_PROTO) PyBeamBlockageMap_API[PyBeamBlockageMap_New_NUM])
 Creates a new beam blockage instance.
 
#define PyBeamBlockageMap_Check(op)
 Checks if the object is a python beam blockage instance.
 
#define PyBeamBlockageMap_Type   (*(PyTypeObject*)PyBeamBlockageMap_API[PyBeamBlockageMap_Type_NUM])
 
#define import_beamblockagemap()
 Imports the PyBeamBlockageMap module (like import _beamblockage in python).
 

Detailed Description

Python version of the beam blockage map.

Author
Anders Henja (Swedish Meteorological and Hydrological Institute, SMHI)
Date
2011-11-15

Macro Definition Documentation

◆ import_beamblockagemap

#define import_beamblockagemap ( )
Value:
PyBeamBlockageMap_API = (void **)PyCapsule_Import(PyBeamBlockageMap_CAPSULE_NAME, 1);

Imports the PyBeamBlockageMap module (like import _beamblockage in python).

◆ PyBeamBlockageMap_API_pointers

#define PyBeamBlockageMap_API_pointers   3

number of type and function pointers

◆ PyBeamBlockageMap_Check

#define PyBeamBlockageMap_Check ( op)
Value:
(Py_TYPE(op) == &PyBeamBlockageMap_Type)

Checks if the object is a python beam blockage instance.

◆ PyBeamBlockageMap_GetNative

#define PyBeamBlockageMap_GetNative    (*(PyBeamBlockageMap_GetNative_RETURN (*)PyBeamBlockageMap_GetNative_PROTO) PyBeamBlockageMap_API[PyBeamBlockageMap_GetNative_NUM])

Returns a pointer to the internal beam blockage, remember to release the reference when done with the object.

(RAVE_OBJECT_RELEASE).

◆ PyBeamBlockageMap_GetNative_NUM

#define PyBeamBlockageMap_GetNative_NUM   1

index of GetNative

◆ PyBeamBlockageMap_GetNative_PROTO

#define PyBeamBlockageMap_GetNative_PROTO   (PyBeamBlockageMap*)

arguments for GetNative

◆ PyBeamBlockageMap_GetNative_RETURN

#define PyBeamBlockageMap_GetNative_RETURN   BeamBlockageMap_t*

return type for GetNative

◆ PyBeamBlockageMap_New

#define PyBeamBlockageMap_New    (*(PyBeamBlockageMap_New_RETURN (*)PyBeamBlockageMap_New_PROTO) PyBeamBlockageMap_API[PyBeamBlockageMap_New_NUM])

Creates a new beam blockage instance.

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

Parameters
[in]beamb- the BeamBlockage_t instance.
Returns
the PyBeamBlockageMap instance.

◆ PyBeamBlockageMap_New_NUM

#define PyBeamBlockageMap_New_NUM   2

index of New

◆ PyBeamBlockageMap_New_PROTO

#define PyBeamBlockageMap_New_PROTO   (BeamBlockageMap_t*)

arguments for New

◆ PyBeamBlockageMap_New_RETURN

#define PyBeamBlockageMap_New_RETURN   PyBeamBlockageMap*

return type for New

◆ PyBeamBlockageMap_Type_NUM

#define PyBeamBlockageMap_Type_NUM   0

index of type