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