File: ExecuteMethodWithParameters.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 (27 lines) | stat: -rw-r--r-- 769 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
$(if members and #members > 0 then
OUT=[[


      /** Execute the filter on the input image$(if number_of_inputs == 2 then OUT='s'end) with the given parameters */
      ]]
  if no_return_image then
    OUT=OUT..[[void]]
  else
    OUT=OUT..[[Image]]
  end
  OUT=OUT..[[ Execute ( $(include ImageParameters.in)$(include InputParameters.in)$(include MemberParameters.in) );]]
end)$(if members and #members > 0 then
    if has_optional_inputs then
      no_optional=1
      OUT=OUT..[[

      ]]
      if no_return_image then
        OUT=OUT..[[void]]
      else
        OUT=OUT..[[Image]]
      end
      OUT=OUT..[[ Execute ( $(include ImageParameters.in)$(include InputParameters.in)$(include MemberParameters.in) );]]
  end
end)
$(if inputs then no_optional=nil end)