Changeset b02d091
- Timestamp:
- 09/25/17 16:16:59 (7 years ago)
- Branches:
- master, pympi
- Children:
- 9796d0a
- Parents:
- 5d57155
- git-author:
- Hal Finkel <hfinkel@…> (09/25/17 16:16:59)
- git-committer:
- Hal Finkel <hfinkel@…> (09/25/17 16:16:59)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GenericIOPrint.cxx
r5d57155 rb02d091 276 276 cout << endl; 277 277 278 cout << "# "; 279 for (size_t i = 0; i < VI.size(); ++i) { 280 if (VI[i].Size == VI[i].ElementSize) { 281 cout << "(" << (VI[i].IsFloat ? "f" : 282 (VI[i].IsSigned ? "s" : "u")) << 8*VI[i].Size << ")"; 283 } else { 284 size_t NumElements = VI[i].Size/VI[i].ElementSize; 285 for (size_t j = 0; j < NumElements; ++j) { 286 cout << "(" << (VI[i].IsFloat ? "f" : 287 (VI[i].IsSigned ? "s" : "u")) << 288 8*VI[i].ElementSize << ")"; 289 290 if (j != NumElements - 1) 291 cout << "\t"; 292 } 293 } 294 295 if (i != VI.size() - 1) 296 cout << "\t"; 297 } 298 cout << endl; 299 278 300 for (int i = 0; i < NR; ++i) { 279 301 size_t NElem = GIO.readNumElems(i);
Note: See TracChangeset
for help on using the changeset viewer.