File: ExecuteInternalMethod.h.in

package info (click to toggle)
simpleitk 1.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 75,056 kB
  • sloc: cpp: 25,403; python: 3,060; sh: 1,131; ansic: 369; java: 260; cs: 215; makefile: 51; ruby: 47; tcl: 22
file content (15 lines) | stat: -rw-r--r-- 842 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
    private:

      /** Setup for member function dispatching */

      typedef $(if no_return_image then OUT="void" else OUT="Image" end) (Self::*MemberFunctionType)( $(include ImageParameters.in)$(include InputParametersInternal.in) );
      template <class TImageType> $(if no_return_image then OUT="void" else OUT="Image" end) ExecuteInternal ( $(include ImageParameters.in)$(include InputParametersInternal.in) );

$(if vector_pixel_types_by_component then
   if number_of_inputs > 1 then
      throw 'number_of_inputs must be 1 to use vector_pixel_types_by_component'
   end
OUT=[[
      /** Dispatched methods which calls ExecuteInteral on each component */
      template <class TImageType> ]] if no_return_image then OUT=OUT..[[void]] else OUT=OUT..[[Image]] end OUT=OUT..[[ ExecuteInternalVectorImage ( const Image& image );]]
end)