Refactor of otbWrapperApplication.h
The purpose of this MR is to remove implementation code from the header file
- Move implementation of simple methods to the cxx
itkGetStringMacrowith simple methods with the same type signature
otbGetParameterImageMacroto the cxx
- Fix duplicated implementation of
Application::GetParameterImage(previously in !143 (closed))
Reduce OTB build time, see #1649.
Classes and files
M Modules/Wrappers/ApplicationEngine/include/otbWrapperApplication.h M Modules/Wrappers/ApplicationEngine/src/otbWrapperApplication.cxx
Does not affect tests.
itkSetStringMacro actually defines two methods:
virtual void Set##name (const char *_arg) and
virtual void Set##name (const std::string & _arg). I have only added the string version. Do we need to also keep the
const char* version?
The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement.
***Check before merging:*** - All discussions are resolved - At least 2