NEURON
hoccontext.h File Reference

Go to the source code of this file.

Classes

struct  HocContext
 

Macros

#define HocTopContextSet
 
#define HocContextRestore
 

Typedefs

typedef struct HocContext HocContext
 

Functions

static HocContexthc_save_and_set_to_top_ (HocContext *hc)
 
static void hc_restore_ (HocContext *hc)
 

Variables

Objecthoc_thisobject
 
Objectdatahoc_top_level_data
 
Symlisthoc_top_level_symlist
 Neuron/Java Interface code. More...
 
Symlisthoc_symlist
 

Macro Definition Documentation

◆ HocContextRestore

#define HocContextRestore
Value:
if (hc_) { \
hc_restore_(hc_); \
}

Definition at line 17 of file hoccontext.h.

◆ HocTopContextSet

#define HocTopContextSet
Value:
HocContext hcref; \
HocContext* hc_ = 0; \
if (hoc_thisobject) { \
hc_ = hc_save_and_set_to_top_(&hcref); \
}
Object * hoc_thisobject
Definition: hoc_oop.cpp:132
static HocContext * hc_save_and_set_to_top_(HocContext *hc)
Definition: hoccontext.h:28

Definition at line 10 of file hoccontext.h.

Typedef Documentation

◆ HocContext

typedef struct HocContext HocContext

Function Documentation

◆ hc_restore_()

static void hc_restore_ ( HocContext hc)
static

Definition at line 37 of file hoccontext.h.

◆ hc_save_and_set_to_top_()

static HocContext* hc_save_and_set_to_top_ ( HocContext hc)
static

Definition at line 28 of file hoccontext.h.

Variable Documentation

◆ hoc_symlist

Symlist* hoc_symlist

◆ hoc_thisobject

Object* hoc_thisobject

Definition at line 132 of file hoc_oop.cpp.

◆ hoc_top_level_data

Objectdata* hoc_top_level_data

Definition at line 134 of file hoc_oop.cpp.

◆ hoc_top_level_symlist

Symlist* hoc_top_level_symlist

Neuron/Java Interface code.

Author
Fred Howell
Date
March 2001

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.