CppTrader 1.0.5.0
C++ Trader
Loading...
Searching...
No Matches
update.inl
Go to the documentation of this file.
1
9namespace CppTrader {
10namespace Matching {
11
12template <class TOutputStream>
13inline TOutputStream& operator<<(TOutputStream& stream, UpdateType type)
14{
15 switch (type)
16 {
18 stream << "NONE";
19 break;
20 case UpdateType::ADD:
21 stream << "ADD";
22 break;
24 stream << "UPDATE";
25 break;
27 stream << "DELETE";
28 break;
29 default:
30 stream << "<unknown>";
31 break;
32 }
33 return stream;
34}
35
36} // namespace Matching
37} // namespace CppTrader
TOutputStream & operator<<(TOutputStream &stream, ErrorCode error)
Definition errors.inl:13
UpdateType
Update type.
Definition update.h:21
C++ Trader project definitions.
Definition errors.h:16