pythonutils.cpp File Reference

Reusable functions for python functionality. More...

#include "frepple/utils.h"
Include dependency graph for pythonutils.cpp:

Go to the source code of this file.

Namespaces

namespace  frepple
 

Core namespace.


namespace  frepple::utils
 

Utilities for the frePPle core.


Defines

#define FREPPLE_CORE

Functions

PyObject * frepple::utils::call_handler (PyObject *self, PyObject *args, PyObject *kwds)
int frepple::utils::compare_handler (PyObject *self, PyObject *other)
PyObject * frepple::utils::getattro_handler (PyObject *self, PyObject *name)
PyObject * frepple::utils::iternext_handler (PyObject *self)
int frepple::utils::setattro_handler (PyObject *self, PyObject *name, PyObject *value)
PyObject * frepple::utils::str_handler (PyObject *self)

Variables

PyObject * frepple::utils::PythonDataException = NULL
 Python exception class matching with frepple::DataException.
PyObject * frepple::utils::PythonLogicException = NULL
 Python exception class matching with frepple::LogicException.
PyObject * frepple::utils::PythonRuntimeException = NULL
 Python exception class matching with frepple::RuntimeException.

Detailed Description

Reusable functions for python functionality.

The structure of the C++ wrappers around the C Python API is heavily inspired on the design of PyCXX.
More information can be found on http://cxx.sourceforge.net

Definition in file pythonutils.cpp.


Define Documentation

#define FREPPLE_CORE

Definition at line 35 of file pythonutils.cpp.


Documentation generated for frePPLe by  doxygen