CppTrader
1.0.4.0
C++ Trader
include
trader
matching
symbol.h
Go to the documentation of this file.
1
9
#ifndef CPPTRADER_MATCHING_SYMBOL_H
10
#define CPPTRADER_MATCHING_SYMBOL_H
11
12
#include "utility/iostream.h"
13
14
#include <cstdint>
15
#include <cstring>
16
17
namespace
CppTrader
{
18
namespace
Matching {
19
21
struct
Symbol
22
{
24
uint32_t
Id
;
26
char
Name
[8];
27
28
Symbol
() noexcept = default;
29
Symbol
(uint32_t
id
, const
char
name[8]) noexcept;
30
Symbol
(const
Symbol
&) noexcept = default;
31
Symbol
(
Symbol
&&) noexcept = default;
32
~
Symbol
() noexcept = default;
33
34
Symbol
& operator=(const
Symbol
&) noexcept = default;
35
Symbol
& operator=(
Symbol
&&) noexcept = default;
36
37
template <class TOutputStream>
38
friend TOutputStream& operator<<(TOutputStream& stream, const
Symbol
& symbol);
39
};
40
41
}
// namespace Matching
42
}
// namespace CppTrader
43
44
#include "symbol.inl"
45
46
#endif
// CPPTRADER_MATCHING_SYMBOL_H
CppTrader
C++ Trader project definitions.
Definition:
errors.h:16
CppTrader::Matching::Symbol
Symbol.
Definition:
symbol.h:22
CppTrader::Matching::Symbol::Id
uint32_t Id
Symbol Id.
Definition:
symbol.h:24
CppTrader::Matching::Symbol::Symbol
Symbol() noexcept=default
CppTrader::Matching::Symbol::Name
char Name[8]
Symbol name.
Definition:
symbol.h:26
Generated by
1.9.1