A template class to expose classes to Python. More...
#include <pythonutils.h>
Public Member Functions | |
int | compare (const PythonObject &other) |
FreppleClass (PROXY *p=NULL) | |
PyObject * | str () |
Static Public Member Functions | |
static PyObject * | create (PyTypeObject *pytype, PyObject *args, PyObject *kwds) |
static int | initialize (PyObject *m) |
static PyObject * | proxy (Object *p) |
Public Attributes | |
PROXY * | obj |
A template class to expose classes to Python.
Definition at line 819 of file pythonutils.h.
frepple::utils::FreppleClass< ME, BASE, PROXY >::FreppleClass | ( | PROXY * | p = NULL |
) | [inline] |
Definition at line 841 of file pythonutils.h.
int frepple::utils::FreppleClass< ME, BASE, PROXY >::compare | ( | const PythonObject & | other | ) | [inline, virtual] |
Comparison operator.
Reimplemented from frepple::utils::PythonExtensionBase.
Definition at line 844 of file pythonutils.h.
static PyObject* frepple::utils::FreppleClass< ME, BASE, PROXY >::create | ( | PyTypeObject * | pytype, | |
PyObject * | args, | |||
PyObject * | kwds | |||
) | [inline, static] |
Generator function.
Definition at line 863 of file pythonutils.h.
static int frepple::utils::FreppleClass< ME, BASE, PROXY >::initialize | ( | PyObject * | m | ) | [inline, static] |
Reimplemented in frepple::PythonCalendarVoid, frepple::PythonCalendarBool, frepple::PythonCalendarDouble, frepple::PythonCalendarString, frepple::PythonCalendarInt, frepple::PythonCalendarOperation, frepple::PythonOperationAlternate, frepple::PythonOperationRouting, module_forecast::PythonForecast, and module_forecast::PythonForecastBucket.
Definition at line 822 of file pythonutils.h.
static PyObject* frepple::utils::FreppleClass< ME, BASE, PROXY >::proxy | ( | Object * | p | ) | [inline, static] |
Definition at line 839 of file pythonutils.h.
PyObject* frepple::utils::FreppleClass< ME, BASE, PROXY >::str | ( | ) | [inline, virtual] |
Return the name as the string representation in Python.
Reimplemented from frepple::utils::PythonExtensionBase.
Definition at line 857 of file pythonutils.h.
PROXY* frepple::utils::FreppleClass< ME, BASE, PROXY >::obj |
Definition at line 901 of file pythonutils.h.