23 #ifndef PYTHONAUTOINTERVAL 24 #define PYTHONAUTOINTERVAL 28 #define PY_ARRAY_UNIQUE_SYMBOL itom_ARRAY_API //see numpy help ::array api :: Miscellaneous :: Importing the api (this line must bebefore include global.h) 29 #define NO_IMPORT_ARRAY 32 #if (defined _DEBUG) && (defined WIN32) 41 #include "../../common/typeDefs.h" 42 #include "../../common/interval.h" 43 #include "../../common/qtMetaTypeDeclarations.h" 44 #include "structmember.h" 65 #define PyAutoInterval_Check(op) PyObject_TypeCheck(op, &ito::PythonAutoInterval::PyAutoIntervalType) 73 static PyObject *PyAutoInterval_new(PyTypeObject *type, PyObject *args, PyObject *kwds);
74 static int PyAutoInterval_init(
PyAutoInterval *
self, PyObject *args, PyObject *kwds);
86 static PyObject* PyAutoInterval_RichCompare(
PyAutoInterval *
self, PyObject *other,
int cmp_op);
88 static PyGetSetDef PyAutoInterval_getseters[];
90 static PyObject* PyAutoInterval_getValue(
PyAutoInterval *
self,
void *closure);
91 static int PyAutoInterval_setValue(
PyAutoInterval *
self, PyObject *value,
void *closure);
93 static PyObject* PyAutoInterval_Reduce(
PyAutoInterval *
self, PyObject *args);
94 static PyObject* PyAutoInterval_SetState(
PyAutoInterval *
self, PyObject *args);
100 static PyMemberDef PyAutoInterval_members[];
101 static PyMethodDef PyAutoInterval_methods[];
102 static PyTypeObject PyAutoIntervalType;
103 static PyModuleDef PyAutoIntervalModule;
Definition: apiFunctionsGraph.cpp:39
Definition: pythonAutoInterval.h:49
Definition: pythonAutoInterval.h:57
class for a interval type containing a min-max-range and an auto-flag.
Definition: interval.h:49