nrnpy_nrn_2.h

Go to the documentation of this file.
00001 static PyTypeObject nrnpy_SectionType = {
00002     PyObject_HEAD_INIT(NULL)
00003     0,                         /*ob_size*/
00004     "nrn.Section",         /*tp_name*/
00005     sizeof(NPySecObj), /*tp_basicsize*/
00006     0,                         /*tp_itemsize*/
00007     (destructor)NPySecObj_dealloc,                        /*tp_dealloc*/
00008     0,                         /*tp_print*/
00009     0,                         /*tp_getattr*/
00010     0,                         /*tp_setattr*/
00011     0,                         /*tp_compare*/
00012     0,                         /*tp_repr*/
00013     0,                         /*tp_as_number*/
00014     0,                         /*tp_as_sequence*/
00015     0,                         /*tp_as_mapping*/
00016     0,                         /*tp_hash */
00017     (ternaryfunc)NPySecObj_call,                         /*tp_call*/
00018     0,                         /*tp_str*/
00019     (getattrofunc)section_getattro,                         /*tp_getattro*/
00020     (setattrofunc)section_setattro,                         /*tp_setattro*/
00021     0,                         /*tp_as_buffer*/
00022     Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,        /*tp_flags*/
00023     "Section objects",         /* tp_doc */
00024     0,                     /* tp_traverse */
00025     0,                     /* tp_clear */
00026     0,                     /* tp_richcompare */
00027     0,                     /* tp_weaklistoffset */
00028     (getiterfunc)section_iter,                     /* tp_iter */
00029     0,                     /* tp_iternext */
00030     NPySecObj_methods,             /* tp_methods */
00031     0,             /* tp_members */
00032     0,                         /* tp_getset */
00033     0,                         /* tp_base */
00034     0,                         /* tp_dict */
00035     0,                         /* tp_descr_get */
00036     0,                         /* tp_descr_set */
00037     0,                         /* tp_dictoffset */
00038     (initproc)NPySecObj_init,      /* tp_init */
00039     0,                         /* tp_alloc */
00040     NPySecObj_new,                 /* tp_new */
00041 };
00042 
00043 static PyTypeObject nrnpy_SegmentType = {
00044     PyObject_HEAD_INIT(NULL)
00045     0,                         /*ob_size*/
00046     "nrn.Segment",         /*tp_name*/
00047     sizeof(NPySegObj), /*tp_basicsize*/
00048     0,                         /*tp_itemsize*/
00049     (destructor)NPySegObj_dealloc,                        /*tp_dealloc*/
00050     0,                         /*tp_print*/
00051     0,                         /*tp_getattr*/
00052     0,                         /*tp_setattr*/
00053     0,                         /*tp_compare*/
00054     0,                         /*tp_repr*/
00055     0,                         /*tp_as_number*/
00056     0,                         /*tp_as_sequence*/
00057     0,                         /*tp_as_mapping*/
00058     0,                         /*tp_hash */
00059     0,                         /*tp_call*/
00060     0,                         /*tp_str*/
00061     (getattrofunc)segment_getattro,                         /*tp_getattro*/
00062     (setattrofunc)segment_setattro,                         /*tp_setattro*/
00063     0,                         /*tp_as_buffer*/
00064     Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,        /*tp_flags*/
00065     "Segment objects",         /* tp_doc */
00066     0,                     /* tp_traverse */
00067     0,                     /* tp_clear */
00068     0,                     /* tp_richcompare */
00069     0,                     /* tp_weaklistoffset */
00070     (getiterfunc)segment_iter,                     /* tp_iter */
00071     (iternextfunc)segment_next,                    /* tp_iternext */
00072     NPySegObj_methods,             /* tp_methods */
00073     NPySegObj_members,             /* tp_members */
00074     0,                         /* tp_getset */
00075     0,                         /* tp_base */
00076     0,                         /* tp_dict */
00077     0,                         /* tp_descr_get */
00078     0,                         /* tp_descr_set */
00079     0,                         /* tp_dictoffset */
00080     (initproc)NPySegObj_init,      /* tp_init */
00081     0,                         /* tp_alloc */
00082     NPySegObj_new,                 /* tp_new */
00083 };
00084 
00085 static PyTypeObject nrnpy_RangeType = {
00086     PyObject_HEAD_INIT(NULL)
00087     0,                         /*ob_size*/
00088     "nrn.RangeVar",         /*tp_name*/
00089     sizeof(NPyRangeVar), /*tp_basicsize*/
00090     0,                         /*tp_itemsize*/
00091     (destructor)NPyRangeVar_dealloc,                        /*tp_dealloc*/
00092     0,                         /*tp_print*/
00093     0,                         /*tp_getattr*/
00094     0,                         /*tp_setattr*/
00095     0,                         /*tp_compare*/
00096     0,                         /*tp_repr*/
00097     0,                         /*tp_as_number*/
00098     &rv_seqmeth,                         /*tp_as_sequence*/
00099     0,                         /*tp_as_mapping*/
00100     0,                         /*tp_hash */
00101     0,                         /*tp_call*/
00102     0,                         /*tp_str*/
00103     0,                         /*tp_getattro*/
00104     0,                         /*tp_setattro*/
00105     0,                         /*tp_as_buffer*/
00106     Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,        /*tp_flags*/
00107     "Range Variable Array objects",         /* tp_doc */
00108     0,                     /* tp_traverse */
00109     0,                     /* tp_clear */
00110     0,                     /* tp_richcompare */
00111     0,                     /* tp_weaklistoffset */
00112     0,                     /* tp_iter */
00113     0,                     /* tp_iternext */
00114     NPyRangeVar_methods,             /* tp_methods */
00115     0,             /* tp_members */
00116     0,                         /* tp_getset */
00117     0,                         /* tp_base */
00118     0,                         /* tp_dict */
00119     0,                         /* tp_descr_get */
00120     0,                         /* tp_descr_set */
00121     0,                         /* tp_dictoffset */
00122     (initproc)NPyRangeVar_init,      /* tp_init */
00123     0,                         /* tp_alloc */
00124     NPyRangeVar_new,                 /* tp_new */
00125 };
00126 
00127 static PyTypeObject nrnpy_MechanismType = {
00128     PyObject_HEAD_INIT(NULL)
00129     0,                         /*ob_size*/
00130     "nrn.Mechanism",         /*tp_name*/
00131     sizeof(NPyMechObj), /*tp_basicsize*/
00132     0,                         /*tp_itemsize*/
00133     (destructor)NPyMechObj_dealloc,                        /*tp_dealloc*/
00134     0,                         /*tp_print*/
00135     0,                         /*tp_getattr*/
00136     0,                         /*tp_setattr*/
00137     0,                         /*tp_compare*/
00138     0,                         /*tp_repr*/
00139     0,                         /*tp_as_number*/
00140     0,                         /*tp_as_sequence*/
00141     0,                         /*tp_as_mapping*/
00142     0,                         /*tp_hash */
00143     0,                         /*tp_call*/
00144     0,                         /*tp_str*/
00145     (getattrofunc)mech_getattro,                         /*tp_getattro*/
00146     (setattrofunc)mech_setattro,                         /*tp_setattro*/
00147     0,                         /*tp_as_buffer*/
00148     Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,        /*tp_flags*/
00149     "Mechanism objects",         /* tp_doc */
00150     0,                     /* tp_traverse */
00151     0,                     /* tp_clear */
00152     0,                     /* tp_richcompare */
00153     0,                     /* tp_weaklistoffset */
00154     0,                     /* tp_iter */
00155     (iternextfunc)mech_next,                    /* tp_iternext */
00156     NPyMechObj_methods,             /* tp_methods */
00157     NPyMechObj_members,             /* tp_members */
00158     0,                         /* tp_getset */
00159     0,                         /* tp_base */
00160     0,                         /* tp_dict */
00161     0,                         /* tp_descr_get */
00162     0,                         /* tp_descr_set */
00163     0,                         /* tp_dictoffset */
00164     (initproc)NPyMechObj_init,      /* tp_init */
00165     0,                         /* tp_alloc */
00166     NPyMechObj_new,                 /* tp_new */
00167 };
00168 
Generated on Mon Jun 13 08:10:27 2011 for NEURON by  doxygen 1.6.3