[Insight-developers] itkSuperclassTraitMacro

Johnson, Hans J hans-johnson at uiowa.edu
Wed Oct 5 07:46:00 EDT 2011


My vote is to remove it.


On 10/5/11 3:23 AM, "Gelas, Arnaud Joel Florent"
<Arnaud_Gelas at hms.harvard.edu> wrote:

>Hi all,
>
>I have just found out about this macro,
>
>/** Macro used to redefine a type from the superclass. */
>#define itkSuperclassTraitMacro(traitnameType) \
>typedef typename Superclass::traitnameType traitnameType;
>
>This macro is only used in 14 classes...
>
>We should either make use of this macro in most of itk classes, or in
>none of them for consistency purpose.
>
>Should we keep and use this macro throughout the toolkit? or get rid of
>it?
>
>btw: when using this macro you should not add an extra ';' it creates a
>justified doxygen warning...
>
>Thanks,
>Arnaud
>_______________________________________________
>Powered by www.kitware.com
>
>Visit other Kitware open-source projects at
>http://www.kitware.com/opensource/opensource.html
>
>Kitware offers ITK Training Courses, for more information visit:
>http://kitware.com/products/protraining.html
>
>Please keep messages on-topic and check the ITK FAQ at:
>http://www.itk.org/Wiki/ITK_FAQ
>
>Follow this link to subscribe/unsubscribe:
>http://www.itk.org/mailman/listinfo/insight-developers



________________________________
Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged.  If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited.  Please reply to the sender that you have received the message in error, then delete it.  Thank you.
________________________________


More information about the Insight-developers mailing list