#include <ivoc.h>
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) |
Symbol * | parseExpr (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 HandleStdin * | handleStdin_ |
static boolean | helpmode_ |
static Cursor * | help_cursor_ |
static Observable * | notify_change_ |
Oc::Oc | ( | ) |
Oc::Oc | ( | Session * | , | |
char * | pname = nil , |
|||
char ** | env = nil | |||
) |
virtual Oc::~Oc | ( | ) | [virtual] |
void Oc::cleanup | ( | ) | [static] |
References help_cursor_.
static Session* Oc::getSession | ( | ) | [static] |
static int Oc::getStdinSeen | ( | ) | [inline, static] |
References handleStdin_, and HandleStdin::stdinSeen_.
static void Oc::help | ( | const char * | ) | [static] |
static Cursor* Oc::help_cursor | ( | ) | [static, private] |
static void Oc::helpmode | ( | Window * | ) | [static] |
const char* Oc::name | ( | Symbol * | ) |
void Oc::notify | ( | ) |
Referenced by HocCommand::exec_strret(), and HocCommand::execute().
void Oc::notify_attach | ( | Observer * | ) |
void Oc::notify_detach | ( | Observer * | ) |
void Oc::notify_pointer_disconnect | ( | Observer * | ) |
void Oc::notify_when_freed | ( | double * | p, | |
Observer * | ||||
) |
void Oc::notifyHocValue | ( | ) |
Referenced by ivocmain(), and MechanismType::menu().
double Oc::runExpr | ( | Symbol * | ) |
References handleStdin_, and HandleStdin::stdinSeen_.
Referenced by nrn_nvkludge_dummy().
static boolean Oc::valid_stmt | ( | const char * | , | |
Object * | ob = nil | |||
) | [static] |
Referenced by nrn_nvkludge_dummy().
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] |