BEAM BLOCKAGE
pybeamblockage.h File Reference

Python version of the beam blockage. More...

#include "beamblockage.h"

Go to the source code of this file.

Classes

struct  PyBeamBlockage
 The beam blockage. More...
 

Macros

#define PyBeamBlockage_Type_NUM   0
 index of type
 
#define PyBeamBlockage_GetNative_NUM   1
 index of GetNative
 
#define PyBeamBlockage_GetNative_RETURN   BeamBlockage_t*
 return type for GetNative
 
#define PyBeamBlockage_GetNative_PROTO   (PyBeamBlockage*)
 arguments for GetNative
 
#define PyBeamBlockage_New_NUM   2
 index of New
 
#define PyBeamBlockage_New_RETURN   PyBeamBlockage*
 return type for New
 
#define PyBeamBlockage_New_PROTO   (BeamBlockage_t*)
 arguments for New
 
#define PyBeamBlockage_API_pointers   3
 number of type and function pointers
 
#define PyBeamBlockage_CAPSULE_NAME   "_beamblockage._C_API"
 
#define PyBeamBlockage_GetNative    (*(PyBeamBlockage_GetNative_RETURN (*)PyBeamBlockage_GetNative_PROTO) PyBeamBlockage_API[PyBeamBlockage_GetNative_NUM])
 Returns a pointer to the internal beam blockage, remember to release the reference when done with the object.
 
#define PyBeamBlockage_New    (*(PyBeamBlockage_New_RETURN (*)PyBeamBlockage_New_PROTO) PyBeamBlockage_API[PyBeamBlockage_New_NUM])
 Creates a new beam blockage instance.
 
#define PyBeamBlockage_Check(op)
 Checks if the object is a python beam blockage instance.
 
#define PyBeamBlockage_Type   (*(PyTypeObject*)PyBeamBlockage_API[PyBeamBlockage_Type_NUM])
 
#define import_beamblockage()
 Imports the PyBeamBlockage module (like import _beamblockage in python).
 

Detailed Description

Python version of the beam blockage.

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

Macro Definition Documentation

◆ import_beamblockage

#define import_beamblockage ( )
Value:
PyBeamBlockage_API = (void **)PyCapsule_Import(PyBeamBlockage_CAPSULE_NAME, 1);

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

◆ PyBeamBlockage_API_pointers

#define PyBeamBlockage_API_pointers   3

number of type and function pointers

◆ PyBeamBlockage_Check

#define PyBeamBlockage_Check ( op)
Value:
(Py_TYPE(op) == &PyBeamBlockage_Type)

Checks if the object is a python beam blockage instance.

◆ PyBeamBlockage_GetNative

#define PyBeamBlockage_GetNative    (*(PyBeamBlockage_GetNative_RETURN (*)PyBeamBlockage_GetNative_PROTO) PyBeamBlockage_API[PyBeamBlockage_GetNative_NUM])

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

(RAVE_OBJECT_RELEASE).

◆ PyBeamBlockage_GetNative_NUM

#define PyBeamBlockage_GetNative_NUM   1

index of GetNative

◆ PyBeamBlockage_GetNative_PROTO

#define PyBeamBlockage_GetNative_PROTO   (PyBeamBlockage*)

arguments for GetNative

◆ PyBeamBlockage_GetNative_RETURN

#define PyBeamBlockage_GetNative_RETURN   BeamBlockage_t*

return type for GetNative

◆ PyBeamBlockage_New

#define PyBeamBlockage_New    (*(PyBeamBlockage_New_RETURN (*)PyBeamBlockage_New_PROTO) PyBeamBlockage_API[PyBeamBlockage_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 PyBeamBlockage instance.

◆ PyBeamBlockage_New_NUM

#define PyBeamBlockage_New_NUM   2

index of New

◆ PyBeamBlockage_New_PROTO

#define PyBeamBlockage_New_PROTO   (BeamBlockage_t*)

arguments for New

◆ PyBeamBlockage_New_RETURN

#define PyBeamBlockage_New_RETURN   PyBeamBlockage*

return type for New

◆ PyBeamBlockage_Type_NUM

#define PyBeamBlockage_Type_NUM   0

index of type