CppTrader  1.0.4.0
C++ Trader
errors.h
Go to the documentation of this file.
1 
9 #ifndef CPPTRADER_MATCHING_ERRORS_H
10 #define CPPTRADER_MATCHING_ERRORS_H
11 
12 #include "utility/iostream.h"
13 
14 #include <cstdint>
15 
16 namespace CppTrader {
17 namespace Matching {
18 
20 enum class ErrorCode : uint8_t
21 {
22  OK,
33 };
34 
35 template <class TOutputStream>
36 TOutputStream& operator<<(TOutputStream& stream, ErrorCode error);
37 
38 } // namespace Matching
39 } // namespace CppTrader
40 
41 #include "errors.inl"
42 
43 #endif // CPPTRADER_MATCHING_ERRORS_H
Errors inline implementation.
ErrorCode
Error code.
Definition: errors.h:21
TOutputStream & operator<<(TOutputStream &stream, ErrorCode error)
Definition: errors.inl:13
C++ Trader project definitions.
Definition: errors.h:16