#include <nrnmenu.h>
Public Member Functions | |
MechanismStandard (const char *, int vartype) | |
virtual | ~MechanismStandard () |
void | panel (const char *label=nil) |
void | action (const char *) |
int | count () |
const char * | name () |
const char * | name (int, int &) |
void | in (Section *, double x=-1.) |
void | in (Point_process *) |
void | in (MechanismStandard *) |
void | set (const char *, double val, int arrayindex=0) |
void | out (Section *, double x=-1.) |
void | out (Point_process *) |
void | out (MechanismStandard *) |
double | get (const char *, int arrayindex=0) |
void | save (const char *, ostream *) |
NrnProperty * | np () |
Private Member Functions | |
void | mschk (const char *) |
Private Attributes | |
NrnProperty * | np_ |
int | name_cnt_ |
int | offset_ |
int | vartype_ |
CopyString | action_ |
Symbol ** | glosym_ |
MechanismStandard::MechanismStandard | ( | const char * | name, | |
int | vartype | |||
) |
References action_, Symlist::first, NrnProperty::first_var(), glosym_, hoc_built_in_symlist, NrnProperty::more_var(), Symbol::name, name_cnt_, Symbol::next, NrnProperty::next_var(), nil, np_, offset_, s, strstr(), Symbol::subtype, Symbol::type, USERDOUBLE, NrnProperty::var_type(), and vartype_.
void MechanismStandard::action | ( | const char * | action | ) |
double MechanismStandard::get | ( | const char * | name, | |
int | arrayindex = 0 | |||
) |
References NrnProperty::find(), hoc_execerror(), mschk(), np_, NrnProperty::prop_pval(), pval, and s.
void MechanismStandard::in | ( | MechanismStandard * | ms | ) |
References assign, mschk(), np_, NrnProperty::prop(), and vartype_.
void MechanismStandard::in | ( | Point_process * | pp | ) |
References assign, mschk(), np_, NrnProperty::prop(), Point_process::prop, and vartype_.
References assign, mschk(), node_index(), np_, nrn_mechanism(), Section::pnode, NrnProperty::prop(), NrnProperty::type(), and vartype_.
void MechanismStandard::mschk | ( | const char * | s | ) | [private] |
References glosym_, hoc_total_array_data(), Symbol::name, np_, offset_, s, NrnProperty::var(), and vartype_.
const char * MechanismStandard::name | ( | ) |
NrnProperty* MechanismStandard::np | ( | ) | [inline] |
References np_.
void MechanismStandard::out | ( | MechanismStandard * | ms | ) |
References assign, mschk(), np_, NrnProperty::prop(), and vartype_.
void MechanismStandard::out | ( | Point_process * | pp | ) |
References assign, mschk(), np_, Point_process::prop, NrnProperty::prop(), and vartype_.
References assign, mschk(), Section::nnode, node_index(), np_, nrn_mechanism(), Section::pnode, NrnProperty::prop(), NrnProperty::type(), and vartype_.
void MechanismStandard::panel | ( | const char * | label = nil |
) |
References action_, Symbol::extra, NrnProperty::first_var(), hoc_ivlabel(), hoc_ivpanel(), hoc_ivpanelmap(), hoc_ivpvaluerun(), hoc_total_array_data(), NrnProperty::more_var(), mschk(), Symbol::name, NrnProperty::name(), NrnProperty::next_var(), np_, NrnProperty::prop_pval(), NrnProperty::var_type(), and vartype_.
void MechanismStandard::save | ( | const char * | obref, | |
ostream * | po | |||
) |
References NrnProperty::first_var(), hoc_total_array_data(), NrnProperty::more_var(), mschk(), Symbol::name, NrnProperty::name(), NrnProperty::next_var(), np_, NrnProperty::prop_pval(), NrnProperty::var_type(), and vartype_.
References NrnProperty::find(), hoc_execerror(), mschk(), np_, NrnProperty::prop_pval(), and s.
CopyString MechanismStandard::action_ [private] |
Referenced by action(), MechanismStandard(), and panel().
Symbol** MechanismStandard::glosym_ [private] |
Referenced by MechanismStandard(), name(), and ~MechanismStandard().
int MechanismStandard::name_cnt_ [private] |
Referenced by count(), and MechanismStandard().
NrnProperty* MechanismStandard::np_ [private] |
Referenced by get(), in(), MechanismStandard(), name(), np(), out(), panel(), save(), set(), and ~MechanismStandard().
int MechanismStandard::offset_ [private] |
Referenced by MechanismStandard(), and name().
int MechanismStandard::vartype_ [private] |