Namespaces and ClassDef ClassImp

From: Marc de Kamps <dekamps_at_comp.leeds.ac.uk>
Date: Thu, 10 Jan 2008 11:14:48 -0000


Dear Rooters,  

What is the correct syntax for using serializing classes which are in a namespace? E.g. the class Bla needs to be serialized:  

namespace UselessLib {

    class Bla {

     };

}  

Do I include :

ClassDef(UselessLib::Bla,1) before the namespace, in the namespace or do I use

ClassDef(Bla,1) in the namespace. How about ClasImp?  

Thanks,

Marc

-

Dr. Marc de Kamps

Biosystems Group

School of Computing

University of Leeds

LS29JT, Leeds, UK  

dekamps_at_comp.leeds.ac.uk

http:/www.comp.leeds.ac.uk/dekamps   Received on Thu Jan 10 2008 - 12:14:53 CET

This archive was generated by hypermail 2.2.0 : Thu Jan 10 2008 - 17:50:01 CET