[Insight-developers] itkSetMacro with STL types

Gutierrez, Luis luis.gutierrez at philips.com
Fri Sep 28 12:06:51 EDT 2012


Was this thread ever resolved? The last post I found was on 2011-Apr-15, and it didn't really resolve anything.

I'm a relative newbie with ITK, and I received some code written by an ex-employee who's not available to answer our questions. In his home-built algorithm (using ITK 3.17), he has a class, derived from itk::Object, in which he uses itkSetMacro for variables of type std::vector. As far as I can tell, he got around the compile errors related to << by setting the preprocessor flag NDEBUG instead of _DEBUG. That seems like an ugly hack to me, and I'm wondering what would be the preferred approach using ITK coding style guidelines.

Thanks in advance for your help.

--Luis

Luis F. Gutiérrez
Senior Member Research Staff
Interventional Guidance Technology
Philips Research North America

345 Scarborough Road
Briarcliff Manor, NY 10510
Tel: +1 914 945 6097
Fax: +1 914 945 6330
Cell: +1 201 927 6894


________________________________
The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-developers/attachments/20120928/3caa6607/attachment.htm>


More information about the Insight-developers mailing list