[Insight-developers] this->GetClassName() in DebugMacro ??
Luis Ibanez
ibanez at cs.unc.edu
Sat Sep 16 16:56:10 EDT 2000
Hi,
I'm getting some complains from the compiler
concerning the absence of the method
GetClassName()
in itkFilterImageGaussian class.
Seems that "GetMacro" in its "DebugMacro"
expects that all the Insight classes should
have a GetClassName() static method.
Nevertheless, among the classes in the repository only
- itkIndent
- itkLightObject
- itkExceptionObject
have such a method.
Is this something that we should declare for each class ?
Why only some of them have it ?
It is not redundant to have a GetClassName method, when
the Run Time Type Information is available ?
Thanks
Luis
More information about the Insight-developers
mailing list