#include <ndatclas.h>
Public Member Functions | |
NrnProperty (Prop *) | |
NrnProperty (const char *) | |
virtual | ~NrnProperty () |
const char * | name () const |
int | type () const |
boolean | is_point () const |
boolean | deleteable () |
Symbol * | first_var () |
boolean | more_var () |
Symbol * | next_var () |
Symbol * | find (const char *rangevar) |
Symbol * | var (int) |
int | prop_index (const Symbol *) const |
double * | prop_pval (const Symbol *, int arrayindex=0) const |
Prop * | prop () const |
int | var_type (Symbol *) const |
Static Public Member Functions | |
static boolean | assign (Prop *src, Prop *dest, int vartype=0) |
Private Attributes | |
NrnPropertyImpl * | npi_ |
NrnProperty::NrnProperty | ( | const char * | name | ) |
References NrnPropertyImpl::del_, hoc_built_in_symlist, hoc_execerror(), hoc_table_lookup(), hoc_top_level_symlist, Prop::next, nil, npi_, pop_frame(), prop_alloc(), push_frame(), single_prop_free(), Symbol::subtype, Symbol::type, and Symbol::u.
NrnProperty::~NrnProperty | ( | ) | [virtual] |
References npi_.
References assert, hoc_total_array_data(), i, memb_func, n, nrn_vartype(), NRNPOINTER, Prop::ob, Prop::param, Prop::param_size, Symbol::ppsym, Symbol::rng, Symbol::s_varn, Memb_func::sym, Prop::type, Symbol::u, x, and y.
boolean NrnProperty::deleteable | ( | ) |
References NrnPropertyImpl::del_, and npi_.
Symbol * NrnProperty::find | ( | const char * | rangevar | ) |
References i, Symbol::name, npi_, Symbol::ppsym, Symbol::s_varn, NrnPropertyImpl::sym_, and Symbol::u.
Referenced by MechanismStandard::get(), nrnpy_setpointer_helper(), and MechanismStandard::set().
Symbol * NrnProperty::first_var | ( | ) |
References NrnPropertyImpl::iterator_, next_var(), and npi_.
Referenced by MechanismStandard::MechanismStandard(), MechanismStandard::panel(), MechanismStandard::save(), and SaveState::ssi_def().
boolean NrnProperty::is_point | ( | ) | const |
References Memb_func::is_point, memb_func, npi_, NrnPropertyImpl::p_, and Prop::type.
boolean NrnProperty::more_var | ( | ) |
References NrnPropertyImpl::iterator_, npi_, Symbol::s_varn, and NrnPropertyImpl::sym_.
Referenced by MechanismStandard::MechanismStandard(), next_var(), MechanismStandard::panel(), MechanismStandard::save(), and SaveState::ssi_def().
const char * NrnProperty::name | ( | ) | const |
References Symbol::name, npi_, and NrnPropertyImpl::sym_.
Referenced by MechanismStandard::name(), MechanismStandard::panel(), and MechanismStandard::save().
Symbol * NrnProperty::next_var | ( | ) |
References NrnPropertyImpl::iterator_, more_var(), npi_, Symbol::ppsym, NrnPropertyImpl::sym_, and Symbol::u.
Referenced by first_var(), MechanismStandard::MechanismStandard(), MechanismStandard::panel(), MechanismStandard::save(), and SaveState::ssi_def().
Prop * NrnProperty::prop | ( | ) | const |
References npi_, and NrnPropertyImpl::p_.
Referenced by MechanismStandard::in(), MechanismStandard::out(), SingleChan::set_rates(), and SaveState::ssi_def().
References assert, hoc_execerror(), Symbol::name, Symbol::rng, Symbol::type, and Symbol::u.
Referenced by nrnpy_setpointer_helper(), prop_pval(), and SaveState::ssi_def().
References Prop::dparam, npi_, NRNPOINTER, Prop::ob, NrnPropertyImpl::p_, Prop::param, prop_index(), Datum::pval, and Symbol::subtype.
Referenced by MechanismStandard::get(), MechanismStandard::panel(), MechanismStandard::save(), and MechanismStandard::set().
int NrnProperty::type | ( | ) | const |
References npi_, NrnPropertyImpl::p_, and Prop::type.
Referenced by MechanismStandard::in(), MechanismStandard::out(), and SingleChan::SingleChan().
References npi_, Symbol::ppsym, NrnPropertyImpl::sym_, and Symbol::u.
Referenced by MechanismStandard::name().
References nrn_vartype().
Referenced by MechanismStandard::MechanismStandard(), MechanismStandard::panel(), MechanismStandard::save(), and SaveState::ssi_def().
NrnPropertyImpl* NrnProperty::npi_ [private] |
Referenced by deleteable(), find(), first_var(), is_point(), more_var(), name(), next_var(), NrnProperty(), prop(), prop_pval(), type(), var(), and ~NrnProperty().