nrnpy_hoc.cpp File Reference

#include <nrnpython.h>
#include <structmember.h>
#include <InterViews/resource.h>
#include <nrnoc2iv.h>
#include <ocjump.h>
#include "ivocvect.h"
#include "oclist.h"
#include "nrniv_mf.h"
#include "parse.h"
#include "nrnpy_hoc_2.h"
Include dependency graph for nrnpy_hoc.cpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  PyHocObject

Defines

#define HocTopContextSet   assert(hoc_thisobject == 0);
#define HocContextRestore

Functions

void hoc_pushs (Symbol *)
double * hoc_evalpointer ()
void hoc_push_string ()
char ** hoc_strpop ()
void hoc_objectvar ()
Object * hoc_newobj1 (Symbol *, int)
int ivoc_list_count (Object *)
Object ** hoc_objpop ()
Object * hoc_obj_look_inside_stack (int)
void hoc_object_component ()
int hoc_stack_type ()
void hoc_call ()
void hoc_tobj_unref (Object **)
void sec_access_push ()
PyObject * nrnpy_pushsec (PyObject *)
boolean hoc_valid_stmt (const char *, Object *)
myPyMODINIT_FUNC nrnpy_nrn ()
PyObject * nrnpy_cas (PyObject *, PyObject *)
PyObject * nrnpy_forall (PyObject *, PyObject *)
PyObject * nrnpy_newsecobj (PyObject *, PyObject *, PyObject *)
int nrn_secref_nchild (Section *)
PyObject * nrnpy_hoc2pyobject (Object *)
PyObject * nrnpy_ho2po (Object *)
Object * nrnpy_po2ho (PyObject *)
Object * nrnpy_pyobject_in_obj (PyObject *)
double ** nrnpy_setpointer_helper (PyObject *, PyObject *)
Symbolivoc_alias_lookup (const char *name, Object *ob)
int nrnpy_numbercheck (PyObject *po)
PyObject * nrnpy_hoc_pop ()
PyObject * nrn_hocobj_ptr (double *pd)
myPyMODINIT_FUNC nrnpy_hoc ()

Variables

Symlisthoc_top_level_symlist
Symlisthoc_built_in_symlist
Insthoc_pc
Objectdata * hoc_top_level_data
int section_object_seen
Symbolnrnpy_pyobj_sym_
Symbolnrn_child_sym
IvocVect *(* nrnpy_vec_from_python_p_ )(void *)
Object **(* nrnpy_vec_to_python_p_ )(void *)
Object * hoc_thisobject

Define Documentation

#define HocContextRestore
#define HocTopContextSet   assert(hoc_thisobject == 0);

Function Documentation

void hoc_call (  ) 

Referenced by hoc_call_func().

double* hoc_evalpointer (  ) 
Object* hoc_newobj1 ( Symbol ,
int   
)
Object* hoc_obj_look_inside_stack ( int   ) 
void hoc_object_component (  ) 
void hoc_objectvar (  ) 
Object** hoc_objpop (  ) 
void hoc_push_string (  ) 
void hoc_pushs ( Symbol  ) 
int hoc_stack_type (  ) 
char** hoc_strpop (  ) 
void hoc_tobj_unref ( Object **   ) 
boolean hoc_valid_stmt ( const char *  ,
Object *   
)
Symbol* ivoc_alias_lookup ( const char *  name,
Object *  ob 
)

References a, if(), and nil.

Here is the call graph for this function:

int ivoc_list_count ( Object *   ) 

References OcList::count().

Here is the call graph for this function:

PyObject* nrn_hocobj_ptr ( double *  pd  ) 
int nrn_secref_nchild ( Section  ) 

References Section::child, hoc_execerror(), Section::prop, and Section::sibling.

Here is the call graph for this function:

PyObject* nrnpy_cas ( PyObject *  ,
PyObject *   
)
PyObject * nrnpy_forall ( PyObject *  self,
PyObject *  args 
)
PyObject* nrnpy_ho2po ( Object *  o  ) 

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

Referenced by nrnpy_hoc_pop().

Here is the call graph for this function:

myPyMODINIT_FUNC nrnpy_hoc (  ) 

References assert, hoc_lookup(), hoc_table_lookup(), m, nrnpy_nrn(), nrnpy_vec_from_python_p_, nrnpy_vec_to_python_p_, and Symbol::u.

Referenced by inithoc().

Here is the call graph for this function:

PyObject * nrnpy_hoc2pyobject ( Object *  ho  ) 

Referenced by nrnpy_ho2po().

PyObject* nrnpy_hoc_pop (  ) 

References d, hoc_objpop(), hoc_pxpop(), hoc_stack_type(), hoc_strpop(), hoc_tobj_unref(), hoc_xpop(), nrnpy_ho2po(), OBJECTTMP, and STRING.

Here is the call graph for this function:

PyObject* nrnpy_newsecobj ( PyObject *  ,
PyObject *  ,
PyObject *   
)

References NPySecObj_new().

Here is the call graph for this function:

myPyMODINIT_FUNC nrnpy_nrn (  ) 

Referenced by nrnpy_hoc().

int nrnpy_numbercheck ( PyObject *  po  ) 
Object* nrnpy_po2ho ( PyObject *  po  ) 

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_pushsec ( PyObject *   ) 

References nrn_pushsec().

Here is the call graph for this function:

Object * nrnpy_pyobject_in_obj ( PyObject *  po  ) 

Referenced by nrnpy_po2ho().

double** nrnpy_setpointer_helper ( PyObject *  ,
PyObject *   
)
void sec_access_push (  ) 

Referenced by debugzz().


Variable Documentation

Object* hoc_thisobject
Objectdata* hoc_top_level_data

Referenced by nrnpy_hoc(), and v_from_python().

Object**(* nrnpy_vec_to_python_p_)(void *)

Referenced by nrnpy_hoc(), and v_to_python().

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