[vtk-developers] Another 'major' change in vtkSetGet
Andy Cedilnik
Andy.Cedilnik at kitware.com
Fri Feb 8 10:57:10 EST 2002
>Sure, there'll still be special cases. But there would be fewer. And fewer
>special cases means fewer
>things to fix if there should ever come a time when it is decided that the
>implementation of the
>SetGet macros needs to change, for whatever reason. The macros do more
>than provide convenience: they
>ensure consistency.
I agree with this.
vtkSetObjectMacro makes sense because it eliminates repetition of the
code and therefore higher consistency. vtkSet*BodyMacro does exactly
that on the next level.
Andy
More information about the vtk-developers
mailing list