Oc Class Reference

#include <ivoc.h>

Collaboration diagram for Oc:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Oc ()
 Oc (Session *, char *pname=nil, char **env=nil)
virtual ~Oc ()
int run (int argc, char **argv)
int run (const char *, boolean show_err_mes=true)
SymbolparseExpr (const char *, Symlist **=nil)
double runExpr (Symbol *)
const char * name (Symbol *)
void notifyHocValue ()
void notify ()
void notify_attach (Observer *)
void notify_detach (Observer *)
void notify_freed (void(*pf)(void *, int))
void notify_when_freed (void *p, Observer *)
void notify_when_freed (double *p, Observer *)
void notify_pointer_disconnect (Observer *)

Static Public Member Functions

static boolean valid_expr (Symbol *)
static boolean valid_stmt (const char *, Object *ob=nil)
static Session * getSession ()
static int getStdinSeen ()
static void setStdinSeen (boolean i)
static boolean setAcceptInput (boolean)
static boolean helpmode ()
static void helpmode (boolean)
static void helpmode (Window *)
static void help (const char *)
static void cleanup ()

Static Public Attributes

static ostream * save_stream

Static Private Member Functions

static Cursor * help_cursor ()

Static Private Attributes

static int refcnt_
static Session * session_
static HandleStdinhandleStdin_
static boolean helpmode_
static Cursor * help_cursor_
static Observable * notify_change_

Constructor & Destructor Documentation

Oc::Oc (  ) 
Oc::Oc ( Session *  ,
char *  pname = nil,
char **  env = nil 
)
virtual Oc::~Oc (  )  [virtual]

Member Function Documentation

void Oc::cleanup (  )  [static]

References help_cursor_.

static Session* Oc::getSession (  )  [static]
static int Oc::getStdinSeen (  )  [inline, static]
static void Oc::help ( const char *   )  [static]
static Cursor* Oc::help_cursor (  )  [static, private]
static void Oc::helpmode ( Window *   )  [static]
static void Oc::helpmode ( boolean   )  [static]
static boolean Oc::helpmode (  )  [inline, static]

References helpmode_.

const char* Oc::name ( Symbol  ) 
void Oc::notify (  ) 
void Oc::notify_attach ( Observer *   ) 
void Oc::notify_detach ( Observer *   ) 
void Oc::notify_freed ( void(*)(void *, int pf  ) 
void Oc::notify_pointer_disconnect ( Observer *   ) 
void Oc::notify_when_freed ( double *  p,
Observer *   
)
void Oc::notify_when_freed ( void p,
Observer *   
)
void Oc::notifyHocValue (  ) 
Symbol* Oc::parseExpr ( const char *  ,
Symlist **  = nil 
)
int Oc::run ( const char *  ,
boolean  show_err_mes = true 
)
int Oc::run ( int  argc,
char **  argv 
)

Referenced by ivocmain(), and MechanismType::menu().

double Oc::runExpr ( Symbol  ) 
static boolean Oc::setAcceptInput ( boolean   )  [static]
static void Oc::setStdinSeen ( boolean  i  )  [inline, static]
static boolean Oc::valid_expr ( Symbol  )  [static]

Referenced by nrn_nvkludge_dummy().

static boolean Oc::valid_stmt ( const char *  ,
Object *  ob = nil 
) [static]

Referenced by nrn_nvkludge_dummy().


Member Data Documentation

HandleStdin* Oc::handleStdin_ [static, private]

Referenced by getStdinSeen(), and setStdinSeen().

Cursor* Oc::help_cursor_ [static, private]

Referenced by cleanup().

boolean Oc::helpmode_ [static, private]

Referenced by helpmode().

Observable* Oc::notify_change_ [static, private]
int Oc::refcnt_ [static, private]
ostream* Oc::save_stream [static]
Session* Oc::session_ [static, private]

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