void registerFun(const Neuron::nf fun, const string &name)

This function registers a name for a function, to help storing functions into streams. This function must be called for each pointer-name pair before calling getName() or getFun().