Commit 8deb9fc
committed
ENH: Use a macro to print numeric traits values of objects
Use a macro to print numeric traits values of objects. Avoids
boilerplate code.
Printed instances found using the regex:
```
os << indent << "(.*): " << static_cast<typename NumericTraits<(.*)>::PrintType>(m_(.*)) << std::endl;
```
and substituted using itkPrintBooleanMacro\($3\, \$2\);.1 parent 06e75a4 commit 8deb9fc
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1271 | 1271 | | |
1272 | 1272 | | |
1273 | 1273 | | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
1274 | 1282 | | |
1275 | 1283 | | |
1276 | 1284 | | |
| |||
0 commit comments