Dear all
I think it would be easier to make name() a pure virtual …
So the compiler makes sure we provide a name ;-)
Switch/case is really against OO… I think Packet::fromRawData is fin as it is a factory ( we should think for a better name though for this method … )
What do you all think?
— cheers atul
