23 #ifndef TYPEDFUNCTIONDATUM_H
24 #define TYPEDFUNCTIONDATUM_H
64 void print(std::ostream& o)
const
66 o <<
'+' <<
name <<
'+';
74 void info(std::ostream &out)
const
77 out <<
"\nVariants are:" << std::endl;
108 static void *
operator new(
size_t size)
111 return ::operator
new(size);
115 static void operator delete(
void *
p,
size_t size)
121 ::operator
delete(
p);
size_t size_of(void) const
Definition: allocator.h:128
void set_executable()
Definition: datum.h:113
const Name & getname(void) const
Definition: triedatum.h:83
TypeTrie tree
Definition: triedatum.h:38
Definition: tokenstack.h:38
TrieDatum(Name const &n)
Definition: triedatum.h:57
Represent strings by ints to facilitate fast comparison.
Definition: name.h:53
Definition: tokenarray.h:62
void addReference() const
Definition: datum.h:91
const Name a("a")
Specific to Brette & Gerstner 2005 (aeif_cond-*)
Definition: nest_names.h:41
void print(std::ostream &o) const
Definition: triedatum.h:64
Name name
Definition: triedatum.h:37
const Token & lookup(const TokenStack &st) const
Definition: typechk.h:178
Definition: interpret.h:69
void * alloc(void)
allocate one element
Definition: allocator.h:137
Definition: triedatum.h:32
void free(void *p)
put element back into the pool
Definition: allocator.h:155
const Token & lookup(const TokenStack &s) const
Definition: triedatum.h:98
TrieDatum(Name const &n, const TokenArray &ta)
Definition: triedatum.h:60
Datum * get_ptr()
Returns a reference counted pointer to the datum, or a new pointer, if the type does not support refe...
Definition: triedatum.h:45
void info(std::ostream &) const
Definition: typechk.cc:276
const Name n("n")
Number of synaptic release sites (int >=0) (Tsodyks2_connection)
Definition: nest_names.h:202
void insert_move(const TypeArray &, Token &)
Definition: typechk.cc:201
void insert(const TypeArray &a, const Token &t)
Definition: triedatum.h:88
pool is a specialized allocator class for many identical small objects.
Definition: allocator.h:50
void insert(const TypeArray &a, const Token &t)
Definition: typechk.h:142
bool equals(Datum const *) const
Definition: triedatum.cc:28
A type-independent container for C++-types.
Definition: token.h:68
static sli::pool memory
Definition: triedatum.h:35
std::vector< Name > TypeArray
Definition: typearray.h:30
Datum * clone(void) const
Virtual copy constructor.
Definition: triedatum.h:40
const Name p("p")
current release probability (Tsodyks2_connection)
Definition: nest_names.h:218
void insert_move(const TypeArray &a, Token &t)
Definition: triedatum.h:93
void info(std::ostream &out) const
Definition: triedatum.h:74
TrieDatum(TrieDatum const &fd)
Definition: triedatum.h:52
void pprint(std::ostream &o) const
Definition: triedatum.h:69