On May 28, 2011, at 10:14 PM, David García Garzón wrote:

> Look twice. Processing::GetConfig() really exists. It returns a const 
> reference 
> to the base class you can then DeepCopy. Not sure how to get a default 
> constructed one. I thought we had an Species() like method like we have for 
> enums. We might need to add it.

Yep, sorry. Don't know how it escaped me, I'm even using it in another function.

Another thing, I'm implementing now error checking on the network proxy and I 
wanted
to use the errors clam gives but all of them are assert, which can't be catched.

So, for example, when choosing for a new processing a name that is already 
taken the
only solution I can think of is search the processing list for the name and:
a) If it exists, throw exception
b) If it doesn't, add the processing
Is this the only way? Should we implement throwing exceptions in clam?
_______________________________________________
clam-devel mailing list
clam-devel@lists.clam-project.org
http://lists.clam-project.org/listinfo.cgi/clam-devel-clam-project.org

Reply via email to