blob: 1405b466dbbcd000c9020d8c0443220d164aa18c [file] [log] [blame]
Tomáš Pecka74b885f2020-06-06 20:02:41 +02001#include "State.h"
2
3namespace velia {
4
5std::ostream& operator<<(std::ostream& os, State state)
6{
7 os << "State::";
8 switch (state) {
9 case State::ERROR:
10 os << "ERROR";
11 break;
12 case State::WARNING:
13 os << "WARNING";
14 break;
15 case State::OK:
16 os << "OK";
17 break;
18 }
19
20 return os;
21}
22
23}