Zserio C++ runtime library  1.2.0
Built for Zserio 2.16.0
ZserioTreeCreator.cpp
Go to the documentation of this file.
2 
3 namespace zserio
4 {
5 
6 CppRuntimeException& operator<<(CppRuntimeException& exception, detail::CreatorState state)
7 {
8  switch (state)
9  {
10  case detail::CreatorState::BEFORE_ROOT:
11  return exception << "BEFORE_ROOT";
12  case detail::CreatorState::IN_COMPOUND:
13  return exception << "IN_COMPOUND";
14  default: // detail::CreatorState::IN_ARRAY
15  return exception << "IN_ARRAY";
16  }
17 }
18 
19 } // namespace zserio
CppRuntimeException & operator<<(CppRuntimeException &exception, const BasicBitBuffer< ALLOC > &bitBuffer)
Definition: BitBuffer.h:455