nrnpy_p2h.cpp File Reference

#include <../../nrnconf.h>
#include <stdio.h>
#include <InterViews/resource.h>
#include <nrnoc2iv.h>
#include <classreg.h>
#include <nrnpython.h>
#include "parse.h"
Include dependency graph for nrnpy_p2h.cpp:

Classes

class  Py2Nrn

Functions

void hoc_nopop ()
void hoc_pop_defer ()
Object * hoc_new_object (Symbol *, void *)
int hoc_stack_type ()
char ** hoc_strpop ()
Object ** hoc_objpop ()
Object * hoc_pop_object ()
void hoc_stkobj_unref (Object *)
void hoc_tobj_unref (Object **)
int hoc_ipop ()
PyObject * nrnpy_hoc2pyobject (Object *)
Object * nrnpy_pyobject_in_obj (PyObject *)
int nrnpy_ho_eq_po (Object *, PyObject *)
void nrnpython_ensure_threadstate ()
void nrnpython_reg_real ()
PyObject * nrnpy_ho2po (Object *)
void nrnpy_decref_defer (PyObject *)
void nrnpy_decref_clear ()
PyObject * nrnpy_pyCallObject (PyObject *, PyObject *)
Object * nrnpy_po2ho (PyObject *)

Variables

Symbolnrnpy_pyobj_sym_
void(* nrnpy_py2n_component )(Object *, Symbol *, int, int)
void(* nrnpy_hpoasgn )(Object *, int)
double(* nrnpy_praxis_efun )(Object *, Object *)
int(* nrnpy_hoccommand_exec )(Object *)
int(* nrnpy_hoccommand_exec_strret )(Object *, char *, int)
void(* nrnpy_cmdtool )(Object *, int, double, double, int)
double(* nrnpy_guigetval )(Object *)
void(* nrnpy_guisetval )(Object *, double)
int(* nrnpy_guigetstr )(Object *, char **)
char *(* nrnpy_po2pickle )(Object *, size_t *size)
Object *(* nrnpy_pickle2po )(char *, size_t size)
char *(* nrnpy_callpicklef )(char *, size_t size, int narg, size_t *retsize)
Object * hoc_thisobject
Symlisthoc_symlist
Objectdata * hoc_top_level_data
Symlisthoc_top_level_symlist
Member_func p_members [] = {0,0}

Function Documentation

int hoc_ipop (  ) 
Object* hoc_new_object ( Symbol ,
void  
)
void hoc_nopop (  ) 
Object** hoc_objpop (  ) 
void hoc_pop_defer (  ) 

References execerror, hoc_nopop(), hoc_object_name(), hoc_unref_defer(), i, Datum::obj, and OBJECTTMP.

Referenced by hoc_object_component().

Here is the call graph for this function:

Object* hoc_pop_object (  ) 

References execerror, Datum::i, OBJECTTMP, and tstkchk.

int hoc_stack_type (  ) 

References Datum::i.

Referenced by nrnpy_hoc_pop().

void hoc_stkobj_unref ( Object *   ) 

References hoc_obj_unref().

Referenced by nopop().

Here is the call graph for this function:

char** hoc_strpop (  ) 
void hoc_tobj_unref ( Object **   ) 

References hoc_obj_unref(), and TOBJ_POOL_SIZE.

Referenced by eq(), forall_sectionlist(), hoc_ifseclist(), hoc_object_asgn(), hoc_object_component(), hocobjret(), ne(), nrnpy_hoc_pop(), and prexpr().

Here is the call graph for this function:

void nrnpy_decref_clear (  ) 

References hoc_Item::next, and VOIDITM.

void nrnpy_decref_defer ( PyObject *  po  ) 

References hoc_l_lappendvoid().

Here is the call graph for this function:

PyObject* nrnpy_ho2po ( Object *   ) 

References hoc_obj_ref(), nrnpy_hoc2pyobject(), and nrnpy_pyobj_sym_.

Here is the call graph for this function:

int nrnpy_ho_eq_po ( Object *  ho,
PyObject *  po 
)

References nrnpy_pyobj_sym_.

PyObject* nrnpy_hoc2pyobject ( Object *  ho  ) 

Referenced by nrnpy_ho2po().

Object* nrnpy_po2ho ( PyObject *   ) 

References PyHocObject::ho_, hoc_obj_ref(), nrnpy_pyobject_in_obj(), PyHocObject::type_, and PyHocObject::u.

Here is the call graph for this function:

PyObject * nrnpy_pyCallObject ( PyObject *  callable,
PyObject *  args 
)
Object* nrnpy_pyobject_in_obj ( PyObject *  po  ) 

References hoc_new_object(), hoc_obj_ref(), nrnpy_pyobj_sym_, on, Py2Nrn::po_, and Py2Nrn::type_.

Referenced by nrnpy_po2ho().

Here is the call graph for this function:

void nrnpython_ensure_threadstate (  ) 
void nrnpython_reg_real (  ) 

Variable Documentation

Object* hoc_thisobject
Objectdata* hoc_top_level_data
char*(* nrnpy_callpicklef)(char *, size_t size, int narg, size_t *retsize)
void(* nrnpy_cmdtool)(Object *, int, double, double, int)

Referenced by nrnpython_reg_real().

int(* nrnpy_guigetstr)(Object *, char **)
double(* nrnpy_guigetval)(Object *)
void(* nrnpy_guisetval)(Object *, double)
int(* nrnpy_hoccommand_exec)(Object *)
int(* nrnpy_hoccommand_exec_strret)(Object *, char *, int)

Referenced by nrnpython_reg_real().

void(* nrnpy_hpoasgn)(Object *, int)

Referenced by nrnpython_reg_real().

Object*(* nrnpy_pickle2po)(char *, size_t size)
char*(* nrnpy_po2pickle)(Object *, size_t *size)

Referenced by nrnpython_reg_real().

double(* nrnpy_praxis_efun)(Object *, Object *)

Referenced by fit_praxis(), and nrnpython_reg_real().

void(* nrnpy_py2n_component)(Object *, Symbol *, int, int)

Referenced by nrnpython_reg_real().

Generated on Mon Jun 13 08:10:29 2011 for NEURON by  doxygen 1.6.3