![]() |
NEURON
|
#include <stdio.h>#include "nrnapi.h"#include "hocassrt.h"#include "nrnassrt.h"#include <string.h>#include "oc_ansi.h"Go to the source code of this file.
Classes | |
| union | Inst |
| struct | Arrayinfo |
| struct | Proc |
| struct | Symlist |
| struct | HocSymExtension |
| struct | Symbol |
| union | Datum |
| struct | cTemplate |
| union | Objectdata |
| struct | Object |
| struct | VoidFunc |
| struct | DoubScal |
| struct | DoubVec |
| struct | HocParmLimits |
| struct | HocStateTolerance |
| struct | HocParmUnits |
Macros | |
| #define | INCLUDEHOCH 1 |
| #define | OOP 1 |
| #define | gargstr hoc_gargstr |
| #define | getarg hoc_getarg |
| #define | HocStruct struct |
| #define | HocUnion union |
| #define | HocTypedef typedef |
| #define | STOP (Inst *)0 |
| #define | NOTUSER 0 |
| #define | USERINT 1 /* For subtype */ |
| #define | USERDOUBLE 2 |
| #define | USERPROPERTY 3 /* for newcable non-range variables */ |
| #define | USERFLOAT 4 /* John Miller's NEMO uses floats */ |
| #define | SYMBOL 7 /* for stack type */ |
| #define | OBJECTTMP 8 /* temporary object on stack */ |
| #define | STKOBJ_UNREF 9 /* already unreffed temporary object on stack */ |
| #define | DYNAMICUNITS 10 /* {modern, legacy} units pair */ |
| #define | CPLUSOBJECT 16 /* c++ registered class */ |
| #define | JAVAOBJECT 32 /* c++ registered class */ |
| #define | OBJECTALIAS 1 |
| #define | VARALIAS 2 |
| #define | ISARRAY(arg) (arg->arayinfo != (Arrayinfo *)0) |
| #define | List hoc_List |
| #define | Item hoc_Item |
| #define | OPVAL(sym) hoc_objectdata[sym->u.oboff].pval |
| #define | OPSTR(sym) hoc_objectdata[sym->u.oboff].ppstr |
| #define | OPOBJ(sym) hoc_objectdata[sym->u.oboff].pobj |
| #define | OPSECITM(sym) hoc_objectdata[sym->u.oboff].psecitm |
| #define | OPLIST(sym) hoc_objectdata[sym->u.oboff].plist |
| #define | OPARINFO(sym) hoc_objectdata[sym->u.oboff + 1].arayinfo |
| #define | IGNORE(arg) arg |
| #define | LINTUSE(arg) |
| #define | Strcat strcat |
| #define | Strncat strncat |
| #define | Strcpy strcpy |
| #define | Strncpy strncpy |
| #define | Sprintf sprintf |
| #define | Printf nrnpy_pr |
| #define | ERRCHK(c1) c1 |
| #define | IFGUI if (hoc_usegui){ |
| #define | ENDGUI } |
| #define | NOT_PARALLEL_SUB(c1) {if (!parallel_sub) c1} |
Typedefs | |
| typedef int(* | Pfri) (void) |
| typedef void(* | Pfrv) (void) |
| typedef double(* | Pfrd) (void) |
| typedef struct Object **(* | Pfro) (void) |
| typedef const char **(* | Pfrs) (void) |
| typedef int(* | Pfri_vp) (void *) |
| typedef void(* | Pfrv_vp) (void *) |
| typedef double(* | Pfrd_vp) (void *) |
| typedef struct Object **(* | Pfro_vp) (void *) |
| typedef const char **(* | Pfrs_vp) (void *) |
| typedef union Inst | Inst |
| typedef struct Arrayinfo | Arrayinfo |
| typedef struct Proc | Proc |
| typedef struct Symlist | Symlist |
| typedef char * | Upoint |
| typedef struct HocSymExtension | HocSymExtension |
| typedef struct Symbol | Symbol |
| typedef struct hoc_Item | hoc_List |
| typedef union Datum | Datum |
| typedef struct cTemplate | cTemplate |
| typedef union Objectdata | Objectdata |
| typedef struct Object | Object |
Functions | |
| void * | emalloc (size_t n) |
| void * | ecalloc (size_t n, size_t size) |
| void * | erealloc (void *ptr, size_t n) |
| Objectdata * | hoc_objectdata_save (void) |
| Objectdata * | hoc_objectdata_restore (Objectdata *) |
Variables | |
| Inst * | hoc_progp |
| Inst * | hoc_progbase |
| Inst * | hoc_prog |
| Inst * | hoc_prog_parse_recover |
| Inst * | hoc_pc |
| Objectdata * | hoc_objectdata |
| Objectdata * | hoc_top_level_data |
| Object * | hoc_thisobject |
| Symlist * | hoc_symlist |
| Symlist * | hoc_top_level_symlist |
| Neuron/Java Interface code. More... | |
| Symlist * | hoc_built_in_symlist |
| int | hoc_usegui |
| int | nrn_istty_ |
| int | parallel_sub |
| #define IFGUI if (hoc_usegui){ |
| #define NOT_PARALLEL_SUB | ( | c1 | ) | {if (!parallel_sub) c1} |
| #define OPARINFO | ( | sym | ) | hoc_objectdata[sym->u.oboff + 1].arayinfo |
| #define OPLIST | ( | sym | ) | hoc_objectdata[sym->u.oboff].plist |
| #define OPOBJ | ( | sym | ) | hoc_objectdata[sym->u.oboff].pobj |
| #define OPSECITM | ( | sym | ) | hoc_objectdata[sym->u.oboff].psecitm |
| #define OPSTR | ( | sym | ) | hoc_objectdata[sym->u.oboff].ppstr |
| #define OPVAL | ( | sym | ) | hoc_objectdata[sym->u.oboff].pval |
| #define STKOBJ_UNREF 9 /* already unreffed temporary object on stack */ |
| #define USERPROPERTY 3 /* for newcable non-range variables */ |
| typedef struct HocSymExtension HocSymExtension |
| typedef union Objectdata Objectdata |
| void* ecalloc | ( | size_t | n, |
| size_t | size | ||
| ) |
Definition at line 221 of file symbol.cpp.
| void* emalloc | ( | size_t | n | ) |
Definition at line 203 of file symbol.cpp.
Definition at line 267 of file symbol.cpp.
| Objectdata* hoc_objectdata_restore | ( | Objectdata * | ) |
Definition at line 153 of file hoc_oop.cpp.
| Objectdata* hoc_objectdata_save | ( | void | ) |
Definition at line 143 of file hoc_oop.cpp.
| Symlist* hoc_built_in_symlist |
Definition at line 39 of file symbol.cpp.
| Objectdata* hoc_objectdata |
Definition at line 133 of file hoc_oop.cpp.
| Inst* hoc_pc |
| Inst * hoc_prog |
| Inst * hoc_prog_parse_recover |
| Inst * hoc_progbase |
| Inst* hoc_progp |
| Symlist* hoc_symlist |
| Object* hoc_thisobject |
Definition at line 132 of file hoc_oop.cpp.
| Objectdata* hoc_top_level_data |
Definition at line 134 of file hoc_oop.cpp.
| Symlist* hoc_top_level_symlist |
Neuron/Java Interface code.
Modified by Michael Hines The Java to Neuron JNIEXPORT functions for Neuron.java have been collected in nrnjni.cpp. This file now mostly supports the Neuron to Java direction
Definition at line 41 of file symbol.cpp.
| int parallel_sub |
OCSMALL
Definition at line 30 of file parallel.cpp.