23 #ifndef NUMERICDATUM_H
24 #define NUMERICDATUM_H
39 template<
class D, SLIType *slt>
65 void pprint(std::ostream &)
const;
68 static void *
operator new(
size_t size)
71 return ::operator
new(size);
75 static void operator delete(
void *
p,
size_t size)
size_t size_of(void) const
Definition: allocator.h:128
Definition: genericdatum.h:35
void input_form(std::ostream &) const
Definition: numericdatum_impl.h:29
virtual ~NumericDatum()
Definition: numericdatum.h:56
Datum * clone(void) const
Virtual copy constructor.
Definition: numericdatum.h:47
sli::pool memory
Definition: doubledatum.h:48
void pprint(std::ostream &) const
Definition: numericdatum_impl.h:35
D d
Definition: genericdatum.h:44
static sli::pool memory
Definition: numericdatum.h:43
NumericDatum(const D &d_s)
Definition: numericdatum.h:55
NumericDatum()
Definition: numericdatum.h:54
void * alloc(void)
allocate one element
Definition: allocator.h:137
void free(void *p)
put element back into the pool
Definition: allocator.h:155
Definition: numericdatum.h:40
pool is a specialized allocator class for many identical small objects.
Definition: allocator.h:50
const Name p("p")
current release probability (Tsodyks2_connection)
Definition: nest_names.h:218