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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144
|
itk_wrap_module("ITKPyBase" Python)
set(WRAPPER_LIBRARY_DEPENDS)
set(WRAPPER_LIBRARY_LINK_LIBRARIES)
set(WRAPPER_LIBRARY_SWIG_INPUTS "${CMAKE_CURRENT_SOURCE_DIR}/pyBase.i")
add_python_config_template(
"cerr"
"std::cerr"
"cerr"
"")
add_python_config_template(
"cin"
"std::cin"
"cin"
"")
add_python_config_template(
"clog"
"std::clog"
"clog"
"")
add_python_config_template(
"cout"
"std::cout"
"cout"
"")
add_python_config_template(
"cvar"
"std::cvar"
"cvar"
"")
add_python_config_template(
"endl"
"std::endl"
"endl"
"")
add_python_config_template(
"ends"
"std::ends"
"ends"
"")
add_python_config_template(
"flush"
"std::flush"
"flush"
"")
add_python_config_template(
"ios"
"std::ios"
"ios"
"")
add_python_config_template(
"ios_base"
"std::ios_base"
"ios_base"
"")
add_python_config_template(
"iostream"
"std::iostream"
"iostream"
"")
add_python_config_template(
"istream"
"std::istream"
"istream"
"")
# ADD_PYTHON_CONFIG_TEMPLATE("istringstream" "std::istringstream" "istringstream" "")
add_python_config_template(
"ostream"
"std::ostream"
"ostream"
"")
# ADD_PYTHON_CONFIG_TEMPLATE("ostringstream" "std::ostringstream" "ostringstream" "")
# ADD_PYTHON_CONFIG_TEMPLATE("streambuf" "std::streambuf" "streambuf" "")
add_python_config_template(
"string"
"std::string"
"str"
"")
# ADD_PYTHON_CONFIG_TEMPLATE("stringstream" "std::stringstream" "stringstream" "")
foreach(
t
B
UC
US
UL
SC
SS
SL
F
D)
add_python_config_template(
"map"
"std::map"
"map${t}${t}"
"${ITKT_${t}}, ${ITKT_${t}}")
add_python_config_template(
"list"
"std::list"
"list${t}"
"${ITKT_${t}}")
add_python_config_template(
"set"
"std::set"
"set${t}"
"${ITKT_${t}}")
add_python_config_template(
"vector"
"std::vector"
"vector${t}"
"${ITKT_${t}}")
add_python_config_template(
"vector"
"std::vector"
"vectorvector${t}"
"std::vector< ${ITKT_${t}} >")
endforeach()
foreach(t ULL SLL)
add_python_config_template(
"set"
"std::set"
"set${t}"
"${ITKT_${t}}")
endforeach()
add_python_config_template(
"map"
"std::map"
"mapULD"
"unsigned long, double")
add_python_config_template(
"vector"
"std::vector"
"vectorsetUL"
"std::set< unsigned long >")
add_python_config_template(
"map"
"std::map"
"mapsetUL"
"unsigned long, std::set< unsigned long >")
itk_end_wrap_module()
|