NEURON
oclist.cpp File Reference
#include <../../nrnconf.h>
#include <stdio.h>
#include <OS/list.h>
#include <OS/string.h>
#include "classreg.h"
#include "oclist.h"
#include "oc2iv.h"
#include "hoclist.h"
#include "ocobserv.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 *)
 
Objectivoc_list_item (Object *, int)
 
void handle_old_focus ()
 
 declarePtrList (OcListImpl, Object)
 
 implementPtrList (OcListImpl, Object)
 
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 *)
 
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 84 of file oclist.cpp.

◆ declarePtrList()

declarePtrList ( OcListImpl  ,
Object   
)

◆ 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 )

Definition at line 209 of file code.cpp.

◆ implementPtrList()

implementPtrList ( OcListImpl  ,
Object   
)

◆ ivoc_list_item()

Object * ivoc_list_item ( Object olist,
int  i 
)

Definition at line 419 of file oclist.cpp.

◆ l_accept_action()

static double l_accept_action ( void v)
static

Definition at line 337 of file oclist.cpp.

◆ l_append()

static double l_append ( void v)
static

Definition at line 90 of file oclist.cpp.

◆ l_browser()

static double l_browser ( void v)
static

Definition at line 256 of file oclist.cpp.

◆ l_chkpt()

static int l_chkpt ( void **  vp)
static

Definition at line 474 of file oclist.cpp.

◆ l_cons()

static void* l_cons ( Object )
static

Definition at line 399 of file oclist.cpp.

◆ l_count()

static double l_count ( void v)
static

Definition at line 184 of file oclist.cpp.

◆ l_destruct()

static void l_destruct ( void v)
static

Definition at line 455 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 166 of file oclist.cpp.

◆ l_object()

static Object** l_object ( void v)
static

Definition at line 227 of file oclist.cpp.

◆ l_prepend()

static double l_prepend ( void v)
static

Definition at line 149 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 236 of file oclist.cpp.

◆ l_scroll_pos()

static double l_scroll_pos ( void v)
static

Definition at line 354 of file oclist.cpp.

◆ l_select()

static double l_select ( void v)
static

Definition at line 286 of file oclist.cpp.

◆ l_select_action()

static double l_select_action ( void v)
static

Definition at line 299 of file oclist.cpp.

◆ l_selected()

static double l_selected ( void v)
static

Definition at line 319 of file oclist.cpp.

◆ OcList_reg()

void OcList_reg ( )

Definition at line 503 of file oclist.cpp.

Variable Documentation

◆ hoc_return_type_code

int hoc_return_type_code

Definition at line 41 of file code.cpp.

◆ hoc_top_level_symlist

Symlist* hoc_top_level_symlist

Definition at line 41 of file symbol.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,
0,0
}
static double l_remove(void *v)
Definition: oclist.cpp:191
static double l_prepend(void *v)
Definition: oclist.cpp:149
static double l_index(void *v)
Definition: oclist.cpp:211
static double l_count(void *v)
Definition: oclist.cpp:184
static double l_insert(void *v)
Definition: oclist.cpp:166
static double l_append(void *v)
Definition: oclist.cpp:90
static double l_select(void *v)
Definition: oclist.cpp:286
static double l_accept_action(void *v)
Definition: oclist.cpp:337
static double l_selected(void *v)
Definition: oclist.cpp:319
static double l_scroll_pos(void *v)
Definition: oclist.cpp:354
static double l_browser(void *v)
Definition: oclist.cpp:256
static double l_select_action(void *v)
Definition: oclist.cpp:299
static double l_remove_all(void *v)
Definition: oclist.cpp:236

Definition at line 376 of file oclist.cpp.

◆ l_retobj_members

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

Definition at line 393 of file oclist.cpp.

◆ list_class_sym_

Symbol* list_class_sym_
static

Definition at line 83 of file oclist.cpp.

◆ nrnpy_gui_helper_

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

Definition at line 13 of file xmenu.cpp.

◆ nrnpy_object_to_double_

double(* nrnpy_object_to_double_) (Object *)

Definition at line 14 of file xmenu.cpp.