NEURON
NrnProperty Class Reference

#include <ndatclas.h>

Public Member Functions

 NrnProperty (Prop *)
 
 NrnProperty (const char *)
 
virtual ~NrnProperty ()
 
const char * name () const
 
int type () const
 
bool is_point () const
 
bool deleteable ()
 
Symbolfirst_var ()
 
bool more_var ()
 
Symbolnext_var ()
 
Symbolfind (const char *rangevar)
 
Symbolvar (int)
 
int prop_index (const Symbol *) const
 
double * prop_pval (const Symbol *, int arrayindex=0) const
 
Propprop () const
 
int var_type (Symbol *) const
 

Static Public Member Functions

static bool assign (Prop *src, Prop *dest, int vartype=0)
 

Private Attributes

NrnPropertyImplnpi_
 

Detailed Description

Definition at line 10 of file ndatclas.h.

Constructor & Destructor Documentation

◆ NrnProperty() [1/2]

NrnProperty::NrnProperty ( Prop p)

Definition at line 65 of file ndatclas.cpp.

◆ NrnProperty() [2/2]

NrnProperty::NrnProperty ( const char *  name)

Definition at line 69 of file ndatclas.cpp.

◆ ~NrnProperty()

NrnProperty::~NrnProperty ( )
virtual

Definition at line 103 of file ndatclas.cpp.

Member Function Documentation

◆ assign()

bool NrnProperty::assign ( Prop src,
Prop dest,
int  vartype = 0 
)
static

Definition at line 157 of file ndatclas.cpp.

◆ deleteable()

bool NrnProperty::deleteable ( )

Definition at line 107 of file ndatclas.cpp.

◆ find()

Symbol * NrnProperty::find ( const char *  rangevar)

Definition at line 203 of file ndatclas.cpp.

◆ first_var()

Symbol * NrnProperty::first_var ( )

Definition at line 127 of file ndatclas.cpp.

◆ is_point()

bool NrnProperty::is_point ( ) const

Definition at line 115 of file ndatclas.cpp.

◆ more_var()

bool NrnProperty::more_var ( )

Definition at line 132 of file ndatclas.cpp.

◆ name()

const char * NrnProperty::name ( ) const

Definition at line 111 of file ndatclas.cpp.

◆ next_var()

Symbol * NrnProperty::next_var ( )

Definition at line 140 of file ndatclas.cpp.

◆ prop()

Prop * NrnProperty::prop ( ) const

Definition at line 123 of file ndatclas.cpp.

◆ prop_index()

int NrnProperty::prop_index ( const Symbol s) const

Definition at line 215 of file ndatclas.cpp.

◆ prop_pval()

double * NrnProperty::prop_pval ( const Symbol s,
int  arrayindex = 0 
) const

Definition at line 223 of file ndatclas.cpp.

◆ type()

int NrnProperty::type ( ) const

Definition at line 119 of file ndatclas.cpp.

◆ var()

Symbol * NrnProperty::var ( int  i)

Definition at line 149 of file ndatclas.cpp.

◆ var_type()

int NrnProperty::var_type ( Symbol sym) const

Definition at line 153 of file ndatclas.cpp.

Member Data Documentation

◆ npi_

NrnPropertyImpl* NrnProperty::npi_
private

Definition at line 34 of file ndatclas.h.


The documentation for this class was generated from the following files: