![]() |
NEURON
|
#include <stdbool.h>
#include <stdio.h>
#include <stddef.h>
Go to the source code of this file.
Typedefs | |
typedef struct Symbol | Symbol |
typedef struct Object | Object |
typedef struct Section | Section |
typedef struct SectionListIterator | SectionListIterator |
typedef struct nrn_Item | nrn_Item |
typedef struct SymbolTableIterator | SymbolTableIterator |
typedef struct Symlist | Symlist |
typedef struct ShapePlotInterface | ShapePlotInterface |
Enumerations | |
enum | nrn_stack_types_t { STACK_IS_STR = 1 , STACK_IS_VAR = 2 , STACK_IS_NUM = 3 , STACK_IS_OBJVAR = 4 , STACK_IS_OBJTMP = 5 , STACK_IS_INT = 6 , STACK_IS_SYM = 7 , STACK_UNKNOWN = -1 } |
Definition at line 1 of file neuronapi.h.
Definition at line 1 of file neuronapi.h.
Definition at line 1 of file neuronapi.h.
typedef struct SectionListIterator SectionListIterator |
Definition at line 1 of file neuronapi.h.
typedef struct ShapePlotInterface ShapePlotInterface |
Definition at line 1 of file neuronapi.h.
Definition at line 1 of file neuronapi.h.
typedef struct SymbolTableIterator SymbolTableIterator |
Definition at line 1 of file neuronapi.h.
Definition at line 1 of file neuronapi.h.
enum nrn_stack_types_t |
Enumerator | |
---|---|
STACK_IS_STR | |
STACK_IS_VAR | |
STACK_IS_NUM | |
STACK_IS_OBJVAR | |
STACK_IS_OBJTMP | |
STACK_IS_INT | |
STACK_IS_SYM | |
STACK_UNKNOWN |
Definition at line 25 of file neuronapi.h.
nrn_Item* nrn_allsec | ( | void | ) |
Definition at line 219 of file neuronapi.cpp.
Section* nrn_cas | ( | void | ) |
Definition at line 166 of file neuronapi.cpp.
char const* nrn_class_name | ( | const Object * | obj | ) |
Definition at line 422 of file neuronapi.cpp.
Definition at line 430 of file neuronapi.cpp.
double nrn_double_pop | ( | void | ) |
Definition at line 262 of file neuronapi.cpp.
double* nrn_double_ptr_pop | ( | void | ) |
Definition at line 270 of file neuronapi.cpp.
void nrn_double_ptr_push | ( | double * | addr | ) |
Definition at line 266 of file neuronapi.cpp.
void nrn_double_push | ( | double | val | ) |
Definition at line 258 of file neuronapi.cpp.
void nrn_function_call | ( | Symbol * | sym, |
int | narg | ||
) |
Definition at line 356 of file neuronapi.cpp.
int nrn_function_call_nothrow | ( | Symbol * | sym, |
int | narg, | ||
char * | error_msg, | ||
size_t | error_msg_size | ||
) |
Definition at line 390 of file neuronapi.cpp.
char* nrn_gargstr | ( | int | arg | ) |
Definition at line 693 of file neuronapi.cpp.
float nrn_get_plotshape_high | ( | ShapePlotInterface * | spi | ) |
Definition at line 461 of file neuronapi.cpp.
ShapePlotInterface* nrn_get_plotshape_interface | ( | Object * | ps | ) |
Definition at line 442 of file neuronapi.cpp.
float nrn_get_plotshape_low | ( | ShapePlotInterface * | spi | ) |
Definition at line 457 of file neuronapi.cpp.
Object* nrn_get_plotshape_section_list | ( | ShapePlotInterface * | spi | ) |
Definition at line 449 of file neuronapi.cpp.
const char* nrn_get_plotshape_varname | ( | ShapePlotInterface * | spi | ) |
Definition at line 453 of file neuronapi.cpp.
double* nrn_getarg | ( | int | arg | ) |
Definition at line 697 of file neuronapi.cpp.
Symlist* nrn_global_symbol_table | ( | void | ) |
Definition at line 661 of file neuronapi.cpp.
int nrn_hoc_call | ( | char const * | command | ) |
Definition at line 468 of file neuronapi.cpp.
void nrn_hoc_ret | ( | void | ) |
Definition at line 682 of file neuronapi.cpp.
bool nrn_ifarg | ( | int | arg | ) |
Definition at line 705 of file neuronapi.cpp.
int nrn_init | ( | int | argc, |
const char ** | argv | ||
) |
Definition at line 57 of file neuronapi.cpp.
int nrn_int_pop | ( | void | ) |
Definition at line 286 of file neuronapi.cpp.
void nrn_int_push | ( | int | i | ) |
Definition at line 282 of file neuronapi.cpp.
bool nrn_is_double_arg | ( | int | arg | ) |
Definition at line 720 of file neuronapi.cpp.
bool nrn_is_object_arg | ( | int | arg | ) |
Definition at line 710 of file neuronapi.cpp.
bool nrn_is_pdouble_arg | ( | int | arg | ) |
Definition at line 725 of file neuronapi.cpp.
bool nrn_is_str_arg | ( | int | arg | ) |
Definition at line 715 of file neuronapi.cpp.
Definition at line 146 of file neuronapi.cpp.
Definition at line 352 of file neuronapi.cpp.
int nrn_method_call_nothrow | ( | Object * | obj, |
Symbol * | method_sym, | ||
int | narg, | ||
char * | error_msg, | ||
size_t | error_msg_size | ||
) |
Definition at line 362 of file neuronapi.cpp.
Definition at line 348 of file neuronapi.cpp.
int nrn_nseg_get | ( | const Section * | sec | ) |
Definition at line 175 of file neuronapi.cpp.
void nrn_nseg_set | ( | Section * | sec, |
int | nseg | ||
) |
Definition at line 180 of file neuronapi.cpp.
FILE* nrn_obj_file_arg | ( | int | i | ) |
Definition at line 701 of file neuronapi.cpp.
Definition at line 344 of file neuronapi.cpp.
Object* nrn_object_pop | ( | void | ) |
Definition at line 294 of file neuronapi.cpp.
void nrn_object_push | ( | Object * | obj | ) |
Definition at line 290 of file neuronapi.cpp.
void nrn_object_ref | ( | Object * | obj | ) |
Definition at line 414 of file neuronapi.cpp.
void nrn_object_unref | ( | Object * | obj | ) |
Definition at line 418 of file neuronapi.cpp.
Object** nrn_objgetarg | ( | int | arg | ) |
Definition at line 689 of file neuronapi.cpp.
bool nrn_prop_exists | ( | const Object * | obj | ) |
Definition at line 426 of file neuronapi.cpp.
double nrn_property_array_get | ( | const Object * | obj, |
const char * | name, | ||
int | i | ||
) |
Definition at line 587 of file neuronapi.cpp.
void nrn_property_array_push | ( | Object * | obj, |
const char * | name, | ||
int | i | ||
) |
Definition at line 638 of file neuronapi.cpp.
void nrn_property_array_set | ( | Object * | obj, |
const char * | name, | ||
int | i, | ||
double | value | ||
) |
Definition at line 613 of file neuronapi.cpp.
double nrn_property_get | ( | const Object * | obj, |
const char * | name | ||
) |
Definition at line 574 of file neuronapi.cpp.
void nrn_property_push | ( | Object * | obj, |
const char * | name | ||
) |
Definition at line 626 of file neuronapi.cpp.
void nrn_property_set | ( | Object * | obj, |
const char * | name, | ||
double | value | ||
) |
Definition at line 600 of file neuronapi.cpp.
Definition at line 207 of file neuronapi.cpp.
Definition at line 215 of file neuronapi.cpp.
Definition at line 211 of file neuronapi.cpp.
void nrn_register_function | ( | void(*)() | proc, |
const char * | func_name, | ||
int | type | ||
) |
Definition at line 674 of file neuronapi.cpp.
char const* nrn_secname | ( | Section * | sec | ) |
Definition at line 134 of file neuronapi.cpp.
void nrn_section_connect | ( | Section * | child_sec, |
double | child_x, | ||
Section * | parent_sec, | ||
double | parent_x | ||
) |
Definition at line 88 of file neuronapi.cpp.
bool nrn_section_is_active | ( | const Section * | sec | ) |
Definition at line 151 of file neuronapi.cpp.
double nrn_section_length_get | ( | Section * | sec | ) |
Definition at line 107 of file neuronapi.cpp.
void nrn_section_length_set | ( | Section * | sec, |
double | length | ||
) |
Definition at line 96 of file neuronapi.cpp.
Section* nrn_section_new | ( | const char * | name | ) |
Definition at line 75 of file neuronapi.cpp.
void nrn_section_pop | ( | void | ) |
Definition at line 142 of file neuronapi.cpp.
void nrn_section_push | ( | Section * | sec | ) |
Definition at line 138 of file neuronapi.cpp.
double nrn_section_Ra_get | ( | Section * | sec | ) |
Definition at line 111 of file neuronapi.cpp.
void nrn_section_Ra_set | ( | Section * | sec, |
double | val | ||
) |
Definition at line 115 of file neuronapi.cpp.
double nrn_section_rallbranch_get | ( | const Section * | sec | ) |
Definition at line 123 of file neuronapi.cpp.
void nrn_section_rallbranch_set | ( | Section * | sec, |
double | val | ||
) |
Definition at line 127 of file neuronapi.cpp.
void nrn_section_ref | ( | Section * | sec | ) |
Definition at line 158 of file neuronapi.cpp.
void nrn_section_unref | ( | Section * | sec | ) |
Definition at line 162 of file neuronapi.cpp.
Definition at line 223 of file neuronapi.cpp.
int nrn_sectionlist_iterator_done | ( | SectionListIterator * | sl | ) |
Definition at line 544 of file neuronapi.cpp.
void nrn_sectionlist_iterator_free | ( | SectionListIterator * | sl | ) |
Definition at line 536 of file neuronapi.cpp.
SectionListIterator* nrn_sectionlist_iterator_new | ( | nrn_Item * | my_sectionlist | ) |
Definition at line 532 of file neuronapi.cpp.
Section* nrn_sectionlist_iterator_next | ( | SectionListIterator * | sl | ) |
Definition at line 540 of file neuronapi.cpp.
double nrn_segment_diam_get | ( | Section * | sec, |
double | x | ||
) |
Definition at line 197 of file neuronapi.cpp.
void nrn_segment_diam_set | ( | Section * | sec, |
double | x, | ||
double | diam | ||
) |
Definition at line 184 of file neuronapi.cpp.
nrn_stack_types_t nrn_stack_type | ( | void | ) |
Definition at line 303 of file neuronapi.cpp.
char const* nrn_stack_type_name | ( | nrn_stack_types_t | id | ) |
Definition at line 323 of file neuronapi.cpp.
void nrn_stdout_redirect | ( | int(*)(int, char *) | myprint | ) |
Definition at line 64 of file neuronapi.cpp.
char** nrn_str_pop | ( | void | ) |
Definition at line 278 of file neuronapi.cpp.
void nrn_str_push | ( | char ** | str | ) |
Definition at line 274 of file neuronapi.cpp.
Symbol* nrn_symbol | ( | const char * | name | ) |
Definition at line 232 of file neuronapi.cpp.
int nrn_symbol_array_length | ( | const Symbol * | sym | ) |
Definition at line 669 of file neuronapi.cpp.
double* nrn_symbol_dataptr | ( | const Symbol * | sym | ) |
Definition at line 246 of file neuronapi.cpp.
bool nrn_symbol_is_array | ( | const Symbol * | sym | ) |
Definition at line 250 of file neuronapi.cpp.
char const* nrn_symbol_name | ( | const Symbol * | sym | ) |
Definition at line 651 of file neuronapi.cpp.
void nrn_symbol_push | ( | Symbol * | sym | ) |
Definition at line 254 of file neuronapi.cpp.
int nrn_symbol_subtype | ( | const Symbol * | sym | ) |
Definition at line 242 of file neuronapi.cpp.
Definition at line 655 of file neuronapi.cpp.
int nrn_symbol_table_iterator_done | ( | SymbolTableIterator * | st | ) |
Definition at line 560 of file neuronapi.cpp.
void nrn_symbol_table_iterator_free | ( | SymbolTableIterator * | st | ) |
Definition at line 552 of file neuronapi.cpp.
SymbolTableIterator* nrn_symbol_table_iterator_new | ( | Symlist * | my_symbol_table | ) |
Definition at line 548 of file neuronapi.cpp.
Symbol* nrn_symbol_table_iterator_next | ( | SymbolTableIterator * | st | ) |
Definition at line 556 of file neuronapi.cpp.
int nrn_symbol_type | ( | const Symbol * | sym | ) |
Definition at line 236 of file neuronapi.cpp.
Symlist* nrn_top_level_symbol_table | ( | void | ) |
Definition at line 665 of file neuronapi.cpp.
int nrn_vector_capacity | ( | const Object * | vec | ) |
Definition at line 564 of file neuronapi.cpp.
double* nrn_vector_data | ( | Object * | vec | ) |
Definition at line 569 of file neuronapi.cpp.