src/zserio/ZserioTreeCreator.cpp
Line | Count | Source (jump to first uncovered line) |
1 | | #include "zserio/ZserioTreeCreator.h" |
2 | | |
3 | | namespace zserio |
4 | | { |
5 | | |
6 | | CppRuntimeException& operator<<(CppRuntimeException& exception, detail::CreatorState state) |
7 | 42 | { |
8 | 42 | switch (state) |
9 | 42 | { |
10 | 12 | case detail::CreatorState::BEFORE_ROOT: |
11 | 12 | return exception << "BEFORE_ROOT"; |
12 | 16 | case detail::CreatorState::IN_COMPOUND: |
13 | 16 | return exception << "IN_COMPOUND"; |
14 | 14 | default: // detail::CreatorState::IN_ARRAY |
15 | 14 | return exception << "IN_ARRAY"; |
16 | 42 | } |
17 | 42 | } |
18 | | |
19 | | } // namespace zserio |