HocValEditor Class Reference

#include <xmenu.h>

Inheritance diagram for HocValEditor:
Inheritance graph
[legend]
Collaboration diagram for HocValEditor:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 HocValEditor (const char *name, const char *variable, ValEdLabel *, HocValAction *, double *pd=0, boolean canrun=false, HocItem *parent=nil, Object *pvar=nil)
virtual ~HocValEditor ()
FieldSEditorfield_editor ()
virtual Stepper * stepper ()
virtual void update_hoc_item ()
void evalField ()
void audit ()
virtual void updateField ()
virtual void write (ostream &)
virtual void data_path (HocDataPaths *, boolean)
virtual void check_pointer (void *, int)
virtual void print (Printer *, const Allocation &) const
virtual int hoc_default_val_editor ()
void set_val (double)
double get_val ()
virtual void exec_action ()
const char * variable () const
virtual void setlimits (float *)
virtual double domain_limits (double)
boolean active ()
virtual void update_ptrs ()

Private Attributes

HocEditorForItemfe_
boolean active_
boolean canrun_
HocActionaction_
CopyString * variable_
double * pval_
ValEdLabel * prompt_
float * domain_limits_
Object * pyvar_

Friends

class HocEditorForItem
class HocValStepper

Constructor & Destructor Documentation

HocValEditor::HocValEditor ( const char *  name,
const char *  variable,
ValEdLabel *  ,
HocValAction ,
double *  pd = 0,
boolean  canrun = false,
HocItem parent = nil,
Object *  pvar = nil 
)
virtual HocValEditor::~HocValEditor (  )  [virtual]

Member Function Documentation

boolean HocValEditor::active (  )  [inline]

References active_.

void HocValEditor::audit (  ) 
virtual void HocValEditor::check_pointer ( void ,
int   
) [virtual]

Reimplemented from HocUpdateItem.

virtual void HocValEditor::data_path ( HocDataPaths ,
boolean   
) [virtual]

Reimplemented from HocUpdateItem.

virtual double HocValEditor::domain_limits ( double   )  [virtual]
void HocValEditor::evalField (  ) 
virtual void HocValEditor::exec_action (  )  [virtual]
FieldSEditor* HocValEditor::field_editor (  )  [inline]

References fe_.

double HocValEditor::get_val (  ) 
virtual int HocValEditor::hoc_default_val_editor (  )  [inline, virtual]

Reimplemented in HocDefaultValEditor.

virtual void HocValEditor::print ( Printer *  ,
const Allocation &   
) const [virtual]
void HocValEditor::set_val ( double   ) 
virtual void HocValEditor::setlimits ( float *   )  [virtual]
virtual Stepper* HocValEditor::stepper (  )  [inline, virtual]

Reimplemented in HocDefaultValEditor.

References nil.

virtual void HocValEditor::update_hoc_item (  )  [virtual]

Reimplemented from HocUpdateItem.

virtual void HocValEditor::update_ptrs (  )  [virtual]

Reimplemented from HocUpdateItem.

virtual void HocValEditor::updateField (  )  [virtual]

Reimplemented in HocDefaultValEditor.

const char* HocValEditor::variable (  )  const
virtual void HocValEditor::write ( ostream &   )  [virtual]

Reimplemented from HocItem.

Reimplemented in HocValEditorKeepUpdated.


Friends And Related Function Documentation

friend class HocEditorForItem [friend]
friend class HocValStepper [friend]

Member Data Documentation

Referenced by active().

float* HocValEditor::domain_limits_ [private]

Referenced by field_editor().

ValEdLabel* HocValEditor::prompt_ [private]
double* HocValEditor::pval_ [private]
Object* HocValEditor::pyvar_ [private]
CopyString* HocValEditor::variable_ [private]

The documentation for this class was generated from the following file:
Generated on Mon Jun 13 08:10:31 2011 for NEURON by  doxygen 1.6.3