NEURON
strfun.cpp File Reference
#include <../../nrnconf.h>
#include <OS/string.h>
#include <InterViews/regexp.h>
#include <stdio.h>
#include <stdlib.h>
#include "classreg.h"
#include "oc2iv.h"
#include <symdir.h>
#include <oclist.h>
#include <parse.hpp>
#include <hoclist.h>

Go to the source code of this file.

Functions

int nrn_is_artificial (int)
 
unsigned long key_to_hash (String &s)
 
 implementTable (SymbolTable, String, Symbol *) static double l_substr(void *)
 
static double l_len (void *)
 
static double l_head (void *)
 
static double l_tail (void *)
 
static double l_left (void *)
 
static double l_right (void *)
 
static double l_is_name (void *)
 
void hoc_free_symspace (Symbol *)
 
Objecthoc_newobj1 (Symbol *, int)
 
Symbolivoc_alias_lookup (const char *name, Object *ob)
 
void ivoc_free_alias (Object *ob)
 
static double l_alias (void *)
 
static Object ** l_alias_list (void *)
 
static int l_ref2 (Object *o, Object *ob, int nr)
 
static int l_ref1 (Symlist *sl, Objectdata *data, Object *ob, int nr)
 
static int l_ref0 (Symlist *sl, Object *ob, int nr)
 
static int l_ref3 (Symbol *s, Object *ob, int nr)
 
static int l_ref4 (Symbol *s, Object *ob, int nr)
 
static double l_ref (void *)
 
static double l_is_point (void *)
 
static double l_is_artificial (void *)
 
static voidl_cons (Object *)
 
static void l_destruct (void *)
 
void StringFunctions_reg ()
 

Variables

Objectdatahoc_top_level_data
 
Symlisthoc_built_in_symlist
 
int hoc_return_type_code
 
Symlisthoc_top_level_symlist
 
static Member_func l_members []
 
static Member_ret_obj_func l_obj_members []
 

Function Documentation

◆ hoc_free_symspace()

void hoc_free_symspace ( Symbol )

Definition at line 273 of file symbol.cpp.

◆ hoc_newobj1()

Object* hoc_newobj1 ( Symbol ,
int   
)

Definition at line 576 of file hoc_oop.cpp.

◆ implementTable()

implementTable ( SymbolTable  ,
String  ,
Symbol  
)

Definition at line 25 of file strfun.cpp.

◆ key_to_hash()

unsigned long key_to_hash ( String s)
inline

Definition at line 24 of file strfun.cpp.

◆ l_alias()

static double l_alias ( void )
static

Definition at line 117 of file strfun.cpp.

◆ l_alias_list()

static Object** l_alias_list ( void )
static

Definition at line 149 of file strfun.cpp.

◆ l_cons()

static void* l_cons ( Object )
static

Definition at line 324 of file strfun.cpp.

◆ l_destruct()

static void l_destruct ( void )
static

Definition at line 328 of file strfun.cpp.

◆ l_head()

static double l_head ( void )
static

Definition at line 44 of file strfun.cpp.

◆ l_is_artificial()

static double l_is_artificial ( void )
static

Definition at line 296 of file strfun.cpp.

◆ l_is_name()

static double l_is_name ( void )
static

Definition at line 93 of file strfun.cpp.

◆ l_is_point()

static double l_is_point ( void )
static

Definition at line 290 of file strfun.cpp.

◆ l_left()

static double l_left ( void )
static

Definition at line 79 of file strfun.cpp.

◆ l_len()

static double l_len ( void )
static

Definition at line 39 of file strfun.cpp.

◆ l_ref()

static double l_ref ( void )
static

Definition at line 272 of file strfun.cpp.

◆ l_ref0()

static int l_ref0 ( Symlist sl,
Object ob,
int  nr 
)
static

Definition at line 226 of file strfun.cpp.

◆ l_ref1()

static int l_ref1 ( Symlist sl,
Objectdata data,
Object ob,
int  nr 
)
static

Definition at line 205 of file strfun.cpp.

◆ l_ref2()

static int l_ref2 ( Object o,
Object ob,
int  nr 
)
static

Definition at line 179 of file strfun.cpp.

◆ l_ref3()

static int l_ref3 ( Symbol s,
Object ob,
int  nr 
)
static

Definition at line 241 of file strfun.cpp.

◆ l_ref4()

static int l_ref4 ( Symbol s,
Object ob,
int  nr 
)
static

Definition at line 257 of file strfun.cpp.

◆ l_right()

static double l_right ( void )
static

Definition at line 86 of file strfun.cpp.

◆ l_tail()

static double l_tail ( void )
static

Definition at line 64 of file strfun.cpp.

◆ nrn_is_artificial()

int nrn_is_artificial ( int  )

Definition at line 239 of file init.cpp.

◆ StringFunctions_reg()

void StringFunctions_reg ( )

Definition at line 331 of file strfun.cpp.

Variable Documentation

◆ hoc_built_in_symlist

Symlist* hoc_built_in_symlist

Definition at line 39 of file symbol.cpp.

◆ hoc_return_type_code

int hoc_return_type_code

Definition at line 41 of file code.cpp.

◆ hoc_top_level_data

Objectdata* hoc_top_level_data

Definition at line 134 of file hoc_oop.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:
= {
"substr", l_substr,
"len", l_len,
"head", l_head,
"tail", l_tail,
"right", l_right,
"left", l_left,
"is_name", l_is_name,
"alias", l_alias,
"references", l_ref,
"is_point_process", l_is_point,
"is_artificial", l_is_artificial,
0,0
}
static double l_head(void *)
Definition: strfun.cpp:44
static double l_alias(void *)
Definition: strfun.cpp:117
static double l_is_artificial(void *)
Definition: strfun.cpp:296
static double l_is_point(void *)
Definition: strfun.cpp:290
static double l_tail(void *)
Definition: strfun.cpp:64
static double l_ref(void *)
Definition: strfun.cpp:272
static double l_right(void *)
Definition: strfun.cpp:86
static double l_len(void *)
Definition: strfun.cpp:39
static double l_is_name(void *)
Definition: strfun.cpp:93
static double l_left(void *)
Definition: strfun.cpp:79

Definition at line 304 of file strfun.cpp.

◆ l_obj_members

Member_ret_obj_func l_obj_members[]
static
Initial value:
= {
"alias_list", l_alias_list,
0,0
}
static Object ** l_alias_list(void *)
Definition: strfun.cpp:149

Definition at line 319 of file strfun.cpp.