Free Electron
Namespaces | Macros | Typedefs | Functions | Variables
internal.cc File Reference
#include "pyfe.pmh"
#include "internal.h"
Include dependency graph for internal.cc:

Namespaces

 pyfe
 python binding
 

Macros

#define PyFeObject_NEW(t, pt)   (t*)pyfe::PyFeObjectNew(sizeof(t), pt)
 
#define PyFeObject_DEL(pObj)   PyMem_Free(pObj)
 

Typedefs

typedef std::map< fe::sp< fe::BaseType >, fe::sp< BaseConvertor > > pyfe::convertors_t
 

Functions

Master * pyfe::pyfeMaster (void)
 
PyObject * pyfe::PyFeObjectNew (int size, PyTypeObject *type)
 
static PyObject * pyfe::instanceToPyObject (UWORD index, const fe::Record &record, const fe::sp< fe::Attribute > spAttribute)
 
bool pyfe::PyObjectToInstance (const fe::Record &record, void *instance, const fe::sp< fe::BaseType > spBT, PyObject *pobj)
 
static void pyfe::Master_dealloc (PyObject *self)
 
static void pyfe::Record_dealloc (PyObject *self)
 
static PyObject * pyfe::Record_getattr (PyObject *self, char *name)
 
static int pyfe::Record_setattr (PyObject *self, char *name, PyObject *value)
 
static PyObject * pyfe::Record_check (PyObject *self, PyObject *args)
 
static PyObject * pyfe::Record_isValid (PyObject *self, PyObject *args)
 
static void pyfe::RecordArray_dealloc (PyObject *self)
 
static int pyfe::RecordArray_len (PyObject *self)
 
static PyObject * pyfe::RecordArray_getitem (PyObject *self, int index)
 
static PyObject * pyfe::RecordArray_getslice (PyObject *self, int start, int end)
 
static int pyfe::RecordArray_setitem (PyObject *self, int index, PyObject *obj)
 
static PyObject * pyfe::RecordArray_getattr (PyObject *self, char *name)
 
static PyObject * pyfe::RecordArray_check (PyObject *self, PyObject *args)
 
static PyObject * pyfe::RecordArray_add (PyObject *self, PyObject *args)
 
static void pyfe::Instance_dealloc (PyObject *self)
 
static void pyfe::Component_dealloc (PyObject *self)
 
static PyObject * pyfe::registry_manage (PyObject *self, PyObject *args)
 
static PyObject * pyfe::registry_create (PyObject *self, PyObject *args)
 
static PyObject * pyfe::registry_prune (PyObject *self, PyObject *args)
 
FE_DL_EXPORT PyObject * pyfe::bindRecord (const fe::Record &record)
 
FE_DL_EXPORT PyObject * pyfe::bindRecordArray (const fe::sp< fe::RecordArray > spRA)
 
FE_DL_EXPORT fe::Record pyfe::extractRecord (PyObject *pRecord)
 
FE_DL_EXPORT fe::sp< fe::RecordArraypyfe::extractRecordArray (PyObject *pRecordArray)
 
FE_DL_EXPORT PyObject * pyfe::bindComponent (const fe::sp< fe::Component > spComponent)
 
FE_DL_EXPORT fe::sp< fe::Componentpyfe::extractComponent (PyObject *pComponent)
 
FE_DL_EXPORT fe::Instance pyfe::extractInstance (PyObject *pInstance)
 
FE_DL_EXPORT PyObject * pyfe::bindInstance (fe::Instance &instance)
 
FE_DL_EXPORT void pyfe::addConvertor (fe::sp< fe::BaseType > spBT, fe::sp< BaseConvertor > spConvertor)
 
PyObject * pyfe::lookupPyObject (char *module_name, char *object_name)
 
FE_DL_EXPORT fe::Masterpyfe::feMaster (void)
 
FE_DL_EXPORT void initialize_pyfe (void)
 

Variables

FE_DL_EXPORT PyInterpreterState * pyfe::ms_pInterp = NULL
 
FE_DL_EXPORT boost::thread_specific_sp< PyThreadState * > pyfe::tss_tstate