| 68 | } |
| 69 | |
| 70 | void vtkTextCodec::ToUnicode(istream& inputStream, vtkTextCodec::OutputIterator& output) |
| 71 | { |
| 72 | try |
| 73 | { |
| 74 | while (!inputStream.eof()) |
| 75 | { |
| 76 | const vtkTypeUInt32 CodePoint = NextUTF32CodePoint(inputStream); |
| 77 | *output++ = CodePoint; |
| 78 | } |
| 79 | } |
| 80 | catch (...) |
| 81 | { |
| 82 | if (!inputStream.eof()) |
| 83 | { |
| 84 | throw; |
| 85 | } |
| 86 | } |
| 87 | } |
| 88 | |
| 89 | vtkTextCodec::~vtkTextCodec() = default; |
| 90 |
no test coverage detected