NEURON
cxprop.cpp File Reference
#include "arraypool.h"
#include "hocdec.h"
#include "section.h"
#include "structpool.h"
#include "../neuron/model_data.hpp"
#include <memory>
#include <vector>

Go to the source code of this file.

Typedefs

using CharArrayPool = ArrayPool< char >
 
using DatumArrayPool = ArrayPool< Datum >
 
using SectionPool = Pool< Section >
 

Functions

static auto & datumpools ()
 
void nrn_mk_prop_pools (int n)
 
Datumnrn_prop_datum_alloc (int type, int count, Prop *p)
 
int nrn_mechanism_prop_datum_count (int type)
 
void nrn_prop_datum_free (int type, Datum *ppd)
 
void nrn_delete_mechanism_prop_datum (int type)
 
Sectionnrn_section_alloc ()
 
void nrn_section_free (Section *s)
 
int nrn_is_valid_section_ptr (void *v)
 
void nrn_poolshrink (int shrink)
 
void * nrn_pool_create (long count, int itemsize)
 
void nrn_pool_delete (void *pool)
 
void * nrn_pool_alloc (void *pool)
 
void nrn_pool_free (void *pool, void *item)
 
void nrn_pool_freeall (void *pool)
 

Variables

static SectionPoolsecpool_
 

Typedef Documentation

◆ CharArrayPool

using CharArrayPool = ArrayPool<char>

Definition at line 13 of file cxprop.cpp.

◆ DatumArrayPool

Definition at line 14 of file cxprop.cpp.

◆ SectionPool

Definition at line 15 of file cxprop.cpp.

Function Documentation

◆ datumpools()

static auto& datumpools ( )
static

Definition at line 22 of file cxprop.cpp.

◆ nrn_delete_mechanism_prop_datum()

void nrn_delete_mechanism_prop_datum ( int  type)

Definition at line 70 of file cxprop.cpp.

◆ nrn_is_valid_section_ptr()

int nrn_is_valid_section_ptr ( void *  v)

Definition at line 101 of file cxprop.cpp.

◆ nrn_mechanism_prop_datum_count()

int nrn_mechanism_prop_datum_count ( int  type)

Definition at line 47 of file cxprop.cpp.

◆ nrn_mk_prop_pools()

void nrn_mk_prop_pools ( int  n)

Definition at line 27 of file cxprop.cpp.

◆ nrn_pool_alloc()

void* nrn_pool_alloc ( void *  pool)

Definition at line 139 of file cxprop.cpp.

◆ nrn_pool_create()

void* nrn_pool_create ( long  count,
int  itemsize 
)

Definition at line 133 of file cxprop.cpp.

◆ nrn_pool_delete()

void nrn_pool_delete ( void *  pool)

Definition at line 136 of file cxprop.cpp.

◆ nrn_pool_free()

void nrn_pool_free ( void *  pool,
void *  item 
)

Definition at line 142 of file cxprop.cpp.

◆ nrn_pool_freeall()

void nrn_pool_freeall ( void *  pool)

Definition at line 145 of file cxprop.cpp.

◆ nrn_poolshrink()

void nrn_poolshrink ( int  shrink)

Definition at line 108 of file cxprop.cpp.

◆ nrn_prop_datum_alloc()

Datum* nrn_prop_datum_alloc ( int  type,
int  count,
Prop p 
)

Definition at line 33 of file cxprop.cpp.

◆ nrn_prop_datum_free()

void nrn_prop_datum_free ( int  type,
Datum ppd 
)

Definition at line 54 of file cxprop.cpp.

◆ nrn_section_alloc()

Section* nrn_section_alloc ( )

Definition at line 85 of file cxprop.cpp.

◆ nrn_section_free()

void nrn_section_free ( Section s)

Definition at line 95 of file cxprop.cpp.

Variable Documentation

◆ secpool_

SectionPool* secpool_
static

Definition at line 17 of file cxprop.cpp.