1 #ifndef WREPORT_PYTHON_H 2 #define WREPORT_PYTHON_H 6 #include <wreport/var.h> 21 PyAPI_DATA(PyTypeObject) wrpy_Varinfo_Type;
24 #define wrpy_Varinfo_Check(ob) \ 25 (Py_TYPE(ob) == &wrpy_Varinfo_Type || \ 26 PyType_IsSubtype(Py_TYPE(ob), &wrpy_Varinfo_Type)) 36 PyAPI_DATA(PyTypeObject) wrpy_Vartable_Type;
39 #define wrpy_Vartable_Check(ob) \ 40 (Py_TYPE(ob) == &wrpy_Vartable_Type || \ 41 PyType_IsSubtype(Py_TYPE(ob), &wrpy_Vartable_Type)) 51 PyAPI_DATA(PyTypeObject) wrpy_Var_Type;
54 #define wrpy_Var_Check(ob) \ 55 (Py_TYPE(ob) == &wrpy_Var_Type || \ 56 PyType_IsSubtype(Py_TYPE(ob), &wrpy_Var_Type)) 77 wrpy_Var* (*var_create_d)(
const wreport::Varinfo&, double);
80 wrpy_Var* (*var_create_c)(
const wreport::Varinfo&,
const char*);
83 wrpy_Var* (*var_create_s)(
const wreport::Varinfo&,
const std::string&);
wreport.Var python object
Definition: python.h:45
A physical variable.
Definition: var.h:23
Information about a variable.
Definition: varinfo.h:135
wreport.Vartable python object
Definition: python.h:30
String functions.
Definition: benchmark.h:13
Implement fast access to information about WMO variables.
Holds a variable information table.
Definition: vartable.h:30
wreport.Varinfo python object
Definition: python.h:15
const _Varinfo * Varinfo
Varinfo reference.
Definition: varinfo.h:281
C++ functions exported by the wreport python bindings, to be used by other C++ bindings.
Definition: python.h:69