NEURON
secref.cpp File Reference
#include <../../nrnconf.h>
#include <stdlib.h>
#include "section.h"
#include "parse.hpp"
#include "classreg.h"
#include "code.h"
#include "oc_ansi.h"

Go to the source code of this file.

Functions

static hoc_Item ** sec2pitm (Section *sec)
 
static void * cons (Object *ho)
 
static void destruct (void *v)
 
static double s_unname (void *v)
 
static double s_rename (void *v)
 
int nrn_secref_nchild (Section *sec)
 
static double s_nchild (void *v)
 
static double s_has_parent (void *v)
 
static double s_has_trueparent (void *v)
 
static double s_exists (void *v)
 
static double s_cas (void *v)
 
Sectionnrn_sectionref_steer (Section *sec, Symbol *sym, int *pnindex)
 
void SectionRef_reg (void)
 

Variables

Symbolnrn_sec_sym
 
Symbolnrn_parent_sym
 
Symbolnrn_root_sym
 
Symbolnrn_child_sym
 
Symbolnrn_trueparent_sym
 
static Member_func members []
 

Function Documentation

◆ cons()

static void* cons ( Object ho)
static

Definition at line 44 of file secref.cpp.

◆ destruct()

static void destruct ( void *  v)
static

Definition at line 50 of file secref.cpp.

◆ nrn_secref_nchild()

int nrn_secref_nchild ( Section sec)

Definition at line 234 of file secref.cpp.

◆ nrn_sectionref_steer()

Section* nrn_sectionref_steer ( Section sec,
Symbol sym,
int *  pnindex 
)

Definition at line 301 of file secref.cpp.

◆ s_cas()

static double s_cas ( void *  v)
static

Definition at line 274 of file secref.cpp.

◆ s_exists()

static double s_exists ( void *  v)
static

Definition at line 268 of file secref.cpp.

◆ s_has_parent()

static double s_has_parent ( void *  v)
static

Definition at line 250 of file secref.cpp.

◆ s_has_trueparent()

static double s_has_trueparent ( void *  v)
static

Definition at line 259 of file secref.cpp.

◆ s_nchild()

static double s_nchild ( void *  v)
static

Definition at line 245 of file secref.cpp.

◆ s_rename()

static double s_rename ( void *  v)
static

Definition at line 88 of file secref.cpp.

◆ s_unname()

static double s_unname ( void *  v)
static

Definition at line 63 of file secref.cpp.

◆ sec2pitm()

static hoc_Item** sec2pitm ( Section sec)
static

Definition at line 28 of file secref.cpp.

◆ SectionRef_reg()

void SectionRef_reg ( void  )

Definition at line 363 of file secref.cpp.

Variable Documentation

◆ members

Member_func members[]
static
Initial value:
= {{"sec", s_rename},
{"parent", s_rename},
{"trueparent", s_rename},
{"root", s_rename},
{"child", s_rename},
{"nchild", s_nchild},
{"has_parent", s_has_parent},
{"has_trueparent", s_has_trueparent},
{"exists", s_exists},
{"rename", s_rename},
{"unname", s_unname},
{"is_cas", s_cas},
{nullptr, nullptr}}
static double s_has_parent(void *v)
Definition: secref.cpp:250
static double s_has_trueparent(void *v)
Definition: secref.cpp:259
static double s_unname(void *v)
Definition: secref.cpp:63
static double s_rename(void *v)
Definition: secref.cpp:88
static double s_nchild(void *v)
Definition: secref.cpp:245
static double s_exists(void *v)
Definition: secref.cpp:268
static double s_cas(void *v)
Definition: secref.cpp:274

Definition at line 287 of file secref.cpp.

◆ nrn_child_sym

Symbol * nrn_child_sym

Definition at line 25 of file secref.cpp.

◆ nrn_parent_sym

Symbol * nrn_parent_sym

Definition at line 25 of file secref.cpp.

◆ nrn_root_sym

Symbol * nrn_root_sym

Definition at line 25 of file secref.cpp.

◆ nrn_sec_sym

Symbol* nrn_sec_sym

Definition at line 25 of file secref.cpp.

◆ nrn_trueparent_sym

Symbol* nrn_trueparent_sym

Definition at line 26 of file secref.cpp.