NEURON
oclist.cpp File Reference
#include <../../nrnconf.h>
#include <stdio.h>
#include <OS/string.h>
#include "classreg.h"
#include "oclist.h"
#include "oc2iv.h"
#include "hoclist.h"
#include "ocobserv.h"
#include "oc_ansi.h"
#include "gui-redirect.h"
#include "parse.hpp"

Go to the source code of this file.

Classes

class  OcListBrowser
 

Functions

Object ** hoc_temp_objptr (Object *)
 
int ivoc_list_count (Object *)
 
void handle_old_focus ()
 
static void chk_list (Object *o)
 
static double l_append (void *v)
 
static double l_prepend (void *v)
 
static double l_insert (void *v)
 
static double l_count (void *v)
 
static double l_remove (void *v)
 
static double l_index (void *v)
 
static Object ** l_object (void *v)
 
static double l_remove_all (void *v)
 
static double l_browser (void *v)
 
static double l_select (void *v)
 
static double l_select_action (void *v)
 
static double l_selected (void *v)
 
static double l_accept_action (void *v)
 
static double l_scroll_pos (void *v)
 
static voidl_cons (Object *)
 
Objectivoc_list_item (Object *olist, int i)
 
static void l_destruct (void *v)
 
static int l_chkpt (void **vp)
 
void OcList_reg ()
 
bool hoc_objectpath_impl (Object *ob, Object *oblook, char *path, int depth)
 
void hoc_path_prepend (char *, const char *, const char *)
 
int ivoc_list_look (Object *ob, Object *oblook, char *path, int)
 

Variables

Symlisthoc_top_level_symlist
 
Object **(* nrnpy_gui_helper_ )(const char *name, Object *obj)
 
double(* nrnpy_object_to_double_ )(Object *)
 
int hoc_return_type_code
 
static Symbollist_class_sym_
 
static Member_func l_members []
 
static Member_ret_obj_func l_retobj_members []
 

Function Documentation

◆ chk_list()

static void chk_list ( Object o)
static

Definition at line 81 of file oclist.cpp.

◆ handle_old_focus()

void handle_old_focus ( )

◆ hoc_objectpath_impl()

bool hoc_objectpath_impl ( Object ob,
Object oblook,
char *  path,
int  depth 
)

◆ hoc_path_prepend()

void hoc_path_prepend ( char *  ,
const char *  ,
const char *   
)

◆ hoc_temp_objptr()

Object** hoc_temp_objptr ( Object obj)

Definition at line 216 of file code.cpp.

◆ l_accept_action()

static double l_accept_action ( void v)
static

Definition at line 334 of file oclist.cpp.

◆ l_append()

static double l_append ( void v)
static

Definition at line 87 of file oclist.cpp.

◆ l_browser()

static double l_browser ( void v)
static

Definition at line 253 of file oclist.cpp.

◆ l_chkpt()

static int l_chkpt ( void **  vp)
static

Definition at line 466 of file oclist.cpp.

◆ l_cons()

static void* l_cons ( Object )
static

Definition at line 393 of file oclist.cpp.

◆ l_count()

static double l_count ( void v)
static

Definition at line 182 of file oclist.cpp.

◆ l_destruct()

static void l_destruct ( void v)
static

Definition at line 448 of file oclist.cpp.

◆ l_index()

static double l_index ( void v)
static

Definition at line 211 of file oclist.cpp.

◆ l_insert()

static double l_insert ( void v)
static

Definition at line 163 of file oclist.cpp.

◆ l_object()

static Object** l_object ( void v)
static

Definition at line 226 of file oclist.cpp.

◆ l_prepend()

static double l_prepend ( void v)
static

Definition at line 145 of file oclist.cpp.

◆ l_remove()

static double l_remove ( void v)
static

Definition at line 191 of file oclist.cpp.

◆ l_remove_all()

static double l_remove_all ( void v)
static

Definition at line 235 of file oclist.cpp.

◆ l_scroll_pos()

static double l_scroll_pos ( void v)
static

Definition at line 351 of file oclist.cpp.

◆ l_select()

static double l_select ( void v)
static

Definition at line 283 of file oclist.cpp.

◆ l_select_action()

static double l_select_action ( void v)
static

Definition at line 296 of file oclist.cpp.

◆ l_selected()

static double l_selected ( void v)
static

Definition at line 316 of file oclist.cpp.

◆ OcList_reg()

void OcList_reg ( )

Definition at line 495 of file oclist.cpp.

Variable Documentation

◆ hoc_return_type_code

int hoc_return_type_code
extern

Definition at line 42 of file code.cpp.

◆ hoc_top_level_symlist

Symlist* hoc_top_level_symlist
extern

Definition at line 23 of file symdir.cpp.

◆ l_members

Member_func l_members[]
static
Initial value:
= {{"append", l_append},
{"prepend", l_prepend},
{"insrt", l_insert},
{"remove", l_remove},
{"remove_all", l_remove_all},
{"index", l_index},
{"count", l_count},
{"browser", l_browser},
{"selected", l_selected},
{"select", l_select},
{"select_action", l_select_action},
{"accept_action", l_accept_action},
{"scroll_pos", l_scroll_pos},
{nullptr, nullptr}}
static double l_append(void *v)
Definition: oclist.cpp:87
static double l_accept_action(void *v)
Definition: oclist.cpp:334
static double l_remove_all(void *v)
Definition: oclist.cpp:235
static double l_count(void *v)
Definition: oclist.cpp:182
static double l_insert(void *v)
Definition: oclist.cpp:163
static double l_select(void *v)
Definition: oclist.cpp:283
static double l_selected(void *v)
Definition: oclist.cpp:316
static double l_prepend(void *v)
Definition: oclist.cpp:145
static double l_index(void *v)
Definition: oclist.cpp:211
static double l_select_action(void *v)
Definition: oclist.cpp:296
static double l_remove(void *v)
Definition: oclist.cpp:191
static double l_scroll_pos(void *v)
Definition: oclist.cpp:351
static double l_browser(void *v)
Definition: oclist.cpp:253

Definition at line 374 of file oclist.cpp.

◆ l_retobj_members

Member_ret_obj_func l_retobj_members[]
static
Initial value:
= {{"object", l_object},
{"o", l_object},
{nullptr, nullptr}}
static Object ** l_object(void *v)
Definition: oclist.cpp:226

Definition at line 389 of file oclist.cpp.

◆ list_class_sym_

Symbol* list_class_sym_
static

Definition at line 80 of file oclist.cpp.

◆ nrnpy_gui_helper_

Object**(* nrnpy_gui_helper_) (const char *name, Object *obj) ( const char *  name,
Object obj 
)
extern

Definition at line 13 of file xmenu.cpp.

◆ nrnpy_object_to_double_

double(* nrnpy_object_to_double_) (Object *) ( Object )
extern

Definition at line 14 of file xmenu.cpp.