![]() |
NEURON
|
#include <../../nrnconf.h>
#include <cstdlib>
#include <vector>
#include "utils/formatting.hpp"
#include "classreg.h"
#include "hocstr.h"
#include "parse.hpp"
#include "hocparse.h"
#include "code.h"
#include "cabcode.h"
#include "hocassrt.h"
#include "hoclist.h"
#include "nrn_ansi.h"
#include "nrnmpi.h"
#include "nrnpy.h"
#include "nrnfilewrap.h"
#include "ocfunc.h"
#include "section.h"
#include "nrniv_mf.h"
Go to the source code of this file.
Classes | |
union | Templatedatum |
struct | guard_t |
Macros | |
#define | PDEBUG 0 |
#define | PUBLIC_TYPE 1 |
#define | EXTERNAL_TYPE 2 |
#define | NTEMPLATESTACK 20 |
#define | pushtemplatesym(arg) |
#define | pushtemplatesymlist(arg) |
#define | pushtemplatei(arg) |
#define | pushtemplateodata(arg) |
#define | pushtemplateo(arg) |
#define | OBJ_STACK_SIZE 10 |
#define | objectpath hoc_objectpath_impl |
#define | pathprepend hoc_path_prepend |
Variables | |
Symbol * | nrnpy_pyobj_sym_ {} |
int | section_object_seen |
static int | connect_obsec_ |
std::vector< const char * > | py_exposed_classes {} |
int | hoc_print_first_instance = 1 |
int | hoc_max_builtin_class_id = -1 |
static Symbol * | hoc_obj_ |
static int | icntobjectdata = 0 |
Object * | hoc_thisobject |
Objectdata * | hoc_objectdata = (Objectdata*) 0 |
Objectdata * | hoc_top_level_data |
static int | icnttoplevel |
int | hoc_in_template = 0 |
static Templatedatum | templatestack [NTEMPLATESTACK] |
static Templatedatum * | templatestackp = templatestack |
static Object * | obj_stack_ [OBJ_STACK_SIZE+1] |
static int | obj_stack_loc |
static Object * | gui_redirect_obj_ |
static int | template_id |
constexpr std::size_t | hoc_object_pathname_bufsize = 512 |
#define EXTERNAL_TYPE 2 |
Definition at line 33 of file hoc_oop.cpp.
#define NTEMPLATESTACK 20 |
Definition at line 195 of file hoc_oop.cpp.
#define OBJ_STACK_SIZE 10 |
Definition at line 232 of file hoc_oop.cpp.
#define objectpath hoc_objectpath_impl |
Definition at line 1772 of file hoc_oop.cpp.
#define pathprepend hoc_path_prepend |
Definition at line 1773 of file hoc_oop.cpp.
#define PDEBUG 0 |
Definition at line 23 of file hoc_oop.cpp.
#define PUBLIC_TYPE 1 |
Definition at line 32 of file hoc_oop.cpp.
#define pushtemplatei | ( | arg | ) |
Definition at line 212 of file hoc_oop.cpp.
#define pushtemplateo | ( | arg | ) |
Definition at line 218 of file hoc_oop.cpp.
#define pushtemplateodata | ( | arg | ) |
Definition at line 215 of file hoc_oop.cpp.
#define pushtemplatesym | ( | arg | ) |
Definition at line 206 of file hoc_oop.cpp.
#define pushtemplatesymlist | ( | arg | ) |
Definition at line 209 of file hoc_oop.cpp.
Definition at line 609 of file hoc_oop.cpp.
Definition at line 721 of file hoc_oop.cpp.
|
static |
Definition at line 222 of file hoc_oop.cpp.
void class2oc | ( | const char * | name, |
ctor_f * | cons, | ||
dtor_f * | destruct, | ||
Member_func * | m, | ||
Member_ret_obj_func * | mobjret, | ||
Member_ret_str_func * | strret | ||
) |
Definition at line 1631 of file hoc_oop.cpp.
void class2oc_base | ( | const char * | name, |
ctor_f * | cons, | ||
dtor_f * | destruct, | ||
Member_func * | m, | ||
Member_ret_obj_func * | mobjret, | ||
Member_ret_str_func * | strret | ||
) |
Definition at line 1583 of file hoc_oop.cpp.
void connect_obsec_syntax | ( | void | ) |
Definition at line 969 of file hoc_oop.cpp.
|
static |
Definition at line 1932 of file hoc_oop.cpp.
void hoc_add_publiclist | ( | Symbol * | s | ) |
Definition at line 1656 of file hoc_oop.cpp.
void hoc_allobjects | ( | void | ) |
Definition at line 1992 of file hoc_oop.cpp.
|
static |
Definition at line 2011 of file hoc_oop.cpp.
|
static |
Definition at line 2033 of file hoc_oop.cpp.
void hoc_allobjectvars | ( | void | ) |
Definition at line 2052 of file hoc_oop.cpp.
void hoc_asgn_obj_to_str | ( | void | ) |
Definition at line 1392 of file hoc_oop.cpp.
void hoc_begintemplate | ( | Symbol * | t1 | ) |
Definition at line 1510 of file hoc_oop.cpp.
void hoc_cmp_otype | ( | void | ) |
Definition at line 784 of file hoc_oop.cpp.
void hoc_constobject | ( | void | ) |
Definition at line 840 of file hoc_oop.cpp.
Definition at line 1641 of file hoc_oop.cpp.
void hoc_endtemplate | ( | Symbol * | t | ) |
Definition at line 1548 of file hoc_oop.cpp.
void hoc_exec_cmd | ( | void | ) |
Definition at line 349 of file hoc_oop.cpp.
void hoc_external_var | ( | Symbol * | s | ) |
Definition at line 1668 of file hoc_oop.cpp.
void hoc_install_hoc_obj | ( | void | ) |
Definition at line 44 of file hoc_oop.cpp.
void hoc_known_type | ( | void | ) |
Definition at line 788 of file hoc_oop.cpp.
|
static |
Definition at line 2058 of file hoc_oop.cpp.
void hoc_newobj | ( | void | ) |
Definition at line 586 of file hoc_oop.cpp.
Definition at line 497 of file hoc_oop.cpp.
void hoc_newobj_arg | ( | void | ) |
Definition at line 571 of file hoc_oop.cpp.
void hoc_newobj_ret | ( | void | ) |
Definition at line 582 of file hoc_oop.cpp.
void hoc_ob_check | ( | int | type | ) |
Definition at line 1706 of file hoc_oop.cpp.
void hoc_ob_pointer | ( | void | ) |
Definition at line 1368 of file hoc_oop.cpp.
void hoc_object_asgn | ( | void | ) |
Definition at line 1399 of file hoc_oop.cpp.
void hoc_object_component | ( | void | ) |
Definition at line 977 of file hoc_oop.cpp.
void hoc_object_eval | ( | void | ) |
Definition at line 1341 of file hoc_oop.cpp.
void hoc_object_id | ( | void | ) |
Definition at line 884 of file hoc_oop.cpp.
void hoc_object_pop | ( | void | ) |
Definition at line 266 of file hoc_oop.cpp.
void hoc_object_push | ( | void | ) |
Definition at line 236 of file hoc_oop.cpp.
void hoc_object_pushed | ( | void | ) |
Definition at line 258 of file hoc_oop.cpp.
void hoc_objectarg | ( | void | ) |
Definition at line 825 of file hoc_oop.cpp.
Objectdata* hoc_objectdata_restore | ( | Objectdata * | obdsav | ) |
Definition at line 142 of file hoc_oop.cpp.
Objectdata* hoc_objectdata_save | ( | void | ) |
Definition at line 132 of file hoc_oop.cpp.
void hoc_objectvar | ( | void | ) |
Definition at line 792 of file hoc_oop.cpp.
void hoc_objvardecl | ( | void | ) |
Definition at line 751 of file hoc_oop.cpp.
void hoc_obvar_declare | ( | Symbol * | sym, |
int | type, | ||
int | pmes | ||
) |
Definition at line 151 of file hoc_oop.cpp.
void hoc_push_current_object | ( | void | ) |
Definition at line 128 of file hoc_oop.cpp.
int hoc_resize_toplevel | ( | int | more | ) |
Definition at line 285 of file hoc_oop.cpp.
Definition at line 1492 of file hoc_oop.cpp.
Object* nrn_get_gui_redirect_obj | ( | ) |
Definition at line 644 of file hoc_oop.cpp.
struct Section* nrn_sec_pop | ( | ) |
Definition at line 753 of file cabcode.cpp.
Definition at line 1786 of file hoc_oop.cpp.
void oc_restore_hoc_oop | ( | Object ** | a1, |
Objectdata ** | a2, | ||
int * | a4, | ||
Symlist ** | a5 | ||
) |
Definition at line 439 of file hoc_oop.cpp.
void oc_save_hoc_oop | ( | Object ** | a1, |
Objectdata ** | a2, | ||
int * | a4, | ||
Symlist ** | a5 | ||
) |
Definition at line 423 of file hoc_oop.cpp.
void pathprepend | ( | char * | path, |
const char * | name, | ||
const char * | indx | ||
) |
Definition at line 1776 of file hoc_oop.cpp.
|
static |
Definition at line 199 of file hoc_oop.cpp.
|
static |
Definition at line 901 of file hoc_oop.cpp.
|
static |
Definition at line 30 of file hoc_oop.cpp.
|
static |
Definition at line 643 of file hoc_oop.cpp.
int hoc_in_template = 0 |
Definition at line 125 of file hoc_oop.cpp.
int hoc_max_builtin_class_id = -1 |
Definition at line 40 of file hoc_oop.cpp.
|
static |
Definition at line 42 of file hoc_oop.cpp.
|
constexpr |
Definition at line 1775 of file hoc_oop.cpp.
int hoc_print_first_instance = 1 |
Definition at line 39 of file hoc_oop.cpp.
Object* hoc_thisobject |
Definition at line 121 of file hoc_oop.cpp.
Objectdata* hoc_top_level_data |
Definition at line 123 of file hoc_oop.cpp.
|
static |
Definition at line 120 of file hoc_oop.cpp.
|
static |
Definition at line 124 of file hoc_oop.cpp.
Symbol* nrnpy_pyobj_sym_ {} |
Definition at line 25 of file hoc_oop.cpp.
|
static |
Definition at line 233 of file hoc_oop.cpp.
|
static |
Definition at line 234 of file hoc_oop.cpp.
std::vector<const char*> py_exposed_classes {} |
Definition at line 37 of file hoc_oop.cpp.
int section_object_seen |
Definition at line 28 of file hoc_oop.cpp.
|
static |
Definition at line 1508 of file hoc_oop.cpp.
|
static |
Definition at line 196 of file hoc_oop.cpp.
|
static |
Definition at line 197 of file hoc_oop.cpp.