OnixS C++ CME MDP Conflated UDP Handler 1.1.2
API documentation
Loading...
Searching...
No Matches
FeedAttributes.h
Go to the documentation of this file.
1// Copyright Onix Solutions Limited [OnixS]. All rights reserved.
2//
3// This software owned by Onix Solutions Limited [OnixS] and is
4// protected by copyright law and international copyright treaties.
5//
6// Access to and use of the software is governed by the terms of the applicable
7// OnixS Software Services Agreement (the Agreement) and Customer end user license
8// agreements granting a non-assignable, non-transferable and non-exclusive license
9// to use the software for it's own data processing purposes under the terms defined
10// in the Agreement.
11//
12// Except as otherwise granted within the terms of the Agreement, copying or
13// reproduction of any part of this source code or associated reference material
14// to any other location for further reproduction or redistribution, and any
15// amendments to this copyright notice, are expressly prohibited.
16//
17// Any reproduction or redistribution for sale or hiring of the Software not in
18// accordance with the terms of the Agreement is a violation of copyright law.
19//
20
21#pragma once
22
24
26
55
57ONIXS_CONFLATEDUDP_EXPORTED
58void
60 std::string&,
62
64inline
65std::string
68{
69 std::string str;
70
71 toStr(str, type);
72
73 return str;
74}
75
78{
80 typedef Char Base;
81
83 enum Enum
84 {
86 A = 'A',
87
89 B = 'B'
90 };
91};
92
94inline
95void
97 std::string& str,
99{
100 str.append(
101 1,
102 static_cast<char>(role));
103}
104
106inline
107std::string
110{
111 return
112 std::string(
113 1,
114 static_cast<char>(role)
115 );
116}
117
119typedef
120std::string
122
#define ONIXS_CONFLATEDUDP_LTWT_STRUCT
Definition Bootstrap.h:99
#define ONIXS_CONFLATEDUDP_NAMESPACE_END
Definition Bootstrap.h:157
#define ONIXS_CONFLATEDUDP_NAMESPACE_BEGIN
Definition Bootstrap.h:153
std::string NetFeedId
The feed identifier.
ONIXS_CONFLATEDUDP_EXPORTED void toStr(std::string &, BookState::Enum)
Serializes book state value into a string.
char Char
Character type alias.
Definition String.h:36
Feed roles (primary, secondary).
@ B
Identifies secondary feed (B).
@ A
Identifies primary feed (A).
Feed types based on type of market data service.
Enum
Feed types based on type of market data service.
@ Snapshot
Market recovery for MBP (Market By Price) books.
@ MboSnapshot
Market recovery for MBO (Market By Order) books.
@ InstrumentCache
Instrument definition cache.
@ Incremental
Incremental/real-time.