![]() |
NEURON
|
#include <../../nrnconf.h>#include <stdio.h>#include <hocparse.h>#include <parse.hpp>#include <nrnoc2iv.h>#include "nrnsymdiritem.h"#include "utils/enumerate.h"#include <string>#include <map>Go to the source code of this file.
Macros | |
| #define | hoc_acterror(a, b) printf("%s %s\n", a, b) |
Typedefs | |
| typedef std::pair< CorStype, void * > | CellorSec |
| typedef std::map< const std::string, CellorSec > | Name2CellorSec |
Enumerations | |
| enum | CorStype { CELLTYPE , SECTYPE , OVERLOADCOUNT , NONETYPE } |
Functions | |
| static void | activate () |
| Section * | nrnpy_pysecname2sec (const char *name) |
| static void | n2s_add (Name2CellorSec &n2s, std::string n, Section *sec) |
| static void | n2cs_add_sec (Name2CellorSec &n2cs, std::string sname, Section *sec) |
| static Name2CellorSec * | n2cs_add_cell (Name2CellorSec &n2cs, std::string cname) |
| void | n2cs_add (Name2CellorSec &n2cs, std::string cname, std::string sname, Section *sec) |
| void | nrnpy_pysecname2sec_add (Section *sec) |
| static bool | decrement (CellorSec &cs) |
| void | nrnpy_pysecname2sec_remove (Section *sec) |
| void | nrn_symdir_load_pysec (std::vector< SymbolItem * > &sl, void *v) |
Variables | |
| static bool | activated = false |
| static Name2CellorSec | n2cs |
Definition at line 23 of file pysecname2sec.cpp.
Definition at line 19 of file pysecname2sec.cpp.
| typedef std::map<const std::string, CellorSec> Name2CellorSec |
Definition at line 20 of file pysecname2sec.cpp.
| enum CorStype |
| Enumerator | |
|---|---|
| CELLTYPE | |
| SECTYPE | |
| OVERLOADCOUNT | |
| NONETYPE | |
Definition at line 18 of file pysecname2sec.cpp.
|
static |
Definition at line 25 of file pysecname2sec.cpp.
|
static |
Definition at line 179 of file pysecname2sec.cpp.
| void n2cs_add | ( | Name2CellorSec & | n2cs, |
| std::string | cname, | ||
| std::string | sname, | ||
| Section * | sec | ||
| ) |
Definition at line 149 of file pysecname2sec.cpp.
|
static |
Definition at line 131 of file pysecname2sec.cpp.
|
static |
Definition at line 106 of file pysecname2sec.cpp.
|
static |
Definition at line 86 of file pysecname2sec.cpp.
| void nrn_symdir_load_pysec | ( | std::vector< SymbolItem * > & | sl, |
| void * | v | ||
| ) |
Definition at line 249 of file pysecname2sec.cpp.
| Section* nrnpy_pysecname2sec | ( | const char * | name | ) |
Definition at line 42 of file pysecname2sec.cpp.
| void nrnpy_pysecname2sec_add | ( | Section * | sec | ) |
Definition at line 157 of file pysecname2sec.cpp.
| void nrnpy_pysecname2sec_remove | ( | Section * | sec | ) |
Definition at line 184 of file pysecname2sec.cpp.
|
static |
Definition at line 16 of file pysecname2sec.cpp.
|
static |
Definition at line 21 of file pysecname2sec.cpp.