RAVE
pypolarnavinfo.h File Reference

Python version of the PolarNavigationInfo. More...

#include "rave_types.h"

Go to the source code of this file.

Classes

struct  PyPolarNavigationInfo
 A cartesian product. More...
 

Macros

#define PyPolarNavigationInfo_Type_NUM   0
 index of type
 
#define PyPolarNavigationInfo_GetNative_NUM   1
 index of GetNative
 
#define PyPolarNavigationInfo_GetNative_RETURN   PolarNavigationInfo
 return type for GetNative
 
#define PyPolarNavigationInfo_GetNative_PROTO   (PyPolarNavigationInfo*)
 arguments for GetNative
 
#define PyPolarNavigationInfo_New_NUM   2
 index of New
 
#define PyPolarNavigationInfo_New_RETURN   PyPolarNavigationInfo*
 return type for New
 
#define PyPolarNavigationInfo_New_PROTO   (PolarNavigationInfo)
 arguments for New
 
#define PyPolarNavigationInfo_API_pointers   3
 number of API pointers
 
#define PyPolarNavigationInfo_CAPSULE_NAME   "_pypolarnavinfo._C_API"
 
#define PyPolarNavigationInfo_GetNative    (*(PyPolarNavigationInfo_GetNative_RETURN (*)PyPolarNavigationInfo_GetNative_PROTO) PyPolarNavigationInfo_API[PyPolarNavigationInfo_GetNative_NUM])
 Returns a pointer to the internal area, remember to release the reference when done with the object.
 
#define PyPolarNavigationInfo_New    (*(PyPolarNavigationInfo_New_RETURN (*)PyPolarNavigationInfo_New_PROTO) PyPolarNavigationInfo_API[PyPolarNavigationInfo_New_NUM])
 Creates a new polar scan instance.
 
#define PyPolarNavigationInfo_Check(op)
 Checks if the object is a python area.
 
#define PyPolarNavigationInfo_Type   (*(PyTypeObject*)PyPolarNavigationInfo_API[PyPolarNavigationInfo_Type_NUM])
 
#define import_pypolarnavinfo()
 Imports the PyArea module (like import _pypolarnavinfo in python).
 

Detailed Description

Python version of the PolarNavigationInfo.

Author
Anders Henja (Swedish Meteorological and Hydrological Institute, SMHI)
Date
2024-05-21

Macro Definition Documentation

◆ import_pypolarnavinfo

#define import_pypolarnavinfo ( )
Value:
PyPolarNavigationInfo_API = (void **)PyCapsule_Import(PyPolarNavigationInfo_CAPSULE_NAME, 1);

Imports the PyArea module (like import _pypolarnavinfo in python).

◆ PyPolarNavigationInfo_API_pointers

#define PyPolarNavigationInfo_API_pointers   3

number of API pointers

◆ PyPolarNavigationInfo_Check

#define PyPolarNavigationInfo_Check ( op)
Value:
(Py_TYPE(op) == &PyPolarNavigationInfo_Type)

Checks if the object is a python area.

◆ PyPolarNavigationInfo_GetNative

#define PyPolarNavigationInfo_GetNative    (*(PyPolarNavigationInfo_GetNative_RETURN (*)PyPolarNavigationInfo_GetNative_PROTO) PyPolarNavigationInfo_API[PyPolarNavigationInfo_GetNative_NUM])

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

(RAVE_OBJECT_RELEASE).

◆ PyPolarNavigationInfo_GetNative_NUM

#define PyPolarNavigationInfo_GetNative_NUM   1

index of GetNative

◆ PyPolarNavigationInfo_GetNative_PROTO

#define PyPolarNavigationInfo_GetNative_PROTO   (PyPolarNavigationInfo*)

arguments for GetNative

◆ PyPolarNavigationInfo_GetNative_RETURN

#define PyPolarNavigationInfo_GetNative_RETURN   PolarNavigationInfo

return type for GetNative

◆ PyPolarNavigationInfo_New

#define PyPolarNavigationInfo_New    (*(PyPolarNavigationInfo_New_RETURN (*)PyPolarNavigationInfo_New_PROTO) PyPolarNavigationInfo_API[PyPolarNavigationInfo_New_NUM])

Creates a new polar scan instance.

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

Parameters
[in]navinfo- the PolarNavigationInfo intance.
Returns
the PyPolarNavigationInfo instance.

◆ PyPolarNavigationInfo_New_NUM

#define PyPolarNavigationInfo_New_NUM   2

index of New

◆ PyPolarNavigationInfo_New_PROTO

#define PyPolarNavigationInfo_New_PROTO   (PolarNavigationInfo)

arguments for New

◆ PyPolarNavigationInfo_New_RETURN

#define PyPolarNavigationInfo_New_RETURN   PyPolarNavigationInfo*

return type for New

◆ PyPolarNavigationInfo_Type_NUM

#define PyPolarNavigationInfo_Type_NUM   0

index of type