1 #ifndef XROAD_PROTO_READER_H
2 #define XROAD_PROTO_READER_H
6 #ifndef FLATBUFFERS_COMMON_READER_H
7 #include "flatbuffers_common_reader.h"
9 #include "flatcc/flatcc_flatbuffers.h"
10 #ifndef __alignas_is_defined
13 #include "flatcc/flatcc_prologue.h"
14 #ifndef flatbuffers_identifier
15 #define flatbuffers_identifier 0
17 #ifndef flatbuffers_extension
18 #define flatbuffers_extension ".bin"
32 typedef const struct xroad_proto_IntegerValue_table *xroad_proto_IntegerValue_table_t;
33 typedef const flatbuffers_uoffset_t *xroad_proto_IntegerValue_vec_t;
34 typedef flatbuffers_uoffset_t *xroad_proto_IntegerValue_mutable_vec_t;
35 typedef const struct xroad_proto_DoubleValue_table *xroad_proto_DoubleValue_table_t;
36 typedef const flatbuffers_uoffset_t *xroad_proto_DoubleValue_vec_t;
37 typedef flatbuffers_uoffset_t *xroad_proto_DoubleValue_mutable_vec_t;
39 typedef const flatbuffers_uoffset_t *xroad_proto_StringValue_vec_t;
40 typedef flatbuffers_uoffset_t *xroad_proto_StringValue_mutable_vec_t;
42 typedef const flatbuffers_uoffset_t *xroad_proto_Node_vec_t;
43 typedef flatbuffers_uoffset_t *xroad_proto_Node_mutable_vec_t;
45 typedef const flatbuffers_uoffset_t *xroad_proto_InstrByName_vec_t;
46 typedef flatbuffers_uoffset_t *xroad_proto_InstrByName_mutable_vec_t;
47 typedef const struct xroad_proto_InstrById_table *xroad_proto_InstrById_table_t;
48 typedef const flatbuffers_uoffset_t *xroad_proto_InstrById_vec_t;
49 typedef flatbuffers_uoffset_t *xroad_proto_InstrById_mutable_vec_t;
50 typedef const struct xroad_proto_InstrByAlias_table *xroad_proto_InstrByAlias_table_t;
51 typedef const flatbuffers_uoffset_t *xroad_proto_InstrByAlias_vec_t;
52 typedef flatbuffers_uoffset_t *xroad_proto_InstrByAlias_mutable_vec_t;
54 typedef const flatbuffers_uoffset_t *xroad_proto_InstrRequest_vec_t;
55 typedef flatbuffers_uoffset_t *xroad_proto_InstrRequest_mutable_vec_t;
57 typedef const flatbuffers_uoffset_t *xroad_proto_RequestFailed_vec_t;
58 typedef flatbuffers_uoffset_t *xroad_proto_RequestFailed_mutable_vec_t;
60 typedef const flatbuffers_uoffset_t *xroad_proto_RequestSucceed_vec_t;
61 typedef flatbuffers_uoffset_t *xroad_proto_RequestSucceed_mutable_vec_t;
62 typedef const struct xroad_proto_InstrListRequest_table *xroad_proto_InstrListRequest_table_t;
63 typedef const flatbuffers_uoffset_t *xroad_proto_InstrListRequest_vec_t;
64 typedef flatbuffers_uoffset_t *xroad_proto_InstrListRequest_mutable_vec_t;
65 typedef const struct xroad_proto_InstrumentDefinition_table *xroad_proto_InstrumentDefinition_table_t;
66 typedef const flatbuffers_uoffset_t *xroad_proto_InstrumentDefinition_vec_t;
67 typedef flatbuffers_uoffset_t *xroad_proto_InstrumentDefinition_mutable_vec_t;
68 typedef const struct xroad_proto_MdSubscribe_table *xroad_proto_MdSubscribe_table_t;
69 typedef const flatbuffers_uoffset_t *xroad_proto_MdSubscribe_vec_t;
70 typedef flatbuffers_uoffset_t *xroad_proto_MdSubscribe_mutable_vec_t;
71 typedef const struct xroad_proto_MdUnsubscribe_table *xroad_proto_MdUnsubscribe_table_t;
72 typedef const flatbuffers_uoffset_t *xroad_proto_MdUnsubscribe_vec_t;
73 typedef flatbuffers_uoffset_t *xroad_proto_MdUnsubscribe_mutable_vec_t;
75 typedef const flatbuffers_uoffset_t *xroad_proto_MdSubscriptionResult_vec_t;
76 typedef flatbuffers_uoffset_t *xroad_proto_MdSubscriptionResult_mutable_vec_t;
78 typedef const flatbuffers_uoffset_t *xroad_proto_MdTrade_vec_t;
79 typedef flatbuffers_uoffset_t *xroad_proto_MdTrade_mutable_vec_t;
81 typedef const flatbuffers_uoffset_t *xroad_proto_MdBook_vec_t;
82 typedef flatbuffers_uoffset_t *xroad_proto_MdBook_mutable_vec_t;
84 typedef const flatbuffers_uoffset_t *xroad_proto_MdQuote_vec_t;
85 typedef flatbuffers_uoffset_t *xroad_proto_MdQuote_mutable_vec_t;
87 typedef const flatbuffers_uoffset_t *xroad_proto_MdField_vec_t;
88 typedef flatbuffers_uoffset_t *xroad_proto_MdField_mutable_vec_t;
89 typedef const struct xroad_proto_MdIndicator_table *xroad_proto_MdIndicator_table_t;
90 typedef const flatbuffers_uoffset_t *xroad_proto_MdIndicator_vec_t;
91 typedef flatbuffers_uoffset_t *xroad_proto_MdIndicator_mutable_vec_t;
93 typedef const flatbuffers_uoffset_t *xroad_proto_AccPosSubscribe_vec_t;
94 typedef flatbuffers_uoffset_t *xroad_proto_AccPosSubscribe_mutable_vec_t;
95 typedef const struct xroad_proto_AccPosUnsubscribe_table *xroad_proto_AccPosUnsubscribe_table_t;
96 typedef const flatbuffers_uoffset_t *xroad_proto_AccPosUnsubscribe_vec_t;
97 typedef flatbuffers_uoffset_t *xroad_proto_AccPosUnsubscribe_mutable_vec_t;
98 typedef const struct xroad_proto_AccPosSubscriptionResult_table *xroad_proto_AccPosSubscriptionResult_table_t;
99 typedef const flatbuffers_uoffset_t *xroad_proto_AccPosSubscriptionResult_vec_t;
100 typedef flatbuffers_uoffset_t *xroad_proto_AccPosSubscriptionResult_mutable_vec_t;
101 typedef const struct xroad_proto_AccBalanceSubscribe_table *xroad_proto_AccBalanceSubscribe_table_t;
102 typedef const flatbuffers_uoffset_t *xroad_proto_AccBalanceSubscribe_vec_t;
103 typedef flatbuffers_uoffset_t *xroad_proto_AccBalanceSubscribe_mutable_vec_t;
104 typedef const struct xroad_proto_AccBalanceUnsubscribe_table *xroad_proto_AccBalanceUnsubscribe_table_t;
105 typedef const flatbuffers_uoffset_t *xroad_proto_AccBalanceUnsubscribe_vec_t;
106 typedef flatbuffers_uoffset_t *xroad_proto_AccBalanceUnsubscribe_mutable_vec_t;
107 typedef const struct xroad_proto_AccBalanceSubscriptionResult_table *xroad_proto_AccBalanceSubscriptionResult_table_t;
108 typedef const flatbuffers_uoffset_t *xroad_proto_AccBalanceSubscriptionResult_vec_t;
109 typedef flatbuffers_uoffset_t *xroad_proto_AccBalanceSubscriptionResult_mutable_vec_t;
110 typedef const struct xroad_proto_Position_table *xroad_proto_Position_table_t;
111 typedef const flatbuffers_uoffset_t *xroad_proto_Position_vec_t;
112 typedef flatbuffers_uoffset_t *xroad_proto_Position_mutable_vec_t;
114 typedef const flatbuffers_uoffset_t *xroad_proto_AccPosition_vec_t;
115 typedef flatbuffers_uoffset_t *xroad_proto_AccPosition_mutable_vec_t;
117 typedef const flatbuffers_uoffset_t *xroad_proto_Balance_vec_t;
118 typedef flatbuffers_uoffset_t *xroad_proto_Balance_mutable_vec_t;
120 typedef const flatbuffers_uoffset_t *xroad_proto_AccBalance_vec_t;
121 typedef flatbuffers_uoffset_t *xroad_proto_AccBalance_mutable_vec_t;
123 typedef const flatbuffers_uoffset_t *xroad_proto_AlgoVwap_vec_t;
124 typedef flatbuffers_uoffset_t *xroad_proto_AlgoVwap_mutable_vec_t;
126 typedef const flatbuffers_uoffset_t *xroad_proto_AlgoTwap_vec_t;
127 typedef flatbuffers_uoffset_t *xroad_proto_AlgoTwap_mutable_vec_t;
128 typedef const struct xroad_proto_AlgoPov_table *xroad_proto_AlgoPov_table_t;
129 typedef const flatbuffers_uoffset_t *xroad_proto_AlgoPov_vec_t;
130 typedef flatbuffers_uoffset_t *xroad_proto_AlgoPov_mutable_vec_t;
131 typedef const struct xroad_proto_AlgoIceberg_table *xroad_proto_AlgoIceberg_table_t;
132 typedef const flatbuffers_uoffset_t *xroad_proto_AlgoIceberg_vec_t;
133 typedef flatbuffers_uoffset_t *xroad_proto_AlgoIceberg_mutable_vec_t;
135 typedef const flatbuffers_uoffset_t *xroad_proto_AlgoRake_vec_t;
136 typedef flatbuffers_uoffset_t *xroad_proto_AlgoRake_mutable_vec_t;
138 typedef const flatbuffers_uoffset_t *xroad_proto_Order_vec_t;
139 typedef flatbuffers_uoffset_t *xroad_proto_Order_mutable_vec_t;
140 typedef const struct xroad_proto_OrderStatus_table *xroad_proto_OrderStatus_table_t;
141 typedef const flatbuffers_uoffset_t *xroad_proto_OrderStatus_vec_t;
142 typedef flatbuffers_uoffset_t *xroad_proto_OrderStatus_mutable_vec_t;
143 typedef const struct xroad_proto_OrderAccepted_table *xroad_proto_OrderAccepted_table_t;
144 typedef const flatbuffers_uoffset_t *xroad_proto_OrderAccepted_vec_t;
145 typedef flatbuffers_uoffset_t *xroad_proto_OrderAccepted_mutable_vec_t;
146 typedef const struct xroad_proto_OrderRejected_table *xroad_proto_OrderRejected_table_t;
147 typedef const flatbuffers_uoffset_t *xroad_proto_OrderRejected_vec_t;
148 typedef flatbuffers_uoffset_t *xroad_proto_OrderRejected_mutable_vec_t;
150 typedef const flatbuffers_uoffset_t *xroad_proto_CancelOrder_vec_t;
151 typedef flatbuffers_uoffset_t *xroad_proto_CancelOrder_mutable_vec_t;
152 typedef const struct xroad_proto_CancelAll_table *xroad_proto_CancelAll_table_t;
153 typedef const flatbuffers_uoffset_t *xroad_proto_CancelAll_vec_t;
154 typedef flatbuffers_uoffset_t *xroad_proto_CancelAll_mutable_vec_t;
155 typedef const struct xroad_proto_CancelOrderRejected_table *xroad_proto_CancelOrderRejected_table_t;
156 typedef const flatbuffers_uoffset_t *xroad_proto_CancelOrderRejected_vec_t;
157 typedef flatbuffers_uoffset_t *xroad_proto_CancelOrderRejected_mutable_vec_t;
159 typedef const flatbuffers_uoffset_t *xroad_proto_OrderCanceled_vec_t;
160 typedef flatbuffers_uoffset_t *xroad_proto_OrderCanceled_mutable_vec_t;
161 typedef const struct xroad_proto_ReplaceOrder_table *xroad_proto_ReplaceOrder_table_t;
162 typedef const flatbuffers_uoffset_t *xroad_proto_ReplaceOrder_vec_t;
163 typedef flatbuffers_uoffset_t *xroad_proto_ReplaceOrder_mutable_vec_t;
164 typedef const struct xroad_proto_ReplaceOrderRejected_table *xroad_proto_ReplaceOrderRejected_table_t;
165 typedef const flatbuffers_uoffset_t *xroad_proto_ReplaceOrderRejected_vec_t;
166 typedef flatbuffers_uoffset_t *xroad_proto_ReplaceOrderRejected_mutable_vec_t;
168 typedef const flatbuffers_uoffset_t *xroad_proto_OrderReplaced_vec_t;
169 typedef flatbuffers_uoffset_t *xroad_proto_OrderReplaced_mutable_vec_t;
170 typedef const struct xroad_proto_Trade_table *xroad_proto_Trade_table_t;
171 typedef const flatbuffers_uoffset_t *xroad_proto_Trade_vec_t;
172 typedef flatbuffers_uoffset_t *xroad_proto_Trade_mutable_vec_t;
173 typedef const struct xroad_proto_DeleteOrder_table *xroad_proto_DeleteOrder_table_t;
174 typedef const flatbuffers_uoffset_t *xroad_proto_DeleteOrder_vec_t;
175 typedef flatbuffers_uoffset_t *xroad_proto_DeleteOrder_mutable_vec_t;
177 typedef const flatbuffers_uoffset_t *xroad_proto_TableColumn_vec_t;
178 typedef flatbuffers_uoffset_t *xroad_proto_TableColumn_mutable_vec_t;
180 typedef const flatbuffers_uoffset_t *xroad_proto_TableRow_vec_t;
181 typedef flatbuffers_uoffset_t *xroad_proto_TableRow_mutable_vec_t;
183 typedef const flatbuffers_uoffset_t *xroad_proto_TableValue_vec_t;
184 typedef flatbuffers_uoffset_t *xroad_proto_TableValue_mutable_vec_t;
186 typedef const flatbuffers_uoffset_t *xroad_proto_PropHeader_vec_t;
187 typedef flatbuffers_uoffset_t *xroad_proto_PropHeader_mutable_vec_t;
188 typedef const struct xroad_proto_PropUpdate_table *xroad_proto_PropUpdate_table_t;
189 typedef const flatbuffers_uoffset_t *xroad_proto_PropUpdate_vec_t;
190 typedef flatbuffers_uoffset_t *xroad_proto_PropUpdate_mutable_vec_t;
192 typedef const flatbuffers_uoffset_t *xroad_proto_PropError_vec_t;
193 typedef flatbuffers_uoffset_t *xroad_proto_PropError_mutable_vec_t;
195 typedef const flatbuffers_uoffset_t *xroad_proto_PropRequest_vec_t;
196 typedef flatbuffers_uoffset_t *xroad_proto_PropRequest_mutable_vec_t;
197 typedef const struct xroad_proto_PropSetRequest_table *xroad_proto_PropSetRequest_table_t;
198 typedef const flatbuffers_uoffset_t *xroad_proto_PropSetRequest_vec_t;
199 typedef flatbuffers_uoffset_t *xroad_proto_PropSetRequest_mutable_vec_t;
200 typedef const struct xroad_proto_Prop_table *xroad_proto_Prop_table_t;
201 typedef const flatbuffers_uoffset_t *xroad_proto_Prop_vec_t;
202 typedef flatbuffers_uoffset_t *xroad_proto_Prop_mutable_vec_t;
203 typedef const struct xroad_proto_ActionRequest_table *xroad_proto_ActionRequest_table_t;
204 typedef const flatbuffers_uoffset_t *xroad_proto_ActionRequest_vec_t;
205 typedef flatbuffers_uoffset_t *xroad_proto_ActionRequest_mutable_vec_t;
206 typedef const struct xroad_proto_ActionResponse_table *xroad_proto_ActionResponse_table_t;
207 typedef const flatbuffers_uoffset_t *xroad_proto_ActionResponse_vec_t;
208 typedef flatbuffers_uoffset_t *xroad_proto_ActionResponse_mutable_vec_t;
210 typedef const flatbuffers_uoffset_t *xroad_proto_TrdCaptReport_vec_t;
211 typedef flatbuffers_uoffset_t *xroad_proto_TrdCaptReport_mutable_vec_t;
212 typedef const struct xroad_proto_Ping_table *xroad_proto_Ping_table_t;
213 typedef const flatbuffers_uoffset_t *xroad_proto_Ping_vec_t;
214 typedef flatbuffers_uoffset_t *xroad_proto_Ping_mutable_vec_t;
215 typedef const struct xroad_proto_Pong_table *xroad_proto_Pong_table_t;
216 typedef const flatbuffers_uoffset_t *xroad_proto_Pong_vec_t;
217 typedef flatbuffers_uoffset_t *xroad_proto_Pong_mutable_vec_t;
218 typedef const struct xroad_proto_SystemState_table *xroad_proto_SystemState_table_t;
219 typedef const flatbuffers_uoffset_t *xroad_proto_SystemState_vec_t;
220 typedef flatbuffers_uoffset_t *xroad_proto_SystemState_mutable_vec_t;
221 typedef const struct xroad_proto_Heartbeat_table *xroad_proto_Heartbeat_table_t;
222 typedef const flatbuffers_uoffset_t *xroad_proto_Heartbeat_vec_t;
223 typedef flatbuffers_uoffset_t *xroad_proto_Heartbeat_mutable_vec_t;
225 typedef const flatbuffers_uoffset_t *xroad_proto_Alarm_vec_t;
226 typedef flatbuffers_uoffset_t *xroad_proto_Alarm_mutable_vec_t;
228 typedef const flatbuffers_uoffset_t *xroad_proto_SwSubscribe_vec_t;
229 typedef flatbuffers_uoffset_t *xroad_proto_SwSubscribe_mutable_vec_t;
231 typedef const flatbuffers_uoffset_t *xroad_proto_SwUnsubscribe_vec_t;
232 typedef flatbuffers_uoffset_t *xroad_proto_SwUnsubscribe_mutable_vec_t;
234 typedef const flatbuffers_uoffset_t *xroad_proto_SwSubscriptionResult_vec_t;
235 typedef flatbuffers_uoffset_t *xroad_proto_SwSubscriptionResult_mutable_vec_t;
236 typedef const struct xroad_proto_SwMessage_table *xroad_proto_SwMessage_table_t;
237 typedef const flatbuffers_uoffset_t *xroad_proto_SwMessage_vec_t;
238 typedef flatbuffers_uoffset_t *xroad_proto_SwMessage_mutable_vec_t;
240 typedef const flatbuffers_uoffset_t *xroad_proto_Transport_vec_t;
241 typedef flatbuffers_uoffset_t *xroad_proto_Transport_mutable_vec_t;
242 #ifndef xroad_proto_IntegerValue_identifier
243 #define xroad_proto_IntegerValue_identifier flatbuffers_identifier
245 #define xroad_proto_IntegerValue_type_hash ((flatbuffers_thash_t)0xefd05ca6)
246 #define xroad_proto_IntegerValue_type_identifier "\xa6\x5c\xd0\xef"
247 #ifndef xroad_proto_DoubleValue_identifier
248 #define xroad_proto_DoubleValue_identifier flatbuffers_identifier
250 #define xroad_proto_DoubleValue_type_hash ((flatbuffers_thash_t)0x7701544d)
251 #define xroad_proto_DoubleValue_type_identifier "\x4d\x54\x01\x77"
252 #ifndef xroad_proto_StringValue_identifier
253 #define xroad_proto_StringValue_identifier flatbuffers_identifier
255 #define xroad_proto_StringValue_type_hash ((flatbuffers_thash_t)0x849f6a2d)
256 #define xroad_proto_StringValue_type_identifier "\x2d\x6a\x9f\x84"
257 #ifndef xroad_proto_Node_identifier
258 #define xroad_proto_Node_identifier flatbuffers_identifier
260 #define xroad_proto_Node_type_hash ((flatbuffers_thash_t)0x52ca75e1)
261 #define xroad_proto_Node_type_identifier "\xe1\x75\xca\x52"
262 #ifndef xroad_proto_InstrByName_identifier
263 #define xroad_proto_InstrByName_identifier flatbuffers_identifier
265 #define xroad_proto_InstrByName_type_hash ((flatbuffers_thash_t)0x9d662807)
266 #define xroad_proto_InstrByName_type_identifier "\x07\x28\x66\x9d"
267 #ifndef xroad_proto_InstrById_identifier
268 #define xroad_proto_InstrById_identifier flatbuffers_identifier
270 #define xroad_proto_InstrById_type_hash ((flatbuffers_thash_t)0x176d1fc1)
271 #define xroad_proto_InstrById_type_identifier "\xc1\x1f\x6d\x17"
272 #ifndef xroad_proto_InstrByAlias_identifier
273 #define xroad_proto_InstrByAlias_identifier flatbuffers_identifier
275 #define xroad_proto_InstrByAlias_type_hash ((flatbuffers_thash_t)0x30da0a98)
276 #define xroad_proto_InstrByAlias_type_identifier "\x98\x0a\xda\x30"
277 #ifndef xroad_proto_InstrRequest_identifier
278 #define xroad_proto_InstrRequest_identifier flatbuffers_identifier
280 #define xroad_proto_InstrRequest_type_hash ((flatbuffers_thash_t)0x285383aa)
281 #define xroad_proto_InstrRequest_type_identifier "\xaa\x83\x53\x28"
282 #ifndef xroad_proto_RequestFailed_identifier
283 #define xroad_proto_RequestFailed_identifier flatbuffers_identifier
285 #define xroad_proto_RequestFailed_type_hash ((flatbuffers_thash_t)0x26a5d5bf)
286 #define xroad_proto_RequestFailed_type_identifier "\xbf\xd5\xa5\x26"
287 #ifndef xroad_proto_RequestSucceed_identifier
288 #define xroad_proto_RequestSucceed_identifier flatbuffers_identifier
290 #define xroad_proto_RequestSucceed_type_hash ((flatbuffers_thash_t)0x1cbcca62)
291 #define xroad_proto_RequestSucceed_type_identifier "\x62\xca\xbc\x1c"
292 #ifndef xroad_proto_InstrListRequest_identifier
293 #define xroad_proto_InstrListRequest_identifier flatbuffers_identifier
295 #define xroad_proto_InstrListRequest_type_hash ((flatbuffers_thash_t)0x6ddde60e)
296 #define xroad_proto_InstrListRequest_type_identifier "\x0e\xe6\xdd\x6d"
297 #ifndef xroad_proto_TickInfo_identifier
298 #define xroad_proto_TickInfo_identifier flatbuffers_identifier
300 #define xroad_proto_TickInfo_type_hash ((flatbuffers_thash_t)0x95d5c8ac)
301 #define xroad_proto_TickInfo_type_identifier "\xac\xc8\xd5\x95"
302 #ifndef xroad_proto_InstrumentDefinition_identifier
303 #define xroad_proto_InstrumentDefinition_identifier flatbuffers_identifier
305 #define xroad_proto_InstrumentDefinition_type_hash ((flatbuffers_thash_t)0xdac276e5)
306 #define xroad_proto_InstrumentDefinition_type_identifier "\xe5\x76\xc2\xda"
307 #ifndef xroad_proto_MdSubscribe_identifier
308 #define xroad_proto_MdSubscribe_identifier flatbuffers_identifier
310 #define xroad_proto_MdSubscribe_type_hash ((flatbuffers_thash_t)0xd4510c50)
311 #define xroad_proto_MdSubscribe_type_identifier "\x50\x0c\x51\xd4"
312 #ifndef xroad_proto_MdUnsubscribe_identifier
313 #define xroad_proto_MdUnsubscribe_identifier flatbuffers_identifier
315 #define xroad_proto_MdUnsubscribe_type_hash ((flatbuffers_thash_t)0x8eac1265)
316 #define xroad_proto_MdUnsubscribe_type_identifier "\x65\x12\xac\x8e"
317 #ifndef xroad_proto_MdSubscriptionResult_identifier
318 #define xroad_proto_MdSubscriptionResult_identifier flatbuffers_identifier
320 #define xroad_proto_MdSubscriptionResult_type_hash ((flatbuffers_thash_t)0xbaa06ac0)
321 #define xroad_proto_MdSubscriptionResult_type_identifier "\xc0\x6a\xa0\xba"
322 #ifndef xroad_proto_MdTrade_identifier
323 #define xroad_proto_MdTrade_identifier flatbuffers_identifier
325 #define xroad_proto_MdTrade_type_hash ((flatbuffers_thash_t)0x83e65f16)
326 #define xroad_proto_MdTrade_type_identifier "\x16\x5f\xe6\x83"
327 #ifndef xroad_proto_BookLevel_identifier
328 #define xroad_proto_BookLevel_identifier flatbuffers_identifier
330 #define xroad_proto_BookLevel_type_hash ((flatbuffers_thash_t)0x65edd682)
331 #define xroad_proto_BookLevel_type_identifier "\x82\xd6\xed\x65"
332 #ifndef xroad_proto_MdBook_identifier
333 #define xroad_proto_MdBook_identifier flatbuffers_identifier
335 #define xroad_proto_MdBook_type_hash ((flatbuffers_thash_t)0xa656b9dd)
336 #define xroad_proto_MdBook_type_identifier "\xdd\xb9\x56\xa6"
337 #ifndef xroad_proto_MdQuote_identifier
338 #define xroad_proto_MdQuote_identifier flatbuffers_identifier
340 #define xroad_proto_MdQuote_type_hash ((flatbuffers_thash_t)0x60c8d6dc)
341 #define xroad_proto_MdQuote_type_identifier "\xdc\xd6\xc8\x60"
342 #ifndef xroad_proto_MdField_identifier
343 #define xroad_proto_MdField_identifier flatbuffers_identifier
345 #define xroad_proto_MdField_type_hash ((flatbuffers_thash_t)0xec07cbe4)
346 #define xroad_proto_MdField_type_identifier "\xe4\xcb\x07\xec"
347 #ifndef xroad_proto_MdIndicator_identifier
348 #define xroad_proto_MdIndicator_identifier flatbuffers_identifier
350 #define xroad_proto_MdIndicator_type_hash ((flatbuffers_thash_t)0xeabc44b9)
351 #define xroad_proto_MdIndicator_type_identifier "\xb9\x44\xbc\xea"
352 #ifndef xroad_proto_AccPosSubscribe_identifier
353 #define xroad_proto_AccPosSubscribe_identifier flatbuffers_identifier
355 #define xroad_proto_AccPosSubscribe_type_hash ((flatbuffers_thash_t)0xd4c5fd3c)
356 #define xroad_proto_AccPosSubscribe_type_identifier "\x3c\xfd\xc5\xd4"
357 #ifndef xroad_proto_AccPosUnsubscribe_identifier
358 #define xroad_proto_AccPosUnsubscribe_identifier flatbuffers_identifier
360 #define xroad_proto_AccPosUnsubscribe_type_hash ((flatbuffers_thash_t)0xec55dac1)
361 #define xroad_proto_AccPosUnsubscribe_type_identifier "\xc1\xda\x55\xec"
362 #ifndef xroad_proto_AccPosSubscriptionResult_identifier
363 #define xroad_proto_AccPosSubscriptionResult_identifier flatbuffers_identifier
365 #define xroad_proto_AccPosSubscriptionResult_type_hash ((flatbuffers_thash_t)0x9be0e024)
366 #define xroad_proto_AccPosSubscriptionResult_type_identifier "\x24\xe0\xe0\x9b"
367 #ifndef xroad_proto_AccBalanceSubscribe_identifier
368 #define xroad_proto_AccBalanceSubscribe_identifier flatbuffers_identifier
370 #define xroad_proto_AccBalanceSubscribe_type_hash ((flatbuffers_thash_t)0xb7433876)
371 #define xroad_proto_AccBalanceSubscribe_type_identifier "\x76\x38\x43\xb7"
372 #ifndef xroad_proto_AccBalanceUnsubscribe_identifier
373 #define xroad_proto_AccBalanceUnsubscribe_identifier flatbuffers_identifier
375 #define xroad_proto_AccBalanceUnsubscribe_type_hash ((flatbuffers_thash_t)0x1896efaf)
376 #define xroad_proto_AccBalanceUnsubscribe_type_identifier "\xaf\xef\x96\x18"
377 #ifndef xroad_proto_AccBalanceSubscriptionResult_identifier
378 #define xroad_proto_AccBalanceSubscriptionResult_identifier flatbuffers_identifier
380 #define xroad_proto_AccBalanceSubscriptionResult_type_hash ((flatbuffers_thash_t)0xa3cd51d6)
381 #define xroad_proto_AccBalanceSubscriptionResult_type_identifier "\xd6\x51\xcd\xa3"
382 #ifndef xroad_proto_Position_identifier
383 #define xroad_proto_Position_identifier flatbuffers_identifier
385 #define xroad_proto_Position_type_hash ((flatbuffers_thash_t)0xbb54df4e)
386 #define xroad_proto_Position_type_identifier "\x4e\xdf\x54\xbb"
387 #ifndef xroad_proto_AccPosition_identifier
388 #define xroad_proto_AccPosition_identifier flatbuffers_identifier
390 #define xroad_proto_AccPosition_type_hash ((flatbuffers_thash_t)0x2e7863c1)
391 #define xroad_proto_AccPosition_type_identifier "\xc1\x63\x78\x2e"
392 #ifndef xroad_proto_Balance_identifier
393 #define xroad_proto_Balance_identifier flatbuffers_identifier
395 #define xroad_proto_Balance_type_hash ((flatbuffers_thash_t)0xb87305f)
396 #define xroad_proto_Balance_type_identifier "\x5f\x30\x87\x0b"
397 #ifndef xroad_proto_AccBalance_identifier
398 #define xroad_proto_AccBalance_identifier flatbuffers_identifier
400 #define xroad_proto_AccBalance_type_hash ((flatbuffers_thash_t)0x32631b9a)
401 #define xroad_proto_AccBalance_type_identifier "\x9a\x1b\x63\x32"
402 #ifndef xroad_proto_AlgoVwap_identifier
403 #define xroad_proto_AlgoVwap_identifier flatbuffers_identifier
405 #define xroad_proto_AlgoVwap_type_hash ((flatbuffers_thash_t)0x256616d8)
406 #define xroad_proto_AlgoVwap_type_identifier "\xd8\x16\x66\x25"
407 #ifndef xroad_proto_AlgoTwap_identifier
408 #define xroad_proto_AlgoTwap_identifier flatbuffers_identifier
410 #define xroad_proto_AlgoTwap_type_hash ((flatbuffers_thash_t)0x5cff726)
411 #define xroad_proto_AlgoTwap_type_identifier "\x26\xf7\xcf\x05"
412 #ifndef xroad_proto_AlgoPov_identifier
413 #define xroad_proto_AlgoPov_identifier flatbuffers_identifier
415 #define xroad_proto_AlgoPov_type_hash ((flatbuffers_thash_t)0x9230ef4f)
416 #define xroad_proto_AlgoPov_type_identifier "\x4f\xef\x30\x92"
417 #ifndef xroad_proto_AlgoIceberg_identifier
418 #define xroad_proto_AlgoIceberg_identifier flatbuffers_identifier
420 #define xroad_proto_AlgoIceberg_type_hash ((flatbuffers_thash_t)0x22b680ef)
421 #define xroad_proto_AlgoIceberg_type_identifier "\xef\x80\xb6\x22"
422 #ifndef xroad_proto_AlgoRake_identifier
423 #define xroad_proto_AlgoRake_identifier flatbuffers_identifier
425 #define xroad_proto_AlgoRake_type_hash ((flatbuffers_thash_t)0x13516def)
426 #define xroad_proto_AlgoRake_type_identifier "\xef\x6d\x51\x13"
427 #ifndef xroad_proto_Order_identifier
428 #define xroad_proto_Order_identifier flatbuffers_identifier
430 #define xroad_proto_Order_type_hash ((flatbuffers_thash_t)0x527a8beb)
431 #define xroad_proto_Order_type_identifier "\xeb\x8b\x7a\x52"
432 #ifndef xroad_proto_OrderStatus_identifier
433 #define xroad_proto_OrderStatus_identifier flatbuffers_identifier
435 #define xroad_proto_OrderStatus_type_hash ((flatbuffers_thash_t)0x612209bd)
436 #define xroad_proto_OrderStatus_type_identifier "\xbd\x09\x22\x61"
437 #ifndef xroad_proto_OrderAccepted_identifier
438 #define xroad_proto_OrderAccepted_identifier flatbuffers_identifier
440 #define xroad_proto_OrderAccepted_type_hash ((flatbuffers_thash_t)0xc6e1a66e)
441 #define xroad_proto_OrderAccepted_type_identifier "\x6e\xa6\xe1\xc6"
442 #ifndef xroad_proto_OrderRejected_identifier
443 #define xroad_proto_OrderRejected_identifier flatbuffers_identifier
445 #define xroad_proto_OrderRejected_type_hash ((flatbuffers_thash_t)0x5ee6e891)
446 #define xroad_proto_OrderRejected_type_identifier "\x91\xe8\xe6\x5e"
447 #ifndef xroad_proto_CancelOrder_identifier
448 #define xroad_proto_CancelOrder_identifier flatbuffers_identifier
450 #define xroad_proto_CancelOrder_type_hash ((flatbuffers_thash_t)0xcd641ba9)
451 #define xroad_proto_CancelOrder_type_identifier "\xa9\x1b\x64\xcd"
452 #ifndef xroad_proto_CancelAll_identifier
453 #define xroad_proto_CancelAll_identifier flatbuffers_identifier
455 #define xroad_proto_CancelAll_type_hash ((flatbuffers_thash_t)0x6b80ddd2)
456 #define xroad_proto_CancelAll_type_identifier "\xd2\xdd\x80\x6b"
457 #ifndef xroad_proto_CancelOrderRejected_identifier
458 #define xroad_proto_CancelOrderRejected_identifier flatbuffers_identifier
460 #define xroad_proto_CancelOrderRejected_type_hash ((flatbuffers_thash_t)0x8c330893)
461 #define xroad_proto_CancelOrderRejected_type_identifier "\x93\x08\x33\x8c"
462 #ifndef xroad_proto_OrderCanceled_identifier
463 #define xroad_proto_OrderCanceled_identifier flatbuffers_identifier
465 #define xroad_proto_OrderCanceled_type_hash ((flatbuffers_thash_t)0xc863da34)
466 #define xroad_proto_OrderCanceled_type_identifier "\x34\xda\x63\xc8"
467 #ifndef xroad_proto_ReplaceOrder_identifier
468 #define xroad_proto_ReplaceOrder_identifier flatbuffers_identifier
470 #define xroad_proto_ReplaceOrder_type_hash ((flatbuffers_thash_t)0xaf5071e9)
471 #define xroad_proto_ReplaceOrder_type_identifier "\xe9\x71\x50\xaf"
472 #ifndef xroad_proto_ReplaceOrderRejected_identifier
473 #define xroad_proto_ReplaceOrderRejected_identifier flatbuffers_identifier
475 #define xroad_proto_ReplaceOrderRejected_type_hash ((flatbuffers_thash_t)0x17f1dbd3)
476 #define xroad_proto_ReplaceOrderRejected_type_identifier "\xd3\xdb\xf1\x17"
477 #ifndef xroad_proto_OrderReplaced_identifier
478 #define xroad_proto_OrderReplaced_identifier flatbuffers_identifier
480 #define xroad_proto_OrderReplaced_type_hash ((flatbuffers_thash_t)0x66ae2553)
481 #define xroad_proto_OrderReplaced_type_identifier "\x53\x25\xae\x66"
482 #ifndef xroad_proto_Trade_identifier
483 #define xroad_proto_Trade_identifier flatbuffers_identifier
485 #define xroad_proto_Trade_type_hash ((flatbuffers_thash_t)0xda8fd08d)
486 #define xroad_proto_Trade_type_identifier "\x8d\xd0\x8f\xda"
487 #ifndef xroad_proto_DeleteOrder_identifier
488 #define xroad_proto_DeleteOrder_identifier flatbuffers_identifier
490 #define xroad_proto_DeleteOrder_type_hash ((flatbuffers_thash_t)0x993a9b16)
491 #define xroad_proto_DeleteOrder_type_identifier "\x16\x9b\x3a\x99"
492 #ifndef xroad_proto_TableColumn_identifier
493 #define xroad_proto_TableColumn_identifier flatbuffers_identifier
495 #define xroad_proto_TableColumn_type_hash ((flatbuffers_thash_t)0x5a2ffb59)
496 #define xroad_proto_TableColumn_type_identifier "\x59\xfb\x2f\x5a"
497 #ifndef xroad_proto_TableRow_identifier
498 #define xroad_proto_TableRow_identifier flatbuffers_identifier
500 #define xroad_proto_TableRow_type_hash ((flatbuffers_thash_t)0x3610e8f9)
501 #define xroad_proto_TableRow_type_identifier "\xf9\xe8\x10\x36"
502 #ifndef xroad_proto_TableValue_identifier
503 #define xroad_proto_TableValue_identifier flatbuffers_identifier
505 #define xroad_proto_TableValue_type_hash ((flatbuffers_thash_t)0x8af49250)
506 #define xroad_proto_TableValue_type_identifier "\x50\x92\xf4\x8a"
507 #ifndef xroad_proto_PropHeader_identifier
508 #define xroad_proto_PropHeader_identifier flatbuffers_identifier
510 #define xroad_proto_PropHeader_type_hash ((flatbuffers_thash_t)0x5f0db0c1)
511 #define xroad_proto_PropHeader_type_identifier "\xc1\xb0\x0d\x5f"
512 #ifndef xroad_proto_PropUpdate_identifier
513 #define xroad_proto_PropUpdate_identifier flatbuffers_identifier
515 #define xroad_proto_PropUpdate_type_hash ((flatbuffers_thash_t)0xae5133c5)
516 #define xroad_proto_PropUpdate_type_identifier "\xc5\x33\x51\xae"
517 #ifndef xroad_proto_PropError_identifier
518 #define xroad_proto_PropError_identifier flatbuffers_identifier
520 #define xroad_proto_PropError_type_hash ((flatbuffers_thash_t)0x3774a8d2)
521 #define xroad_proto_PropError_type_identifier "\xd2\xa8\x74\x37"
522 #ifndef xroad_proto_PropRequest_identifier
523 #define xroad_proto_PropRequest_identifier flatbuffers_identifier
525 #define xroad_proto_PropRequest_type_hash ((flatbuffers_thash_t)0x3bc41d1d)
526 #define xroad_proto_PropRequest_type_identifier "\x1d\x1d\xc4\x3b"
527 #ifndef xroad_proto_PropSetRequest_identifier
528 #define xroad_proto_PropSetRequest_identifier flatbuffers_identifier
530 #define xroad_proto_PropSetRequest_type_hash ((flatbuffers_thash_t)0x98cb5855)
531 #define xroad_proto_PropSetRequest_type_identifier "\x55\x58\xcb\x98"
532 #ifndef xroad_proto_Prop_identifier
533 #define xroad_proto_Prop_identifier flatbuffers_identifier
535 #define xroad_proto_Prop_type_hash ((flatbuffers_thash_t)0xe5979964)
536 #define xroad_proto_Prop_type_identifier "\x64\x99\x97\xe5"
537 #ifndef xroad_proto_ActionRequest_identifier
538 #define xroad_proto_ActionRequest_identifier flatbuffers_identifier
540 #define xroad_proto_ActionRequest_type_hash ((flatbuffers_thash_t)0x5ee3d724)
541 #define xroad_proto_ActionRequest_type_identifier "\x24\xd7\xe3\x5e"
542 #ifndef xroad_proto_ActionResponse_identifier
543 #define xroad_proto_ActionResponse_identifier flatbuffers_identifier
545 #define xroad_proto_ActionResponse_type_hash ((flatbuffers_thash_t)0x2e849e88)
546 #define xroad_proto_ActionResponse_type_identifier "\x88\x9e\x84\x2e"
547 #ifndef xroad_proto_TrdCaptReport_identifier
548 #define xroad_proto_TrdCaptReport_identifier flatbuffers_identifier
550 #define xroad_proto_TrdCaptReport_type_hash ((flatbuffers_thash_t)0x21577f6f)
551 #define xroad_proto_TrdCaptReport_type_identifier "\x6f\x7f\x57\x21"
552 #ifndef xroad_proto_Ping_identifier
553 #define xroad_proto_Ping_identifier flatbuffers_identifier
555 #define xroad_proto_Ping_type_hash ((flatbuffers_thash_t)0x2c9289cd)
556 #define xroad_proto_Ping_type_identifier "\xcd\x89\x92\x2c"
557 #ifndef xroad_proto_Pong_identifier
558 #define xroad_proto_Pong_identifier flatbuffers_identifier
560 #define xroad_proto_Pong_type_hash ((flatbuffers_thash_t)0xd5a44fd3)
561 #define xroad_proto_Pong_type_identifier "\xd3\x4f\xa4\xd5"
562 #ifndef xroad_proto_SystemState_identifier
563 #define xroad_proto_SystemState_identifier flatbuffers_identifier
565 #define xroad_proto_SystemState_type_hash ((flatbuffers_thash_t)0x46da4e1d)
566 #define xroad_proto_SystemState_type_identifier "\x1d\x4e\xda\x46"
567 #ifndef xroad_proto_Heartbeat_identifier
568 #define xroad_proto_Heartbeat_identifier flatbuffers_identifier
570 #define xroad_proto_Heartbeat_type_hash ((flatbuffers_thash_t)0x60a773b3)
571 #define xroad_proto_Heartbeat_type_identifier "\xb3\x73\xa7\x60"
572 #ifndef xroad_proto_Alarm_identifier
573 #define xroad_proto_Alarm_identifier flatbuffers_identifier
575 #define xroad_proto_Alarm_type_hash ((flatbuffers_thash_t)0x3459ba56)
576 #define xroad_proto_Alarm_type_identifier "\x56\xba\x59\x34"
577 #ifndef xroad_proto_SwSubscribe_identifier
578 #define xroad_proto_SwSubscribe_identifier flatbuffers_identifier
580 #define xroad_proto_SwSubscribe_type_hash ((flatbuffers_thash_t)0x2c837bc5)
581 #define xroad_proto_SwSubscribe_type_identifier "\xc5\x7b\x83\x2c"
582 #ifndef xroad_proto_SwUnsubscribe_identifier
583 #define xroad_proto_SwUnsubscribe_identifier flatbuffers_identifier
585 #define xroad_proto_SwUnsubscribe_type_hash ((flatbuffers_thash_t)0xd520223c)
586 #define xroad_proto_SwUnsubscribe_type_identifier "\x3c\x22\x20\xd5"
587 #ifndef xroad_proto_SwSubscriptionResult_identifier
588 #define xroad_proto_SwSubscriptionResult_identifier flatbuffers_identifier
590 #define xroad_proto_SwSubscriptionResult_type_hash ((flatbuffers_thash_t)0x9881fba7)
591 #define xroad_proto_SwSubscriptionResult_type_identifier "\xa7\xfb\x81\x98"
592 #ifndef xroad_proto_SwMessage_identifier
593 #define xroad_proto_SwMessage_identifier flatbuffers_identifier
595 #define xroad_proto_SwMessage_type_hash ((flatbuffers_thash_t)0x6d6e192)
596 #define xroad_proto_SwMessage_type_identifier "\x92\xe1\xd6\x06"
597 #ifndef xroad_proto_Transport_identifier
598 #define xroad_proto_Transport_identifier flatbuffers_identifier
600 #define xroad_proto_Transport_type_hash ((flatbuffers_thash_t)0xa3d4c3ee)
601 #define xroad_proto_Transport_type_identifier "\xee\xc3\xd4\xa3"
603 typedef int32_t xroad_proto_Side_enum_t;
604 __flatbuffers_define_integer_type(xroad_proto_Side, xroad_proto_Side_enum_t, 32)
605 #define xroad_proto_Side_Empty ((xroad_proto_Side_enum_t)INT32_C(48))
606 #define xroad_proto_Side_Buy ((xroad_proto_Side_enum_t)INT32_C(49))
607 #define xroad_proto_Side_Sell ((xroad_proto_Side_enum_t)INT32_C(50))
609 static inline const char *xroad_proto_Side_name(xroad_proto_Side_enum_t value)
612 case xroad_proto_Side_Empty:
return "Empty";
613 case xroad_proto_Side_Buy:
return "Buy";
614 case xroad_proto_Side_Sell:
return "Sell";
619 static inline int xroad_proto_Side_is_known_value(xroad_proto_Side_enum_t value)
622 case xroad_proto_Side_Empty:
return 1;
623 case xroad_proto_Side_Buy:
return 1;
624 case xroad_proto_Side_Sell:
return 1;
629 typedef int32_t xroad_proto_TimeInForce_enum_t;
630 __flatbuffers_define_integer_type(xroad_proto_TimeInForce, xroad_proto_TimeInForce_enum_t, 32)
631 #define xroad_proto_TimeInForce_Day ((xroad_proto_TimeInForce_enum_t)INT32_C(48))
632 #define xroad_proto_TimeInForce_GTC ((xroad_proto_TimeInForce_enum_t)INT32_C(49))
633 #define xroad_proto_TimeInForce_IOC ((xroad_proto_TimeInForce_enum_t)INT32_C(51))
634 #define xroad_proto_TimeInForce_FOK ((xroad_proto_TimeInForce_enum_t)INT32_C(52))
635 #define xroad_proto_TimeInForce_GTX ((xroad_proto_TimeInForce_enum_t)INT32_C(53))
636 #define xroad_proto_TimeInForce_GTD ((xroad_proto_TimeInForce_enum_t)INT32_C(54))
638 static inline const char *xroad_proto_TimeInForce_name(xroad_proto_TimeInForce_enum_t value)
641 case xroad_proto_TimeInForce_Day:
return "Day";
642 case xroad_proto_TimeInForce_GTC:
return "GTC";
643 case xroad_proto_TimeInForce_IOC:
return "IOC";
644 case xroad_proto_TimeInForce_FOK:
return "FOK";
645 case xroad_proto_TimeInForce_GTX:
return "GTX";
646 case xroad_proto_TimeInForce_GTD:
return "GTD";
651 static inline int xroad_proto_TimeInForce_is_known_value(xroad_proto_TimeInForce_enum_t value)
654 case xroad_proto_TimeInForce_Day:
return 1;
655 case xroad_proto_TimeInForce_GTC:
return 1;
656 case xroad_proto_TimeInForce_IOC:
return 1;
657 case xroad_proto_TimeInForce_FOK:
return 1;
658 case xroad_proto_TimeInForce_GTX:
return 1;
659 case xroad_proto_TimeInForce_GTD:
return 1;
664 typedef int32_t xroad_proto_ExecInst_enum_t;
665 __flatbuffers_define_integer_type(xroad_proto_ExecInst, xroad_proto_ExecInst_enum_t, 32)
666 #define xroad_proto_ExecInst_ParticipateOnly ((xroad_proto_ExecInst_enum_t)INT32_C(2))
667 #define xroad_proto_ExecInst_ClosePosition ((xroad_proto_ExecInst_enum_t)INT32_C(16))
668 #define xroad_proto_ExecInst_HandlInstPublic ((xroad_proto_ExecInst_enum_t)INT32_C(32))
669 #define xroad_proto_ExecInst_HandlInstPrivate ((xroad_proto_ExecInst_enum_t)INT32_C(64))
670 #define xroad_proto_ExecInst_HandlInstManual ((xroad_proto_ExecInst_enum_t)INT32_C(128))
671 #define xroad_proto_ExecInst_OTC ((xroad_proto_ExecInst_enum_t)INT32_C(8192))
673 static inline const char *xroad_proto_ExecInst_name(xroad_proto_ExecInst_enum_t value)
676 case xroad_proto_ExecInst_ParticipateOnly:
return "ParticipateOnly";
677 case xroad_proto_ExecInst_ClosePosition:
return "ClosePosition";
678 case xroad_proto_ExecInst_HandlInstPublic:
return "HandlInstPublic";
679 case xroad_proto_ExecInst_HandlInstPrivate:
return "HandlInstPrivate";
680 case xroad_proto_ExecInst_HandlInstManual:
return "HandlInstManual";
681 case xroad_proto_ExecInst_OTC:
return "OTC";
686 static inline int xroad_proto_ExecInst_is_known_value(xroad_proto_ExecInst_enum_t value)
689 case xroad_proto_ExecInst_ParticipateOnly:
return 1;
690 case xroad_proto_ExecInst_ClosePosition:
return 1;
691 case xroad_proto_ExecInst_HandlInstPublic:
return 1;
692 case xroad_proto_ExecInst_HandlInstPrivate:
return 1;
693 case xroad_proto_ExecInst_HandlInstManual:
return 1;
694 case xroad_proto_ExecInst_OTC:
return 1;
699 typedef int32_t xroad_proto_OrdType_enum_t;
700 __flatbuffers_define_integer_type(xroad_proto_OrdType, xroad_proto_OrdType_enum_t, 32)
701 #define xroad_proto_OrdType_Market ((xroad_proto_OrdType_enum_t)INT32_C(49))
702 #define xroad_proto_OrdType_Limit ((xroad_proto_OrdType_enum_t)INT32_C(50))
704 static inline const char *xroad_proto_OrdType_name(xroad_proto_OrdType_enum_t value)
707 case xroad_proto_OrdType_Market:
return "Market";
708 case xroad_proto_OrdType_Limit:
return "Limit";
713 static inline int xroad_proto_OrdType_is_known_value(xroad_proto_OrdType_enum_t value)
716 case xroad_proto_OrdType_Market:
return 1;
717 case xroad_proto_OrdType_Limit:
return 1;
722 typedef int32_t xroad_proto_MdType_enum_t;
723 __flatbuffers_define_integer_type(xroad_proto_MdType, xroad_proto_MdType_enum_t, 32)
724 #define xroad_proto_MdType_Book ((xroad_proto_MdType_enum_t)INT32_C(1))
725 #define xroad_proto_MdType_Trade ((xroad_proto_MdType_enum_t)INT32_C(2))
726 #define xroad_proto_MdType_Quote ((xroad_proto_MdType_enum_t)INT32_C(4))
727 #define xroad_proto_MdType_Field ((xroad_proto_MdType_enum_t)INT32_C(8))
728 #define xroad_proto_MdType_Indicator ((xroad_proto_MdType_enum_t)INT32_C(256))
730 static inline const char *xroad_proto_MdType_name(xroad_proto_MdType_enum_t value)
733 case xroad_proto_MdType_Book:
return "Book";
734 case xroad_proto_MdType_Trade:
return "Trade";
735 case xroad_proto_MdType_Quote:
return "Quote";
736 case xroad_proto_MdType_Field:
return "Field";
737 case xroad_proto_MdType_Indicator:
return "Indicator";
742 static inline int xroad_proto_MdType_is_known_value(xroad_proto_MdType_enum_t value)
745 case xroad_proto_MdType_Book:
return 1;
746 case xroad_proto_MdType_Trade:
return 1;
747 case xroad_proto_MdType_Quote:
return 1;
748 case xroad_proto_MdType_Field:
return 1;
749 case xroad_proto_MdType_Indicator:
return 1;
754 typedef int32_t xroad_proto_SubsActionType_enum_t;
755 __flatbuffers_define_integer_type(xroad_proto_SubsActionType, xroad_proto_SubsActionType_enum_t, 32)
756 #define xroad_proto_SubsActionType_Update ((xroad_proto_SubsActionType_enum_t)INT32_C(1))
757 #define xroad_proto_SubsActionType_Snapshot ((xroad_proto_SubsActionType_enum_t)INT32_C(2))
758 #define xroad_proto_SubsActionType_SnapshotUpdate ((xroad_proto_SubsActionType_enum_t)INT32_C(3))
760 static inline const char *xroad_proto_SubsActionType_name(xroad_proto_SubsActionType_enum_t value)
763 case xroad_proto_SubsActionType_Update:
return "Update";
764 case xroad_proto_SubsActionType_Snapshot:
return "Snapshot";
765 case xroad_proto_SubsActionType_SnapshotUpdate:
return "SnapshotUpdate";
770 static inline int xroad_proto_SubsActionType_is_known_value(xroad_proto_SubsActionType_enum_t value)
773 case xroad_proto_SubsActionType_Update:
return 1;
774 case xroad_proto_SubsActionType_Snapshot:
return 1;
775 case xroad_proto_SubsActionType_SnapshotUpdate:
return 1;
780 typedef int32_t xroad_proto_FieldId_enum_t;
781 __flatbuffers_define_integer_type(xroad_proto_FieldId, xroad_proto_FieldId_enum_t, 32)
782 #define xroad_proto_FieldId_Empty ((xroad_proto_FieldId_enum_t)INT32_C(0))
783 #define xroad_proto_FieldId_OI ((xroad_proto_FieldId_enum_t)INT32_C(1))
784 #define xroad_proto_FieldId_Min ((xroad_proto_FieldId_enum_t)INT32_C(2))
785 #define xroad_proto_FieldId_Max ((xroad_proto_FieldId_enum_t)INT32_C(3))
786 #define xroad_proto_FieldId_Open ((xroad_proto_FieldId_enum_t)INT32_C(4))
787 #define xroad_proto_FieldId_High ((xroad_proto_FieldId_enum_t)INT32_C(5))
788 #define xroad_proto_FieldId_Low ((xroad_proto_FieldId_enum_t)INT32_C(6))
789 #define xroad_proto_FieldId_Last ((xroad_proto_FieldId_enum_t)INT32_C(7))
790 #define xroad_proto_FieldId_Volume ((xroad_proto_FieldId_enum_t)INT32_C(8))
791 #define xroad_proto_FieldId_Close ((xroad_proto_FieldId_enum_t)INT32_C(9))
792 #define xroad_proto_FieldId_WaPrice ((xroad_proto_FieldId_enum_t)INT32_C(10))
793 #define xroad_proto_FieldId_SettleDate ((xroad_proto_FieldId_enum_t)INT32_C(11))
795 static inline const char *xroad_proto_FieldId_name(xroad_proto_FieldId_enum_t value)
798 case xroad_proto_FieldId_Empty:
return "Empty";
799 case xroad_proto_FieldId_OI:
return "OI";
800 case xroad_proto_FieldId_Min:
return "Min";
801 case xroad_proto_FieldId_Max:
return "Max";
802 case xroad_proto_FieldId_Open:
return "Open";
803 case xroad_proto_FieldId_High:
return "High";
804 case xroad_proto_FieldId_Low:
return "Low";
805 case xroad_proto_FieldId_Last:
return "Last";
806 case xroad_proto_FieldId_Volume:
return "Volume";
807 case xroad_proto_FieldId_Close:
return "Close";
808 case xroad_proto_FieldId_WaPrice:
return "WaPrice";
809 case xroad_proto_FieldId_SettleDate:
return "SettleDate";
814 static inline int xroad_proto_FieldId_is_known_value(xroad_proto_FieldId_enum_t value)
817 case xroad_proto_FieldId_Empty:
return 1;
818 case xroad_proto_FieldId_OI:
return 1;
819 case xroad_proto_FieldId_Min:
return 1;
820 case xroad_proto_FieldId_Max:
return 1;
821 case xroad_proto_FieldId_Open:
return 1;
822 case xroad_proto_FieldId_High:
return 1;
823 case xroad_proto_FieldId_Low:
return 1;
824 case xroad_proto_FieldId_Last:
return 1;
825 case xroad_proto_FieldId_Volume:
return 1;
826 case xroad_proto_FieldId_Close:
return 1;
827 case xroad_proto_FieldId_WaPrice:
return 1;
828 case xroad_proto_FieldId_SettleDate:
return 1;
833 typedef int32_t xroad_proto_SubsResult_enum_t;
834 __flatbuffers_define_integer_type(xroad_proto_SubsResult, xroad_proto_SubsResult_enum_t, 32)
835 #define xroad_proto_SubsResult_Subscribed ((xroad_proto_SubsResult_enum_t)INT32_C(0))
836 #define xroad_proto_SubsResult_Unsubscribed ((xroad_proto_SubsResult_enum_t)INT32_C(1))
837 #define xroad_proto_SubsResult_AlreadySubscribed ((xroad_proto_SubsResult_enum_t)INT32_C(2))
838 #define xroad_proto_SubsResult_UnknownInsrument ((xroad_proto_SubsResult_enum_t)INT32_C(3))
839 #define xroad_proto_SubsResult_TooManySubscriptions ((xroad_proto_SubsResult_enum_t)INT32_C(4))
840 #define xroad_proto_SubsResult_InternalError ((xroad_proto_SubsResult_enum_t)INT32_C(5))
841 #define xroad_proto_SubsResult_ExternalError ((xroad_proto_SubsResult_enum_t)INT32_C(6))
842 #define xroad_proto_SubsResult_SenderNotFound ((xroad_proto_SubsResult_enum_t)INT32_C(7))
843 #define xroad_proto_SubsResult_QueueBindError ((xroad_proto_SubsResult_enum_t)INT32_C(8))
844 #define xroad_proto_SubsResult_QueueNotSet ((xroad_proto_SubsResult_enum_t)INT32_C(9))
845 #define xroad_proto_SubsResult_WrongIndicator ((xroad_proto_SubsResult_enum_t)INT32_C(10))
847 static inline const char *xroad_proto_SubsResult_name(xroad_proto_SubsResult_enum_t value)
850 case xroad_proto_SubsResult_Subscribed:
return "Subscribed";
851 case xroad_proto_SubsResult_Unsubscribed:
return "Unsubscribed";
852 case xroad_proto_SubsResult_AlreadySubscribed:
return "AlreadySubscribed";
853 case xroad_proto_SubsResult_UnknownInsrument:
return "UnknownInsrument";
854 case xroad_proto_SubsResult_TooManySubscriptions:
return "TooManySubscriptions";
855 case xroad_proto_SubsResult_InternalError:
return "InternalError";
856 case xroad_proto_SubsResult_ExternalError:
return "ExternalError";
857 case xroad_proto_SubsResult_SenderNotFound:
return "SenderNotFound";
858 case xroad_proto_SubsResult_QueueBindError:
return "QueueBindError";
859 case xroad_proto_SubsResult_QueueNotSet:
return "QueueNotSet";
860 case xroad_proto_SubsResult_WrongIndicator:
return "WrongIndicator";
865 static inline int xroad_proto_SubsResult_is_known_value(xroad_proto_SubsResult_enum_t value)
868 case xroad_proto_SubsResult_Subscribed:
return 1;
869 case xroad_proto_SubsResult_Unsubscribed:
return 1;
870 case xroad_proto_SubsResult_AlreadySubscribed:
return 1;
871 case xroad_proto_SubsResult_UnknownInsrument:
return 1;
872 case xroad_proto_SubsResult_TooManySubscriptions:
return 1;
873 case xroad_proto_SubsResult_InternalError:
return 1;
874 case xroad_proto_SubsResult_ExternalError:
return 1;
875 case xroad_proto_SubsResult_SenderNotFound:
return 1;
876 case xroad_proto_SubsResult_QueueBindError:
return 1;
877 case xroad_proto_SubsResult_QueueNotSet:
return 1;
878 case xroad_proto_SubsResult_WrongIndicator:
return 1;
883 typedef int32_t xroad_proto_OrdRejReason_enum_t;
884 __flatbuffers_define_integer_type(xroad_proto_OrdRejReason, xroad_proto_OrdRejReason_enum_t, 32)
885 #define xroad_proto_OrdRejReason_Other ((xroad_proto_OrdRejReason_enum_t)INT32_C(1))
886 #define xroad_proto_OrdRejReason_TooLate ((xroad_proto_OrdRejReason_enum_t)INT32_C(2))
887 #define xroad_proto_OrdRejReason_UnknownInstr ((xroad_proto_OrdRejReason_enum_t)INT32_C(3))
888 #define xroad_proto_OrdRejReason_Duplicate ((xroad_proto_OrdRejReason_enum_t)INT32_C(4))
889 #define xroad_proto_OrdRejReason_ExceedLimit ((xroad_proto_OrdRejReason_enum_t)INT32_C(5))
890 #define xroad_proto_OrdRejReason_ExchClosed ((xroad_proto_OrdRejReason_enum_t)INT32_C(6))
891 #define xroad_proto_OrdRejReason_BrokerOpt ((xroad_proto_OrdRejReason_enum_t)INT32_C(7))
892 #define xroad_proto_OrdRejReason_WrongAccount ((xroad_proto_OrdRejReason_enum_t)INT32_C(8))
893 #define xroad_proto_OrdRejReason_AlreadyInPending ((xroad_proto_OrdRejReason_enum_t)INT32_C(9))
894 #define xroad_proto_OrdRejReason_Unknown ((xroad_proto_OrdRejReason_enum_t)INT32_C(10))
895 #define xroad_proto_OrdRejReason_InternalError ((xroad_proto_OrdRejReason_enum_t)INT32_C(11))
896 #define xroad_proto_OrdRejReason_TranLimit ((xroad_proto_OrdRejReason_enum_t)INT32_C(12))
897 #define xroad_proto_OrdRejReason_Removed ((xroad_proto_OrdRejReason_enum_t)INT32_C(13))
898 #define xroad_proto_OrdRejReason_Guard ((xroad_proto_OrdRejReason_enum_t)INT32_C(14))
900 static inline const char *xroad_proto_OrdRejReason_name(xroad_proto_OrdRejReason_enum_t value)
903 case xroad_proto_OrdRejReason_Other:
return "Other";
904 case xroad_proto_OrdRejReason_TooLate:
return "TooLate";
905 case xroad_proto_OrdRejReason_UnknownInstr:
return "UnknownInstr";
906 case xroad_proto_OrdRejReason_Duplicate:
return "Duplicate";
907 case xroad_proto_OrdRejReason_ExceedLimit:
return "ExceedLimit";
908 case xroad_proto_OrdRejReason_ExchClosed:
return "ExchClosed";
909 case xroad_proto_OrdRejReason_BrokerOpt:
return "BrokerOpt";
910 case xroad_proto_OrdRejReason_WrongAccount:
return "WrongAccount";
911 case xroad_proto_OrdRejReason_AlreadyInPending:
return "AlreadyInPending";
912 case xroad_proto_OrdRejReason_Unknown:
return "Unknown";
913 case xroad_proto_OrdRejReason_InternalError:
return "InternalError";
914 case xroad_proto_OrdRejReason_TranLimit:
return "TranLimit";
915 case xroad_proto_OrdRejReason_Removed:
return "Removed";
916 case xroad_proto_OrdRejReason_Guard:
return "Guard";
921 static inline int xroad_proto_OrdRejReason_is_known_value(xroad_proto_OrdRejReason_enum_t value)
924 case xroad_proto_OrdRejReason_Other:
return 1;
925 case xroad_proto_OrdRejReason_TooLate:
return 1;
926 case xroad_proto_OrdRejReason_UnknownInstr:
return 1;
927 case xroad_proto_OrdRejReason_Duplicate:
return 1;
928 case xroad_proto_OrdRejReason_ExceedLimit:
return 1;
929 case xroad_proto_OrdRejReason_ExchClosed:
return 1;
930 case xroad_proto_OrdRejReason_BrokerOpt:
return 1;
931 case xroad_proto_OrdRejReason_WrongAccount:
return 1;
932 case xroad_proto_OrdRejReason_AlreadyInPending:
return 1;
933 case xroad_proto_OrdRejReason_Unknown:
return 1;
934 case xroad_proto_OrdRejReason_InternalError:
return 1;
935 case xroad_proto_OrdRejReason_TranLimit:
return 1;
936 case xroad_proto_OrdRejReason_Removed:
return 1;
937 case xroad_proto_OrdRejReason_Guard:
return 1;
942 typedef int32_t xroad_proto_State_enum_t;
943 __flatbuffers_define_integer_type(xroad_proto_State, xroad_proto_State_enum_t, 32)
944 #define xroad_proto_State_active ((xroad_proto_State_enum_t)INT32_C(1))
945 #define xroad_proto_State_offline ((xroad_proto_State_enum_t)INT32_C(2))
946 #define xroad_proto_State_dead ((xroad_proto_State_enum_t)INT32_C(3))
947 #define xroad_proto_State_inactive ((xroad_proto_State_enum_t)INT32_C(4))
948 #define xroad_proto_State_pending_active ((xroad_proto_State_enum_t)INT32_C(5))
949 #define xroad_proto_State_pending_offline ((xroad_proto_State_enum_t)INT32_C(6))
951 static inline const char *xroad_proto_State_name(xroad_proto_State_enum_t value)
954 case xroad_proto_State_active:
return "active";
955 case xroad_proto_State_offline:
return "offline";
956 case xroad_proto_State_dead:
return "dead";
957 case xroad_proto_State_inactive:
return "inactive";
958 case xroad_proto_State_pending_active:
return "pending_active";
959 case xroad_proto_State_pending_offline:
return "pending_offline";
964 static inline int xroad_proto_State_is_known_value(xroad_proto_State_enum_t value)
967 case xroad_proto_State_active:
return 1;
968 case xroad_proto_State_offline:
return 1;
969 case xroad_proto_State_dead:
return 1;
970 case xroad_proto_State_inactive:
return 1;
971 case xroad_proto_State_pending_active:
return 1;
972 case xroad_proto_State_pending_offline:
return 1;
977 typedef int32_t xroad_proto_AlarmLevel_enum_t;
978 __flatbuffers_define_integer_type(xroad_proto_AlarmLevel, xroad_proto_AlarmLevel_enum_t, 32)
979 #define xroad_proto_AlarmLevel_error ((xroad_proto_AlarmLevel_enum_t)INT32_C(1))
980 #define xroad_proto_AlarmLevel_warning ((xroad_proto_AlarmLevel_enum_t)INT32_C(2))
981 #define xroad_proto_AlarmLevel_notice ((xroad_proto_AlarmLevel_enum_t)INT32_C(4))
983 static inline const char *xroad_proto_AlarmLevel_name(xroad_proto_AlarmLevel_enum_t value)
986 case xroad_proto_AlarmLevel_error:
return "error";
987 case xroad_proto_AlarmLevel_warning:
return "warning";
988 case xroad_proto_AlarmLevel_notice:
return "notice";
993 static inline int xroad_proto_AlarmLevel_is_known_value(xroad_proto_AlarmLevel_enum_t value)
996 case xroad_proto_AlarmLevel_error:
return 1;
997 case xroad_proto_AlarmLevel_warning:
return 1;
998 case xroad_proto_AlarmLevel_notice:
return 1;
1003 typedef int32_t xroad_proto_OrdStatus_enum_t;
1004 __flatbuffers_define_integer_type(xroad_proto_OrdStatus, xroad_proto_OrdStatus_enum_t, 32)
1005 #define xroad_proto_OrdStatus_unknown ((xroad_proto_OrdStatus_enum_t)INT32_C(0))
1006 #define xroad_proto_OrdStatus_created ((xroad_proto_OrdStatus_enum_t)INT32_C(1))
1007 #define xroad_proto_OrdStatus_deleted ((xroad_proto_OrdStatus_enum_t)INT32_C(2))
1008 #define xroad_proto_OrdStatus_active ((xroad_proto_OrdStatus_enum_t)INT32_C(65))
1009 #define xroad_proto_OrdStatus_canceled ((xroad_proto_OrdStatus_enum_t)INT32_C(67))
1010 #define xroad_proto_OrdStatus_expired ((xroad_proto_OrdStatus_enum_t)INT32_C(69))
1011 #define xroad_proto_OrdStatus_filled ((xroad_proto_OrdStatus_enum_t)INT32_C(70))
1012 #define xroad_proto_OrdStatus_rejected ((xroad_proto_OrdStatus_enum_t)INT32_C(82))
1013 #define xroad_proto_OrdStatus_error ((xroad_proto_OrdStatus_enum_t)INT32_C(99))
1015 static inline const char *xroad_proto_OrdStatus_name(xroad_proto_OrdStatus_enum_t value)
1018 case xroad_proto_OrdStatus_unknown:
return "unknown";
1019 case xroad_proto_OrdStatus_created:
return "created";
1020 case xroad_proto_OrdStatus_deleted:
return "deleted";
1021 case xroad_proto_OrdStatus_active:
return "active";
1022 case xroad_proto_OrdStatus_canceled:
return "canceled";
1023 case xroad_proto_OrdStatus_expired:
return "expired";
1024 case xroad_proto_OrdStatus_filled:
return "filled";
1025 case xroad_proto_OrdStatus_rejected:
return "rejected";
1026 case xroad_proto_OrdStatus_error:
return "error";
1031 static inline int xroad_proto_OrdStatus_is_known_value(xroad_proto_OrdStatus_enum_t value)
1034 case xroad_proto_OrdStatus_unknown:
return 1;
1035 case xroad_proto_OrdStatus_created:
return 1;
1036 case xroad_proto_OrdStatus_deleted:
return 1;
1037 case xroad_proto_OrdStatus_active:
return 1;
1038 case xroad_proto_OrdStatus_canceled:
return 1;
1039 case xroad_proto_OrdStatus_expired:
return 1;
1040 case xroad_proto_OrdStatus_filled:
return 1;
1041 case xroad_proto_OrdStatus_rejected:
return 1;
1042 case xroad_proto_OrdStatus_error:
return 1;
1049 alignas(8)
double price_min;
1050 alignas(8)
double price_max;
1051 alignas(8)
double tick_size;
1052 alignas(8)
double tick_value;
1053 alignas(4) uint32_t precision;
1060 __flatbuffers_struct_vec_at(vec, i)
1061 static inline size_t xroad_proto_TickInfo__size() {
return 40; }
1063 __flatbuffers_vec_len(vec)
1066 __flatbuffers_define_struct_scalar_field(
xroad_proto_TickInfo, price_min, flatbuffers_double,
double)
1067 __flatbuffers_define_struct_scalar_field(
xroad_proto_TickInfo, price_max, flatbuffers_double,
double)
1068 __flatbuffers_define_struct_scalar_field(
xroad_proto_TickInfo, tick_size, flatbuffers_double,
double)
1069 __flatbuffers_define_struct_scalar_field(
xroad_proto_TickInfo, tick_value, flatbuffers_double,
double)
1070 __flatbuffers_define_struct_scalar_field(
xroad_proto_TickInfo, precision, flatbuffers_uint32, uint32_t)
1073 alignas(8)
double price;
1074 alignas(8)
double qty;
1081 __flatbuffers_struct_vec_at(vec, i)
1082 static inline size_t xroad_proto_BookLevel__size() {
return 16; }
1084 __flatbuffers_vec_len(vec)
1091 struct xroad_proto_IntegerValue_table { uint8_t unused__; };
1093 static inline size_t xroad_proto_IntegerValue_vec_len(xroad_proto_IntegerValue_vec_t vec)
1094 __flatbuffers_vec_len(vec)
1095 static inline xroad_proto_IntegerValue_table_t xroad_proto_IntegerValue_vec_at(xroad_proto_IntegerValue_vec_t vec,
size_t i)
1096 __flatbuffers_offset_vec_at(xroad_proto_IntegerValue_table_t, vec, i, 0)
1097 __flatbuffers_table_as_root(xroad_proto_IntegerValue)
1099 __flatbuffers_define_scalar_field(0, xroad_proto_IntegerValue, value, flatbuffers_int64, int64_t, INT64_C(0))
1101 struct xroad_proto_DoubleValue_table { uint8_t unused__; };
1103 static inline size_t xroad_proto_DoubleValue_vec_len(xroad_proto_DoubleValue_vec_t vec)
1104 __flatbuffers_vec_len(vec)
1105 static inline xroad_proto_DoubleValue_table_t xroad_proto_DoubleValue_vec_at(xroad_proto_DoubleValue_vec_t vec,
size_t i)
1106 __flatbuffers_offset_vec_at(xroad_proto_DoubleValue_table_t, vec, i, 0)
1107 __flatbuffers_table_as_root(xroad_proto_DoubleValue)
1109 __flatbuffers_define_scalar_field(0, xroad_proto_DoubleValue, value, flatbuffers_double,
double, 0.000000)
1113 static inline size_t xroad_proto_StringValue_vec_len(xroad_proto_StringValue_vec_t vec)
1114 __flatbuffers_vec_len(vec)
1117 __flatbuffers_table_as_root(xroad_proto_StringValue)
1119 __flatbuffers_define_string_field(0, xroad_proto_StringValue, value, 0)
1123 static inline size_t xroad_proto_Node_vec_len(xroad_proto_Node_vec_t vec)
1124 __flatbuffers_vec_len(vec)
1127 __flatbuffers_table_as_root(xroad_proto_Node)
1129 __flatbuffers_define_string_field(0, xroad_proto_Node, system, 0)
1130 __flatbuffers_define_scalar_field(1, xroad_proto_Node,
id, flatbuffers_uint16, uint16_t, UINT16_C(0))
1131 __flatbuffers_define_string_field(2, xroad_proto_Node, name, 0)
1135 static inline size_t xroad_proto_InstrByName_vec_len(xroad_proto_InstrByName_vec_t vec)
1136 __flatbuffers_vec_len(vec)
1139 __flatbuffers_table_as_root(xroad_proto_InstrByName)
1141 __flatbuffers_define_string_field(0, xroad_proto_InstrByName, name, 0)
1142 __flatbuffers_define_string_field(1, xroad_proto_InstrByName, board, 0)
1143 __flatbuffers_define_scalar_field(2, xroad_proto_InstrByName, exch, flatbuffers_uint64, uint64_t, UINT64_C(0))
1145 struct xroad_proto_InstrById_table { uint8_t unused__; };
1147 static inline size_t xroad_proto_InstrById_vec_len(xroad_proto_InstrById_vec_t vec)
1148 __flatbuffers_vec_len(vec)
1149 static inline xroad_proto_InstrById_table_t xroad_proto_InstrById_vec_at(xroad_proto_InstrById_vec_t vec,
size_t i)
1150 __flatbuffers_offset_vec_at(xroad_proto_InstrById_table_t, vec, i, 0)
1151 __flatbuffers_table_as_root(xroad_proto_InstrById)
1153 __flatbuffers_define_scalar_field(0, xroad_proto_InstrById, instr_id, flatbuffers_uint64, uint64_t, UINT64_C(0))
1155 struct xroad_proto_InstrByAlias_table { uint8_t unused__; };
1157 static inline size_t xroad_proto_InstrByAlias_vec_len(xroad_proto_InstrByAlias_vec_t vec)
1158 __flatbuffers_vec_len(vec)
1159 static inline xroad_proto_InstrByAlias_table_t xroad_proto_InstrByAlias_vec_at(xroad_proto_InstrByAlias_vec_t vec,
size_t i)
1160 __flatbuffers_offset_vec_at(xroad_proto_InstrByAlias_table_t, vec, i, 0)
1161 __flatbuffers_table_as_root(xroad_proto_InstrByAlias)
1163 __flatbuffers_define_string_field(0, xroad_proto_InstrByAlias, alias, 0)
1164 typedef uint8_t xroad_proto_InstrQuery_union_type_t;
1165 __flatbuffers_define_integer_type(xroad_proto_InstrQuery, xroad_proto_InstrQuery_union_type_t, 8)
1166 __flatbuffers_define_union(flatbuffers_, xroad_proto_InstrQuery)
1167 #define xroad_proto_InstrQuery_NONE ((xroad_proto_InstrQuery_union_type_t)UINT8_C(0))
1168 #define xroad_proto_InstrQuery_InstrByName ((xroad_proto_InstrQuery_union_type_t)UINT8_C(1))
1169 #define xroad_proto_InstrQuery_InstrById ((xroad_proto_InstrQuery_union_type_t)UINT8_C(2))
1170 #define xroad_proto_InstrQuery_InstrByAlias ((xroad_proto_InstrQuery_union_type_t)UINT8_C(3))
1172 static inline const char *xroad_proto_InstrQuery_type_name(xroad_proto_InstrQuery_union_type_t type)
1175 case xroad_proto_InstrQuery_NONE:
return "NONE";
1176 case xroad_proto_InstrQuery_InstrByName:
return "InstrByName";
1177 case xroad_proto_InstrQuery_InstrById:
return "InstrById";
1178 case xroad_proto_InstrQuery_InstrByAlias:
return "InstrByAlias";
1183 static inline int xroad_proto_InstrQuery_is_known_type(xroad_proto_InstrQuery_union_type_t type)
1186 case xroad_proto_InstrQuery_NONE:
return 1;
1187 case xroad_proto_InstrQuery_InstrByName:
return 1;
1188 case xroad_proto_InstrQuery_InstrById:
return 1;
1189 case xroad_proto_InstrQuery_InstrByAlias:
return 1;
1197 static inline size_t xroad_proto_InstrRequest_vec_len(xroad_proto_InstrRequest_vec_t vec)
1198 __flatbuffers_vec_len(vec)
1201 __flatbuffers_table_as_root(xroad_proto_InstrRequest)
1203 __flatbuffers_define_scalar_field(0, xroad_proto_InstrRequest, req_id, flatbuffers_uint32, uint32_t, UINT32_C(0))
1204 __flatbuffers_define_union_field(flatbuffers_, 2, xroad_proto_InstrRequest, instr, xroad_proto_InstrQuery, 0)
1208 static inline size_t xroad_proto_RequestFailed_vec_len(xroad_proto_RequestFailed_vec_t vec)
1209 __flatbuffers_vec_len(vec)
1212 __flatbuffers_table_as_root(xroad_proto_RequestFailed)
1214 __flatbuffers_define_scalar_field(0, xroad_proto_RequestFailed, req_id, flatbuffers_uint32, uint32_t, UINT32_C(0))
1215 __flatbuffers_define_string_field(1, xroad_proto_RequestFailed, reason, 0)
1219 static inline size_t xroad_proto_RequestSucceed_vec_len(xroad_proto_RequestSucceed_vec_t vec)
1220 __flatbuffers_vec_len(vec)
1223 __flatbuffers_table_as_root(xroad_proto_RequestSucceed)
1225 __flatbuffers_define_scalar_field(0, xroad_proto_RequestSucceed, req_id, flatbuffers_uint32, uint32_t, UINT32_C(0))
1227 struct xroad_proto_InstrListRequest_table { uint8_t unused__; };
1229 static inline size_t xroad_proto_InstrListRequest_vec_len(xroad_proto_InstrListRequest_vec_t vec)
1230 __flatbuffers_vec_len(vec)
1231 static inline xroad_proto_InstrListRequest_table_t xroad_proto_InstrListRequest_vec_at(xroad_proto_InstrListRequest_vec_t vec,
size_t i)
1232 __flatbuffers_offset_vec_at(xroad_proto_InstrListRequest_table_t, vec, i, 0)
1233 __flatbuffers_table_as_root(xroad_proto_InstrListRequest)
1235 __flatbuffers_define_scalar_field(0, xroad_proto_InstrListRequest, req_id, flatbuffers_uint32, uint32_t, UINT32_C(0))
1236 __flatbuffers_define_scalar_field(1, xroad_proto_InstrListRequest, exch, flatbuffers_uint64, uint64_t, UINT64_C(0))
1238 struct xroad_proto_InstrumentDefinition_table { uint8_t unused__; };
1240 static inline size_t xroad_proto_InstrumentDefinition_vec_len(xroad_proto_InstrumentDefinition_vec_t vec)
1241 __flatbuffers_vec_len(vec)
1242 static inline xroad_proto_InstrumentDefinition_table_t xroad_proto_InstrumentDefinition_vec_at(xroad_proto_InstrumentDefinition_vec_t vec,
size_t i)
1243 __flatbuffers_offset_vec_at(xroad_proto_InstrumentDefinition_table_t, vec, i, 0)
1244 __flatbuffers_table_as_root(xroad_proto_InstrumentDefinition)
1246 __flatbuffers_define_scalar_field(0, xroad_proto_InstrumentDefinition, req_id, flatbuffers_uint32, uint32_t, UINT32_C(0))
1247 __flatbuffers_define_scalar_field(1, xroad_proto_InstrumentDefinition,
id, flatbuffers_uint64, uint64_t, UINT64_C(0))
1248 __flatbuffers_define_string_field(2, xroad_proto_InstrumentDefinition, alias, 0)
1249 __flatbuffers_define_string_field(3, xroad_proto_InstrumentDefinition, name, 0)
1250 __flatbuffers_define_string_field(4, xroad_proto_InstrumentDefinition, board, 0)
1251 __flatbuffers_define_scalar_field(5, xroad_proto_InstrumentDefinition, lot_size, flatbuffers_uint32, uint32_t, UINT32_C(0))
1252 __flatbuffers_define_string_field(6, xroad_proto_InstrumentDefinition, currency, 0)
1253 __flatbuffers_define_string_field(7, xroad_proto_InstrumentDefinition, cfi_code, 0)
1254 __flatbuffers_define_string_field(8, xroad_proto_InstrumentDefinition, isin, 0)
1255 __flatbuffers_define_string_field(9, xroad_proto_InstrumentDefinition, exp_date, 0)
1256 __flatbuffers_define_scalar_field(10, xroad_proto_InstrumentDefinition, is_last, flatbuffers_bool, flatbuffers_bool_t, UINT8_C(0))
1257 __flatbuffers_define_scalar_field(11, xroad_proto_InstrumentDefinition, strike, flatbuffers_double,
double, 0.000000)
1258 __flatbuffers_define_scalar_field(12, xroad_proto_InstrumentDefinition, exch, flatbuffers_uint64, uint64_t, UINT64_C(0))
1259 __flatbuffers_define_string_field(13, xroad_proto_InstrumentDefinition, cqg_name, 0)
1260 __flatbuffers_define_scalar_field(14, xroad_proto_InstrumentDefinition, min_qty, flatbuffers_double,
double, 0.000000)
1261 __flatbuffers_define_scalar_field(15, xroad_proto_InstrumentDefinition, min_vol, flatbuffers_double,
double, 0.000000)
1263 __flatbuffers_define_scalar_field(17, xroad_proto_InstrumentDefinition, contract_size, flatbuffers_uint32, uint32_t, UINT32_C(0))
1264 __flatbuffers_define_string_field(18, xroad_proto_InstrumentDefinition, div_date, 0)
1265 __flatbuffers_define_scalar_field(19, xroad_proto_InstrumentDefinition, div_value, flatbuffers_double,
double, 0.000000)
1266 __flatbuffers_define_scalar_field(20, xroad_proto_InstrumentDefinition, margin_short, flatbuffers_double,
double, 0.000000)
1267 __flatbuffers_define_scalar_field(21, xroad_proto_InstrumentDefinition, margin_long, flatbuffers_double,
double, 0.000000)
1269 struct xroad_proto_MdSubscribe_table { uint8_t unused__; };
1271 static inline size_t xroad_proto_MdSubscribe_vec_len(xroad_proto_MdSubscribe_vec_t vec)
1272 __flatbuffers_vec_len(vec)
1273 static inline xroad_proto_MdSubscribe_table_t xroad_proto_MdSubscribe_vec_at(xroad_proto_MdSubscribe_vec_t vec,
size_t i)
1274 __flatbuffers_offset_vec_at(xroad_proto_MdSubscribe_table_t, vec, i, 0)
1275 __flatbuffers_table_as_root(xroad_proto_MdSubscribe)
1277 __flatbuffers_define_scalar_field(0, xroad_proto_MdSubscribe, req_id, flatbuffers_uint32, uint32_t, UINT32_C(0))
1278 __flatbuffers_define_string_field(1, xroad_proto_MdSubscribe, alias, 0)
1279 __flatbuffers_define_scalar_field(2, xroad_proto_MdSubscribe, type, xroad_proto_MdType, xroad_proto_MdType_enum_t, INT32_C(1))
1280 __flatbuffers_define_scalar_field(3, xroad_proto_MdSubscribe, action, xroad_proto_SubsActionType, xroad_proto_SubsActionType_enum_t, INT32_C(1))
1281 __flatbuffers_define_scalar_field(4, xroad_proto_MdSubscribe, field_id, xroad_proto_FieldId, xroad_proto_FieldId_enum_t, INT32_C(0))
1282 __flatbuffers_define_scalar_field(5, xroad_proto_MdSubscribe, unused, flatbuffers_int32, int32_t, INT32_C(0))
1283 __flatbuffers_define_string_field(6, xroad_proto_MdSubscribe, indicator_type, 0)
1284 __flatbuffers_define_string_field(7, xroad_proto_MdSubscribe, source, 0)
1286 struct xroad_proto_MdUnsubscribe_table { uint8_t unused__; };
1288 static inline size_t xroad_proto_MdUnsubscribe_vec_len(xroad_proto_MdUnsubscribe_vec_t vec)
1289 __flatbuffers_vec_len(vec)
1290 static inline xroad_proto_MdUnsubscribe_table_t xroad_proto_MdUnsubscribe_vec_at(xroad_proto_MdUnsubscribe_vec_t vec,
size_t i)
1291 __flatbuffers_offset_vec_at(xroad_proto_MdUnsubscribe_table_t, vec, i, 0)
1292 __flatbuffers_table_as_root(xroad_proto_MdUnsubscribe)
1294 __flatbuffers_define_scalar_field(0, xroad_proto_MdUnsubscribe, req_id, flatbuffers_uint32, uint32_t, UINT32_C(0))
1295 __flatbuffers_define_string_field(1, xroad_proto_MdUnsubscribe, alias, 0)
1299 static inline size_t xroad_proto_MdSubscriptionResult_vec_len(xroad_proto_MdSubscriptionResult_vec_t vec)
1300 __flatbuffers_vec_len(vec)
1303 __flatbuffers_table_as_root(xroad_proto_MdSubscriptionResult)
1305 __flatbuffers_define_scalar_field(0, xroad_proto_MdSubscriptionResult, req_id, flatbuffers_uint32, uint32_t, UINT32_C(0))
1306 __flatbuffers_define_string_field(1, xroad_proto_MdSubscriptionResult, alias, 0)
1307 __flatbuffers_define_scalar_field(2, xroad_proto_MdSubscriptionResult, type, xroad_proto_MdType, xroad_proto_MdType_enum_t, INT32_C(1))
1308 __flatbuffers_define_scalar_field(3, xroad_proto_MdSubscriptionResult, field_id, xroad_proto_FieldId, xroad_proto_FieldId_enum_t, INT32_C(0))
1309 __flatbuffers_define_string_field(4, xroad_proto_MdSubscriptionResult, indicator_type, 0)
1310 __flatbuffers_define_scalar_field(5, xroad_proto_MdSubscriptionResult, result, xroad_proto_SubsResult, xroad_proto_SubsResult_enum_t, INT32_C(0))
1311 __flatbuffers_define_string_field(6, xroad_proto_MdSubscriptionResult, source, 0)
1315 static inline size_t xroad_proto_MdTrade_vec_len(xroad_proto_MdTrade_vec_t vec)
1316 __flatbuffers_vec_len(vec)
1319 __flatbuffers_table_as_root(xroad_proto_MdTrade)
1321 __flatbuffers_define_string_field(0, xroad_proto_MdTrade, alias, 0)
1322 __flatbuffers_define_scalar_field(1, xroad_proto_MdTrade, price, flatbuffers_double,
double, 0.000000)
1323 __flatbuffers_define_scalar_field(2, xroad_proto_MdTrade, qty, flatbuffers_double,
double, 0.000000)
1324 __flatbuffers_define_scalar_field(3, xroad_proto_MdTrade, side, xroad_proto_Side, xroad_proto_Side_enum_t, INT32_C(48))
1325 __flatbuffers_define_scalar_field(4, xroad_proto_MdTrade, exch_ts, flatbuffers_uint64, uint64_t, UINT64_C(0))
1326 __flatbuffers_define_scalar_field(5, xroad_proto_MdTrade, local_ts, flatbuffers_uint64, uint64_t, UINT64_C(0))
1327 __flatbuffers_define_string_field(6, xroad_proto_MdTrade, source, 0)
1331 static inline size_t xroad_proto_MdBook_vec_len(xroad_proto_MdBook_vec_t vec)
1332 __flatbuffers_vec_len(vec)
1335 __flatbuffers_table_as_root(xroad_proto_MdBook)
1337 __flatbuffers_define_string_field(0, xroad_proto_MdBook, alias, 0)
1340 __flatbuffers_define_scalar_field(3, xroad_proto_MdBook, exch_ts, flatbuffers_uint64, uint64_t, UINT64_C(0))
1341 __flatbuffers_define_scalar_field(4, xroad_proto_MdBook, local_ts, flatbuffers_uint64, uint64_t, UINT64_C(0))
1342 __flatbuffers_define_string_field(5, xroad_proto_MdBook, source, 0)
1346 static inline size_t xroad_proto_MdQuote_vec_len(xroad_proto_MdQuote_vec_t vec)
1347 __flatbuffers_vec_len(vec)
1350 __flatbuffers_table_as_root(xroad_proto_MdQuote)
1352 __flatbuffers_define_string_field(0, xroad_proto_MdQuote, alias, 0)
1355 __flatbuffers_define_scalar_field(3, xroad_proto_MdQuote, exch_ts, flatbuffers_uint64, uint64_t, UINT64_C(0))
1356 __flatbuffers_define_scalar_field(4, xroad_proto_MdQuote, local_ts, flatbuffers_uint64, uint64_t, UINT64_C(0))
1357 __flatbuffers_define_string_field(5, xroad_proto_MdQuote, source, 0)
1358 typedef uint8_t xroad_proto_FieldValue_union_type_t;
1359 __flatbuffers_define_integer_type(xroad_proto_FieldValue, xroad_proto_FieldValue_union_type_t, 8)
1360 __flatbuffers_define_union(flatbuffers_, xroad_proto_FieldValue)
1361 #define xroad_proto_FieldValue_NONE ((xroad_proto_FieldValue_union_type_t)UINT8_C(0))
1362 #define xroad_proto_FieldValue_StringValue ((xroad_proto_FieldValue_union_type_t)UINT8_C(1))
1363 #define xroad_proto_FieldValue_IntegerValue ((xroad_proto_FieldValue_union_type_t)UINT8_C(2))
1364 #define xroad_proto_FieldValue_DoubleValue ((xroad_proto_FieldValue_union_type_t)UINT8_C(3))
1366 static inline const char *xroad_proto_FieldValue_type_name(xroad_proto_FieldValue_union_type_t type)
1369 case xroad_proto_FieldValue_NONE:
return "NONE";
1370 case xroad_proto_FieldValue_StringValue:
return "StringValue";
1371 case xroad_proto_FieldValue_IntegerValue:
return "IntegerValue";
1372 case xroad_proto_FieldValue_DoubleValue:
return "DoubleValue";
1377 static inline int xroad_proto_FieldValue_is_known_type(xroad_proto_FieldValue_union_type_t type)
1380 case xroad_proto_FieldValue_NONE:
return 1;
1381 case xroad_proto_FieldValue_StringValue:
return 1;
1382 case xroad_proto_FieldValue_IntegerValue:
return 1;
1383 case xroad_proto_FieldValue_DoubleValue:
return 1;
1391 static inline size_t xroad_proto_MdField_vec_len(xroad_proto_MdField_vec_t vec)
1392 __flatbuffers_vec_len(vec)
1395 __flatbuffers_table_as_root(xroad_proto_MdField)
1397 __flatbuffers_define_string_field(0, xroad_proto_MdField, alias, 0)
1398 __flatbuffers_define_scalar_field(1, xroad_proto_MdField, exch_ts, flatbuffers_uint64, uint64_t, UINT64_C(0))
1399 __flatbuffers_define_scalar_field(2, xroad_proto_MdField, local_ts, flatbuffers_uint64, uint64_t, UINT64_C(0))
1400 __flatbuffers_define_scalar_field(3, xroad_proto_MdField, field_id, xroad_proto_FieldId, xroad_proto_FieldId_enum_t, INT32_C(0))
1401 __flatbuffers_define_union_field(flatbuffers_, 5, xroad_proto_MdField, field_val, xroad_proto_FieldValue, 0)
1402 __flatbuffers_define_string_field(6, xroad_proto_MdField, source, 0)
1404 struct xroad_proto_MdIndicator_table { uint8_t unused__; };
1406 static inline size_t xroad_proto_MdIndicator_vec_len(xroad_proto_MdIndicator_vec_t vec)
1407 __flatbuffers_vec_len(vec)
1408 static inline xroad_proto_MdIndicator_table_t xroad_proto_MdIndicator_vec_at(xroad_proto_MdIndicator_vec_t vec,
size_t i)
1409 __flatbuffers_offset_vec_at(xroad_proto_MdIndicator_table_t, vec, i, 0)
1410 __flatbuffers_table_as_root(xroad_proto_MdIndicator)
1412 __flatbuffers_define_string_field(0, xroad_proto_MdIndicator, alias, 0)
1413 __flatbuffers_define_scalar_field(1, xroad_proto_MdIndicator, ts, flatbuffers_uint64, uint64_t, UINT64_C(0))
1414 __flatbuffers_define_string_field(2, xroad_proto_MdIndicator, type, 0)
1415 __flatbuffers_define_scalar_field(3, xroad_proto_MdIndicator, value, flatbuffers_double,
double, 0.000000)
1416 __flatbuffers_define_string_field(4, xroad_proto_MdIndicator, source, 0)
1420 static inline size_t xroad_proto_AccPosSubscribe_vec_len(xroad_proto_AccPosSubscribe_vec_t vec)
1421 __flatbuffers_vec_len(vec)
1424 __flatbuffers_table_as_root(xroad_proto_AccPosSubscribe)
1426 __flatbuffers_define_scalar_field(0, xroad_proto_AccPosSubscribe, req_id, flatbuffers_uint32, uint32_t, UINT32_C(0))
1427 __flatbuffers_define_scalar_field(1, xroad_proto_AccPosSubscribe, action, xroad_proto_SubsActionType, xroad_proto_SubsActionType_enum_t, INT32_C(1))
1429 struct xroad_proto_AccPosUnsubscribe_table { uint8_t unused__; };
1431 static inline size_t xroad_proto_AccPosUnsubscribe_vec_len(xroad_proto_AccPosUnsubscribe_vec_t vec)
1432 __flatbuffers_vec_len(vec)
1433 static inline xroad_proto_AccPosUnsubscribe_table_t xroad_proto_AccPosUnsubscribe_vec_at(xroad_proto_AccPosUnsubscribe_vec_t vec,
size_t i)
1434 __flatbuffers_offset_vec_at(xroad_proto_AccPosUnsubscribe_table_t, vec, i, 0)
1435 __flatbuffers_table_as_root(xroad_proto_AccPosUnsubscribe)
1437 __flatbuffers_define_scalar_field(0, xroad_proto_AccPosUnsubscribe, req_id, flatbuffers_uint32, uint32_t, UINT32_C(0))
1439 struct xroad_proto_AccPosSubscriptionResult_table { uint8_t unused__; };
1441 static inline size_t xroad_proto_AccPosSubscriptionResult_vec_len(xroad_proto_AccPosSubscriptionResult_vec_t vec)
1442 __flatbuffers_vec_len(vec)
1443 static inline xroad_proto_AccPosSubscriptionResult_table_t xroad_proto_AccPosSubscriptionResult_vec_at(xroad_proto_AccPosSubscriptionResult_vec_t vec,
size_t i)
1444 __flatbuffers_offset_vec_at(xroad_proto_AccPosSubscriptionResult_table_t, vec, i, 0)
1445 __flatbuffers_table_as_root(xroad_proto_AccPosSubscriptionResult)
1447 __flatbuffers_define_scalar_field(0, xroad_proto_AccPosSubscriptionResult, req_id, flatbuffers_uint32, uint32_t, UINT32_C(0))
1448 __flatbuffers_define_scalar_field(1, xroad_proto_AccPosSubscriptionResult, result, xroad_proto_SubsResult, xroad_proto_SubsResult_enum_t, INT32_C(0))
1450 struct xroad_proto_AccBalanceSubscribe_table { uint8_t unused__; };
1452 static inline size_t xroad_proto_AccBalanceSubscribe_vec_len(xroad_proto_AccBalanceSubscribe_vec_t vec)
1453 __flatbuffers_vec_len(vec)
1454 static inline xroad_proto_AccBalanceSubscribe_table_t xroad_proto_AccBalanceSubscribe_vec_at(xroad_proto_AccBalanceSubscribe_vec_t vec,
size_t i)
1455 __flatbuffers_offset_vec_at(xroad_proto_AccBalanceSubscribe_table_t, vec, i, 0)
1456 __flatbuffers_table_as_root(xroad_proto_AccBalanceSubscribe)
1458 __flatbuffers_define_scalar_field(0, xroad_proto_AccBalanceSubscribe, req_id, flatbuffers_uint32, uint32_t, UINT32_C(0))
1459 __flatbuffers_define_scalar_field(1, xroad_proto_AccBalanceSubscribe, action, xroad_proto_SubsActionType, xroad_proto_SubsActionType_enum_t, INT32_C(1))
1461 struct xroad_proto_AccBalanceUnsubscribe_table { uint8_t unused__; };
1463 static inline size_t xroad_proto_AccBalanceUnsubscribe_vec_len(xroad_proto_AccBalanceUnsubscribe_vec_t vec)
1464 __flatbuffers_vec_len(vec)
1465 static inline xroad_proto_AccBalanceUnsubscribe_table_t xroad_proto_AccBalanceUnsubscribe_vec_at(xroad_proto_AccBalanceUnsubscribe_vec_t vec,
size_t i)
1466 __flatbuffers_offset_vec_at(xroad_proto_AccBalanceUnsubscribe_table_t, vec, i, 0)
1467 __flatbuffers_table_as_root(xroad_proto_AccBalanceUnsubscribe)
1469 __flatbuffers_define_scalar_field(0, xroad_proto_AccBalanceUnsubscribe, req_id, flatbuffers_uint32, uint32_t, UINT32_C(0))
1471 struct xroad_proto_AccBalanceSubscriptionResult_table { uint8_t unused__; };
1473 static inline size_t xroad_proto_AccBalanceSubscriptionResult_vec_len(xroad_proto_AccBalanceSubscriptionResult_vec_t vec)
1474 __flatbuffers_vec_len(vec)
1475 static inline xroad_proto_AccBalanceSubscriptionResult_table_t xroad_proto_AccBalanceSubscriptionResult_vec_at(xroad_proto_AccBalanceSubscriptionResult_vec_t vec,
size_t i)
1476 __flatbuffers_offset_vec_at(xroad_proto_AccBalanceSubscriptionResult_table_t, vec, i, 0)
1477 __flatbuffers_table_as_root(xroad_proto_AccBalanceSubscriptionResult)
1479 __flatbuffers_define_scalar_field(0, xroad_proto_AccBalanceSubscriptionResult, req_id, flatbuffers_uint32, uint32_t, UINT32_C(0))
1480 __flatbuffers_define_scalar_field(1, xroad_proto_AccBalanceSubscriptionResult, result, xroad_proto_SubsResult, xroad_proto_SubsResult_enum_t, INT32_C(0))
1482 struct xroad_proto_Position_table { uint8_t unused__; };
1484 static inline size_t xroad_proto_Position_vec_len(xroad_proto_Position_vec_t vec)
1485 __flatbuffers_vec_len(vec)
1486 static inline xroad_proto_Position_table_t xroad_proto_Position_vec_at(xroad_proto_Position_vec_t vec,
size_t i)
1487 __flatbuffers_offset_vec_at(xroad_proto_Position_table_t, vec, i, 0)
1488 __flatbuffers_table_as_root(xroad_proto_Position)
1490 __flatbuffers_define_scalar_field(0, xroad_proto_Position, exch, flatbuffers_uint64, uint64_t, UINT64_C(0))
1491 __flatbuffers_define_string_field(1, xroad_proto_Position, account, 0)
1492 __flatbuffers_define_string_field(2, xroad_proto_Position, exch_account, 0)
1493 __flatbuffers_define_string_field(3, xroad_proto_Position, instr_name, 0)
1494 __flatbuffers_define_scalar_field(4, xroad_proto_Position, realized_pnl, flatbuffers_double,
double, 0.000000)
1495 __flatbuffers_define_scalar_field(5, xroad_proto_Position, change_pnl, flatbuffers_double,
double, 0.000000)
1496 __flatbuffers_define_scalar_field(6, xroad_proto_Position, unrealized_pnl, flatbuffers_double,
double, 0.000000)
1497 __flatbuffers_define_scalar_field(7, xroad_proto_Position, pos, flatbuffers_double,
double, 0.000000)
1498 __flatbuffers_define_scalar_field(8, xroad_proto_Position, cost, flatbuffers_double,
double, 0.000000)
1499 __flatbuffers_define_string_field(9, xroad_proto_Position, currency, 0)
1503 static inline size_t xroad_proto_AccPosition_vec_len(xroad_proto_AccPosition_vec_t vec)
1504 __flatbuffers_vec_len(vec)
1507 __flatbuffers_table_as_root(xroad_proto_AccPosition)
1509 __flatbuffers_define_vector_field(0, xroad_proto_AccPosition, positions, xroad_proto_Position_vec_t, 0)
1513 static inline size_t xroad_proto_Balance_vec_len(xroad_proto_Balance_vec_t vec)
1514 __flatbuffers_vec_len(vec)
1517 __flatbuffers_table_as_root(xroad_proto_Balance)
1519 __flatbuffers_define_scalar_field(0, xroad_proto_Balance, exch, flatbuffers_uint64, uint64_t, UINT64_C(0))
1520 __flatbuffers_define_string_field(1, xroad_proto_Balance, account, 0)
1521 __flatbuffers_define_string_field(2, xroad_proto_Balance, exch_account, 0)
1522 __flatbuffers_define_string_field(3, xroad_proto_Balance, asset, 0)
1523 __flatbuffers_define_scalar_field(4, xroad_proto_Balance, total, flatbuffers_double,
double, 0.000000)
1524 __flatbuffers_define_scalar_field(5, xroad_proto_Balance, available, flatbuffers_double,
double, 0.000000)
1528 static inline size_t xroad_proto_AccBalance_vec_len(xroad_proto_AccBalance_vec_t vec)
1529 __flatbuffers_vec_len(vec)
1532 __flatbuffers_table_as_root(xroad_proto_AccBalance)
1534 __flatbuffers_define_vector_field(0, xroad_proto_AccBalance, balances, xroad_proto_Balance_vec_t, 0)
1538 static inline size_t xroad_proto_AlgoVwap_vec_len(xroad_proto_AlgoVwap_vec_t vec)
1539 __flatbuffers_vec_len(vec)
1542 __flatbuffers_table_as_root(xroad_proto_AlgoVwap)
1544 __flatbuffers_define_scalar_field(0, xroad_proto_AlgoVwap, start, flatbuffers_int32, int32_t, INT32_C(0))
1545 __flatbuffers_define_scalar_field(1, xroad_proto_AlgoVwap, stop, flatbuffers_int32, int32_t, INT32_C(0))
1546 __flatbuffers_define_scalar_field(2, xroad_proto_AlgoVwap, aggression_level, flatbuffers_int32, int32_t, INT32_C(0))
1547 __flatbuffers_define_scalar_field(3, xroad_proto_AlgoVwap, mid_time, flatbuffers_int32, int32_t, INT32_C(20))
1548 __flatbuffers_define_scalar_field(4, xroad_proto_AlgoVwap, aggression_time, flatbuffers_int32, int32_t, INT32_C(10))
1549 __flatbuffers_define_scalar_field(5, xroad_proto_AlgoVwap, price_move, flatbuffers_double,
double, 0.000000)
1553 static inline size_t xroad_proto_AlgoTwap_vec_len(xroad_proto_AlgoTwap_vec_t vec)
1554 __flatbuffers_vec_len(vec)
1557 __flatbuffers_table_as_root(xroad_proto_AlgoTwap)
1559 __flatbuffers_define_scalar_field(0, xroad_proto_AlgoTwap, start, flatbuffers_int32, int32_t, INT32_C(0))
1560 __flatbuffers_define_scalar_field(1, xroad_proto_AlgoTwap, stop, flatbuffers_int32, int32_t, INT32_C(0))
1561 __flatbuffers_define_scalar_field(2, xroad_proto_AlgoTwap, aggression_level, flatbuffers_int32, int32_t, INT32_C(0))
1562 __flatbuffers_define_scalar_field(3, xroad_proto_AlgoTwap, mid_time, flatbuffers_int32, int32_t, INT32_C(20))
1563 __flatbuffers_define_scalar_field(4, xroad_proto_AlgoTwap, aggression_time, flatbuffers_int32, int32_t, INT32_C(10))
1565 struct xroad_proto_AlgoPov_table { uint8_t unused__; };
1567 static inline size_t xroad_proto_AlgoPov_vec_len(xroad_proto_AlgoPov_vec_t vec)
1568 __flatbuffers_vec_len(vec)
1569 static inline xroad_proto_AlgoPov_table_t xroad_proto_AlgoPov_vec_at(xroad_proto_AlgoPov_vec_t vec,
size_t i)
1570 __flatbuffers_offset_vec_at(xroad_proto_AlgoPov_table_t, vec, i, 0)
1571 __flatbuffers_table_as_root(xroad_proto_AlgoPov)
1573 __flatbuffers_define_scalar_field(0, xroad_proto_AlgoPov, start, flatbuffers_int32, int32_t, INT32_C(0))
1574 __flatbuffers_define_scalar_field(1, xroad_proto_AlgoPov, stop, flatbuffers_int32, int32_t, INT32_C(0))
1575 __flatbuffers_define_scalar_field(2, xroad_proto_AlgoPov, aggression_level, flatbuffers_int32, int32_t, INT32_C(0))
1576 __flatbuffers_define_scalar_field(3, xroad_proto_AlgoPov, mid_time, flatbuffers_int32, int32_t, INT32_C(20))
1577 __flatbuffers_define_scalar_field(4, xroad_proto_AlgoPov, aggression_time, flatbuffers_int32, int32_t, INT32_C(10))
1578 __flatbuffers_define_scalar_field(5, xroad_proto_AlgoPov, period, flatbuffers_int32, int32_t, INT32_C(3))
1579 __flatbuffers_define_scalar_field(6, xroad_proto_AlgoPov, rate, flatbuffers_double,
double, 0.000000)
1580 __flatbuffers_define_scalar_field(7, xroad_proto_AlgoPov, display_qty, flatbuffers_double,
double, 0.000000)
1582 struct xroad_proto_AlgoIceberg_table { uint8_t unused__; };
1584 static inline size_t xroad_proto_AlgoIceberg_vec_len(xroad_proto_AlgoIceberg_vec_t vec)
1585 __flatbuffers_vec_len(vec)
1586 static inline xroad_proto_AlgoIceberg_table_t xroad_proto_AlgoIceberg_vec_at(xroad_proto_AlgoIceberg_vec_t vec,
size_t i)
1587 __flatbuffers_offset_vec_at(xroad_proto_AlgoIceberg_table_t, vec, i, 0)
1588 __flatbuffers_table_as_root(xroad_proto_AlgoIceberg)
1590 __flatbuffers_define_scalar_field(0, xroad_proto_AlgoIceberg, display_qty, flatbuffers_double,
double, 0.000000)
1594 static inline size_t xroad_proto_AlgoRake_vec_len(xroad_proto_AlgoRake_vec_t vec)
1595 __flatbuffers_vec_len(vec)
1598 __flatbuffers_table_as_root(xroad_proto_AlgoRake)
1600 __flatbuffers_define_scalar_field(0, xroad_proto_AlgoRake, working_int, flatbuffers_int32, int32_t, INT32_C(3))
1601 __flatbuffers_define_scalar_field(1, xroad_proto_AlgoRake, book_depth, flatbuffers_int32, int32_t, INT32_C(20))
1602 __flatbuffers_define_scalar_field(2, xroad_proto_AlgoRake, level_dist, flatbuffers_int32, int32_t, INT32_C(4))
1603 __flatbuffers_define_scalar_field(3, xroad_proto_AlgoRake, aggression_level, flatbuffers_int32, int32_t, INT32_C(20))
1604 __flatbuffers_define_scalar_field(4, xroad_proto_AlgoRake, mid_time, flatbuffers_int32, int32_t, INT32_C(20))
1605 __flatbuffers_define_scalar_field(5, xroad_proto_AlgoRake, aggression_time, flatbuffers_int32, int32_t, INT32_C(10))
1606 __flatbuffers_define_scalar_field(6, xroad_proto_AlgoRake, display_qty, flatbuffers_double,
double, 0.000000)
1607 __flatbuffers_define_scalar_field(7, xroad_proto_AlgoRake, sensitivity, flatbuffers_int32, int32_t, INT32_C(4))
1608 __flatbuffers_define_scalar_field(8, xroad_proto_AlgoRake, deviation, flatbuffers_int32, int32_t, INT32_C(50))
1609 __flatbuffers_define_scalar_field(9, xroad_proto_AlgoRake, threshold, flatbuffers_double,
double, 0.000000)
1610 typedef uint8_t xroad_proto_Algo_union_type_t;
1611 __flatbuffers_define_integer_type(xroad_proto_Algo, xroad_proto_Algo_union_type_t, 8)
1612 __flatbuffers_define_union(flatbuffers_, xroad_proto_Algo)
1613 #define xroad_proto_Algo_NONE ((xroad_proto_Algo_union_type_t)UINT8_C(0))
1614 #define xroad_proto_Algo_AlgoVwap ((xroad_proto_Algo_union_type_t)UINT8_C(1))
1615 #define xroad_proto_Algo_AlgoTwap ((xroad_proto_Algo_union_type_t)UINT8_C(2))
1616 #define xroad_proto_Algo_AlgoPov ((xroad_proto_Algo_union_type_t)UINT8_C(3))
1617 #define xroad_proto_Algo_AlgoIceberg ((xroad_proto_Algo_union_type_t)UINT8_C(4))
1618 #define xroad_proto_Algo_AlgoRake ((xroad_proto_Algo_union_type_t)UINT8_C(5))
1620 static inline const char *xroad_proto_Algo_type_name(xroad_proto_Algo_union_type_t type)
1623 case xroad_proto_Algo_NONE:
return "NONE";
1624 case xroad_proto_Algo_AlgoVwap:
return "AlgoVwap";
1625 case xroad_proto_Algo_AlgoTwap:
return "AlgoTwap";
1626 case xroad_proto_Algo_AlgoPov:
return "AlgoPov";
1627 case xroad_proto_Algo_AlgoIceberg:
return "AlgoIceberg";
1628 case xroad_proto_Algo_AlgoRake:
return "AlgoRake";
1633 static inline int xroad_proto_Algo_is_known_type(xroad_proto_Algo_union_type_t type)
1636 case xroad_proto_Algo_NONE:
return 1;
1637 case xroad_proto_Algo_AlgoVwap:
return 1;
1638 case xroad_proto_Algo_AlgoTwap:
return 1;
1639 case xroad_proto_Algo_AlgoPov:
return 1;
1640 case xroad_proto_Algo_AlgoIceberg:
return 1;
1641 case xroad_proto_Algo_AlgoRake:
return 1;
1649 static inline size_t xroad_proto_Order_vec_len(xroad_proto_Order_vec_t vec)
1650 __flatbuffers_vec_len(vec)
1653 __flatbuffers_table_as_root(xroad_proto_Order)
1655 __flatbuffers_define_union_field(flatbuffers_, 1, xroad_proto_Order, instr, xroad_proto_InstrQuery, 0)
1656 __flatbuffers_define_scalar_field(2, xroad_proto_Order, clord_id, flatbuffers_int64, int64_t, INT64_C(0))
1657 __flatbuffers_define_scalar_field(3, xroad_proto_Order, side, xroad_proto_Side, xroad_proto_Side_enum_t, INT32_C(48))
1658 __flatbuffers_define_scalar_field(4, xroad_proto_Order, price, flatbuffers_double,
double, 0.000000)
1659 __flatbuffers_define_scalar_field(5, xroad_proto_Order, qty, flatbuffers_double,
double, 0.000000)
1660 __flatbuffers_define_scalar_field(6, xroad_proto_Order, max_qty, flatbuffers_double,
double, 0.000000)
1661 __flatbuffers_define_scalar_field(7, xroad_proto_Order, time_in_force, xroad_proto_TimeInForce, xroad_proto_TimeInForce_enum_t, INT32_C(48))
1662 __flatbuffers_define_scalar_field(8, xroad_proto_Order, ord_type, xroad_proto_OrdType, xroad_proto_OrdType_enum_t, INT32_C(50))
1663 __flatbuffers_define_string_field(9, xroad_proto_Order, account, 0)
1664 __flatbuffers_define_string_field(10, xroad_proto_Order, client_code, 0)
1665 __flatbuffers_define_scalar_field(11, xroad_proto_Order, exec_inst, flatbuffers_int32, int32_t, INT32_C(0))
1666 __flatbuffers_define_string_field(12, xroad_proto_Order, portfolio, 0)
1667 __flatbuffers_define_union_field(flatbuffers_, 14, xroad_proto_Order, algo, xroad_proto_Algo, 0)
1669 struct xroad_proto_OrderStatus_table { uint8_t unused__; };
1671 static inline size_t xroad_proto_OrderStatus_vec_len(xroad_proto_OrderStatus_vec_t vec)
1672 __flatbuffers_vec_len(vec)
1673 static inline xroad_proto_OrderStatus_table_t xroad_proto_OrderStatus_vec_at(xroad_proto_OrderStatus_vec_t vec,
size_t i)
1674 __flatbuffers_offset_vec_at(xroad_proto_OrderStatus_table_t, vec, i, 0)
1675 __flatbuffers_table_as_root(xroad_proto_OrderStatus)
1677 __flatbuffers_define_scalar_field(0, xroad_proto_OrderStatus, clord_id, flatbuffers_int64, int64_t, INT64_C(0))
1678 __flatbuffers_define_scalar_field(1, xroad_proto_OrderStatus, status, xroad_proto_OrdStatus, xroad_proto_OrdStatus_enum_t, INT32_C(0))
1679 __flatbuffers_define_scalar_field(2, xroad_proto_OrderStatus, qty, flatbuffers_double,
double, 0.000000)
1680 __flatbuffers_define_scalar_field(3, xroad_proto_OrderStatus, fill_qty, flatbuffers_double,
double, 0.000000)
1681 __flatbuffers_define_scalar_field(4, xroad_proto_OrderStatus, avg_px, flatbuffers_double,
double, 0.000000)
1682 __flatbuffers_define_string_field(5, xroad_proto_OrderStatus, reason, 0)
1684 struct xroad_proto_OrderAccepted_table { uint8_t unused__; };
1686 static inline size_t xroad_proto_OrderAccepted_vec_len(xroad_proto_OrderAccepted_vec_t vec)
1687 __flatbuffers_vec_len(vec)
1688 static inline xroad_proto_OrderAccepted_table_t xroad_proto_OrderAccepted_vec_at(xroad_proto_OrderAccepted_vec_t vec,
size_t i)
1689 __flatbuffers_offset_vec_at(xroad_proto_OrderAccepted_table_t, vec, i, 0)
1690 __flatbuffers_table_as_root(xroad_proto_OrderAccepted)
1692 __flatbuffers_define_scalar_field(0, xroad_proto_OrderAccepted, clord_id, flatbuffers_int64, int64_t, INT64_C(0))
1693 __flatbuffers_define_string_field(1, xroad_proto_OrderAccepted, exch_id, 0)
1694 __flatbuffers_define_scalar_field(2, xroad_proto_OrderAccepted, ts, flatbuffers_int64, int64_t, INT64_C(0))
1696 struct xroad_proto_OrderRejected_table { uint8_t unused__; };
1698 static inline size_t xroad_proto_OrderRejected_vec_len(xroad_proto_OrderRejected_vec_t vec)
1699 __flatbuffers_vec_len(vec)
1700 static inline xroad_proto_OrderRejected_table_t xroad_proto_OrderRejected_vec_at(xroad_proto_OrderRejected_vec_t vec,
size_t i)
1701 __flatbuffers_offset_vec_at(xroad_proto_OrderRejected_table_t, vec, i, 0)
1702 __flatbuffers_table_as_root(xroad_proto_OrderRejected)
1704 __flatbuffers_define_scalar_field(0, xroad_proto_OrderRejected, clord_id, flatbuffers_int64, int64_t, INT64_C(0))
1705 __flatbuffers_define_scalar_field(1, xroad_proto_OrderRejected, ts, flatbuffers_int64, int64_t, INT64_C(0))
1706 __flatbuffers_define_scalar_field(2, xroad_proto_OrderRejected, rej_reason, xroad_proto_OrdRejReason, xroad_proto_OrdRejReason_enum_t, INT32_C(1))
1707 __flatbuffers_define_string_field(3, xroad_proto_OrderRejected, text, 0)
1711 static inline size_t xroad_proto_CancelOrder_vec_len(xroad_proto_CancelOrder_vec_t vec)
1712 __flatbuffers_vec_len(vec)
1715 __flatbuffers_table_as_root(xroad_proto_CancelOrder)
1717 __flatbuffers_define_scalar_field(0, xroad_proto_CancelOrder, clord_id, flatbuffers_int64, int64_t, INT64_C(0))
1719 struct xroad_proto_CancelAll_table { uint8_t unused__; };
1721 static inline size_t xroad_proto_CancelAll_vec_len(xroad_proto_CancelAll_vec_t vec)
1722 __flatbuffers_vec_len(vec)
1723 static inline xroad_proto_CancelAll_table_t xroad_proto_CancelAll_vec_at(xroad_proto_CancelAll_vec_t vec,
size_t i)
1724 __flatbuffers_offset_vec_at(xroad_proto_CancelAll_table_t, vec, i, 0)
1725 __flatbuffers_table_as_root(xroad_proto_CancelAll)
1727 __flatbuffers_define_scalar_field(0, xroad_proto_CancelAll, req_id, flatbuffers_uint32, uint32_t, UINT32_C(0))
1728 __flatbuffers_define_string_field(1, xroad_proto_CancelAll, account, 0)
1729 __flatbuffers_define_scalar_field(2, xroad_proto_CancelAll, exch, flatbuffers_uint64, uint64_t, UINT64_C(0))
1731 struct xroad_proto_CancelOrderRejected_table { uint8_t unused__; };
1733 static inline size_t xroad_proto_CancelOrderRejected_vec_len(xroad_proto_CancelOrderRejected_vec_t vec)
1734 __flatbuffers_vec_len(vec)
1735 static inline xroad_proto_CancelOrderRejected_table_t xroad_proto_CancelOrderRejected_vec_at(xroad_proto_CancelOrderRejected_vec_t vec,
size_t i)
1736 __flatbuffers_offset_vec_at(xroad_proto_CancelOrderRejected_table_t, vec, i, 0)
1737 __flatbuffers_table_as_root(xroad_proto_CancelOrderRejected)
1739 __flatbuffers_define_scalar_field(0, xroad_proto_CancelOrderRejected, clord_id, flatbuffers_int64, int64_t, INT64_C(0))
1740 __flatbuffers_define_scalar_field(1, xroad_proto_CancelOrderRejected, ts, flatbuffers_int64, int64_t, INT64_C(0))
1741 __flatbuffers_define_scalar_field(2, xroad_proto_CancelOrderRejected, rej_reason, xroad_proto_OrdRejReason, xroad_proto_OrdRejReason_enum_t, INT32_C(1))
1742 __flatbuffers_define_string_field(3, xroad_proto_CancelOrderRejected, text, 0)
1746 static inline size_t xroad_proto_OrderCanceled_vec_len(xroad_proto_OrderCanceled_vec_t vec)
1747 __flatbuffers_vec_len(vec)
1750 __flatbuffers_table_as_root(xroad_proto_OrderCanceled)
1752 __flatbuffers_define_scalar_field(0, xroad_proto_OrderCanceled, clord_id, flatbuffers_int64, int64_t, INT64_C(0))
1753 __flatbuffers_define_scalar_field(1, xroad_proto_OrderCanceled, ts, flatbuffers_int64, int64_t, INT64_C(0))
1755 struct xroad_proto_ReplaceOrder_table { uint8_t unused__; };
1757 static inline size_t xroad_proto_ReplaceOrder_vec_len(xroad_proto_ReplaceOrder_vec_t vec)
1758 __flatbuffers_vec_len(vec)
1759 static inline xroad_proto_ReplaceOrder_table_t xroad_proto_ReplaceOrder_vec_at(xroad_proto_ReplaceOrder_vec_t vec,
size_t i)
1760 __flatbuffers_offset_vec_at(xroad_proto_ReplaceOrder_table_t, vec, i, 0)
1761 __flatbuffers_table_as_root(xroad_proto_ReplaceOrder)
1763 __flatbuffers_define_scalar_field(0, xroad_proto_ReplaceOrder, clord_id, flatbuffers_int64, int64_t, INT64_C(0))
1764 __flatbuffers_define_scalar_field(1, xroad_proto_ReplaceOrder, price, flatbuffers_double,
double, 0.000000)
1765 __flatbuffers_define_scalar_field(2, xroad_proto_ReplaceOrder, qty, flatbuffers_double,
double, 0.000000)
1766 __flatbuffers_define_scalar_field(3, xroad_proto_ReplaceOrder, max_qty, flatbuffers_double,
double, 0.000000)
1767 __flatbuffers_define_union_field(flatbuffers_, 5, xroad_proto_ReplaceOrder, algo, xroad_proto_Algo, 0)
1769 struct xroad_proto_ReplaceOrderRejected_table { uint8_t unused__; };
1771 static inline size_t xroad_proto_ReplaceOrderRejected_vec_len(xroad_proto_ReplaceOrderRejected_vec_t vec)
1772 __flatbuffers_vec_len(vec)
1773 static inline xroad_proto_ReplaceOrderRejected_table_t xroad_proto_ReplaceOrderRejected_vec_at(xroad_proto_ReplaceOrderRejected_vec_t vec,
size_t i)
1774 __flatbuffers_offset_vec_at(xroad_proto_ReplaceOrderRejected_table_t, vec, i, 0)
1775 __flatbuffers_table_as_root(xroad_proto_ReplaceOrderRejected)
1777 __flatbuffers_define_scalar_field(0, xroad_proto_ReplaceOrderRejected, clord_id, flatbuffers_int64, int64_t, INT64_C(0))
1778 __flatbuffers_define_scalar_field(1, xroad_proto_ReplaceOrderRejected, ts, flatbuffers_int64, int64_t, INT64_C(0))
1779 __flatbuffers_define_scalar_field(2, xroad_proto_ReplaceOrderRejected, rej_reason, xroad_proto_OrdRejReason, xroad_proto_OrdRejReason_enum_t, INT32_C(1))
1780 __flatbuffers_define_string_field(3, xroad_proto_ReplaceOrderRejected, text, 0)
1784 static inline size_t xroad_proto_OrderReplaced_vec_len(xroad_proto_OrderReplaced_vec_t vec)
1785 __flatbuffers_vec_len(vec)
1788 __flatbuffers_table_as_root(xroad_proto_OrderReplaced)
1790 __flatbuffers_define_scalar_field(0, xroad_proto_OrderReplaced, clord_id, flatbuffers_int64, int64_t, INT64_C(0))
1791 __flatbuffers_define_scalar_field(1, xroad_proto_OrderReplaced, ts, flatbuffers_int64, int64_t, INT64_C(0))
1792 __flatbuffers_define_scalar_field(2, xroad_proto_OrderReplaced, price, flatbuffers_double,
double, 0.000000)
1793 __flatbuffers_define_scalar_field(3, xroad_proto_OrderReplaced, qty, flatbuffers_double,
double, 0.000000)
1795 struct xroad_proto_Trade_table { uint8_t unused__; };
1797 static inline size_t xroad_proto_Trade_vec_len(xroad_proto_Trade_vec_t vec)
1798 __flatbuffers_vec_len(vec)
1799 static inline xroad_proto_Trade_table_t xroad_proto_Trade_vec_at(xroad_proto_Trade_vec_t vec,
size_t i)
1800 __flatbuffers_offset_vec_at(xroad_proto_Trade_table_t, vec, i, 0)
1801 __flatbuffers_table_as_root(xroad_proto_Trade)
1803 __flatbuffers_define_scalar_field(0, xroad_proto_Trade, clord_id, flatbuffers_int64, int64_t, INT64_C(0))
1804 __flatbuffers_define_string_field(1, xroad_proto_Trade, exch_id, 0)
1805 __flatbuffers_define_scalar_field(2, xroad_proto_Trade, ts, flatbuffers_int64, int64_t, INT64_C(0))
1806 __flatbuffers_define_scalar_field(3, xroad_proto_Trade, price, flatbuffers_double,
double, 0.000000)
1807 __flatbuffers_define_scalar_field(4, xroad_proto_Trade, qty, flatbuffers_double,
double, 0.000000)
1808 __flatbuffers_define_scalar_field(5, xroad_proto_Trade, leaves_qty, flatbuffers_double,
double, 0.000000)
1809 __flatbuffers_define_scalar_field(6, xroad_proto_Trade, cum_qty, flatbuffers_double,
double, 0.000000)
1811 struct xroad_proto_DeleteOrder_table { uint8_t unused__; };
1813 static inline size_t xroad_proto_DeleteOrder_vec_len(xroad_proto_DeleteOrder_vec_t vec)
1814 __flatbuffers_vec_len(vec)
1815 static inline xroad_proto_DeleteOrder_table_t xroad_proto_DeleteOrder_vec_at(xroad_proto_DeleteOrder_vec_t vec,
size_t i)
1816 __flatbuffers_offset_vec_at(xroad_proto_DeleteOrder_table_t, vec, i, 0)
1817 __flatbuffers_table_as_root(xroad_proto_DeleteOrder)
1819 __flatbuffers_define_scalar_field(0, xroad_proto_DeleteOrder, clord_id, flatbuffers_int64, int64_t, INT64_C(0))
1820 typedef uint8_t xroad_proto_TableColumnValue_union_type_t;
1821 __flatbuffers_define_integer_type(xroad_proto_TableColumnValue, xroad_proto_TableColumnValue_union_type_t, 8)
1822 __flatbuffers_define_union(flatbuffers_, xroad_proto_TableColumnValue)
1823 #define xroad_proto_TableColumnValue_NONE ((xroad_proto_TableColumnValue_union_type_t)UINT8_C(0))
1824 #define xroad_proto_TableColumnValue_StringValue ((xroad_proto_TableColumnValue_union_type_t)UINT8_C(1))
1825 #define xroad_proto_TableColumnValue_IntegerValue ((xroad_proto_TableColumnValue_union_type_t)UINT8_C(2))
1826 #define xroad_proto_TableColumnValue_DoubleValue ((xroad_proto_TableColumnValue_union_type_t)UINT8_C(3))
1828 static inline const char *xroad_proto_TableColumnValue_type_name(xroad_proto_TableColumnValue_union_type_t type)
1831 case xroad_proto_TableColumnValue_NONE:
return "NONE";
1832 case xroad_proto_TableColumnValue_StringValue:
return "StringValue";
1833 case xroad_proto_TableColumnValue_IntegerValue:
return "IntegerValue";
1834 case xroad_proto_TableColumnValue_DoubleValue:
return "DoubleValue";
1839 static inline int xroad_proto_TableColumnValue_is_known_type(xroad_proto_TableColumnValue_union_type_t type)
1842 case xroad_proto_TableColumnValue_NONE:
return 1;
1843 case xroad_proto_TableColumnValue_StringValue:
return 1;
1844 case xroad_proto_TableColumnValue_IntegerValue:
return 1;
1845 case xroad_proto_TableColumnValue_DoubleValue:
return 1;
1853 static inline size_t xroad_proto_TableColumn_vec_len(xroad_proto_TableColumn_vec_t vec)
1854 __flatbuffers_vec_len(vec)
1857 __flatbuffers_table_as_root(xroad_proto_TableColumn)
1859 __flatbuffers_define_union_field(flatbuffers_, 1, xroad_proto_TableColumn, value, xroad_proto_TableColumnValue, 0)
1863 static inline size_t xroad_proto_TableRow_vec_len(xroad_proto_TableRow_vec_t vec)
1864 __flatbuffers_vec_len(vec)
1867 __flatbuffers_table_as_root(xroad_proto_TableRow)
1869 __flatbuffers_define_vector_field(0, xroad_proto_TableRow, row, xroad_proto_TableColumn_vec_t, 0)
1873 static inline size_t xroad_proto_TableValue_vec_len(xroad_proto_TableValue_vec_t vec)
1874 __flatbuffers_vec_len(vec)
1877 __flatbuffers_table_as_root(xroad_proto_TableValue)
1879 __flatbuffers_define_vector_field(0, xroad_proto_TableValue, heades, flatbuffers_string_vec_t, 0)
1880 __flatbuffers_define_vector_field(1, xroad_proto_TableValue, rows, xroad_proto_TableRow_vec_t, 0)
1881 typedef uint8_t xroad_proto_PropValue_union_type_t;
1882 __flatbuffers_define_integer_type(xroad_proto_PropValue, xroad_proto_PropValue_union_type_t, 8)
1883 __flatbuffers_define_union(flatbuffers_, xroad_proto_PropValue)
1884 #define xroad_proto_PropValue_NONE ((xroad_proto_PropValue_union_type_t)UINT8_C(0))
1885 #define xroad_proto_PropValue_StringValue ((xroad_proto_PropValue_union_type_t)UINT8_C(1))
1886 #define xroad_proto_PropValue_IntegerValue ((xroad_proto_PropValue_union_type_t)UINT8_C(2))
1887 #define xroad_proto_PropValue_DoubleValue ((xroad_proto_PropValue_union_type_t)UINT8_C(3))
1888 #define xroad_proto_PropValue_TableValue ((xroad_proto_PropValue_union_type_t)UINT8_C(4))
1890 static inline const char *xroad_proto_PropValue_type_name(xroad_proto_PropValue_union_type_t type)
1893 case xroad_proto_PropValue_NONE:
return "NONE";
1894 case xroad_proto_PropValue_StringValue:
return "StringValue";
1895 case xroad_proto_PropValue_IntegerValue:
return "IntegerValue";
1896 case xroad_proto_PropValue_DoubleValue:
return "DoubleValue";
1897 case xroad_proto_PropValue_TableValue:
return "TableValue";
1902 static inline int xroad_proto_PropValue_is_known_type(xroad_proto_PropValue_union_type_t type)
1905 case xroad_proto_PropValue_NONE:
return 1;
1906 case xroad_proto_PropValue_StringValue:
return 1;
1907 case xroad_proto_PropValue_IntegerValue:
return 1;
1908 case xroad_proto_PropValue_DoubleValue:
return 1;
1909 case xroad_proto_PropValue_TableValue:
return 1;
1917 static inline size_t xroad_proto_PropHeader_vec_len(xroad_proto_PropHeader_vec_t vec)
1918 __flatbuffers_vec_len(vec)
1921 __flatbuffers_table_as_root(xroad_proto_PropHeader)
1923 __flatbuffers_define_scalar_field(0, xroad_proto_PropHeader, req_id, flatbuffers_int32, int32_t, INT32_C(0))
1925 __flatbuffers_define_string_field(2, xroad_proto_PropHeader, prop_name, 0)
1927 struct xroad_proto_PropUpdate_table { uint8_t unused__; };
1929 static inline size_t xroad_proto_PropUpdate_vec_len(xroad_proto_PropUpdate_vec_t vec)
1930 __flatbuffers_vec_len(vec)
1931 static inline xroad_proto_PropUpdate_table_t xroad_proto_PropUpdate_vec_at(xroad_proto_PropUpdate_vec_t vec,
size_t i)
1932 __flatbuffers_offset_vec_at(xroad_proto_PropUpdate_table_t, vec, i, 0)
1933 __flatbuffers_table_as_root(xroad_proto_PropUpdate)
1935 __flatbuffers_define_union_field(flatbuffers_, 1, xroad_proto_PropUpdate, value, xroad_proto_PropValue, 0)
1939 static inline size_t xroad_proto_PropError_vec_len(xroad_proto_PropError_vec_t vec)
1940 __flatbuffers_vec_len(vec)
1943 __flatbuffers_table_as_root(xroad_proto_PropError)
1945 __flatbuffers_define_string_field(0, xroad_proto_PropError, reason, 0)
1946 typedef uint8_t xroad_proto_PropResponse_union_type_t;
1947 __flatbuffers_define_integer_type(xroad_proto_PropResponse, xroad_proto_PropResponse_union_type_t, 8)
1948 __flatbuffers_define_union(flatbuffers_, xroad_proto_PropResponse)
1949 #define xroad_proto_PropResponse_NONE ((xroad_proto_PropResponse_union_type_t)UINT8_C(0))
1950 #define xroad_proto_PropResponse_PropUpdate ((xroad_proto_PropResponse_union_type_t)UINT8_C(1))
1951 #define xroad_proto_PropResponse_PropError ((xroad_proto_PropResponse_union_type_t)UINT8_C(2))
1953 static inline const char *xroad_proto_PropResponse_type_name(xroad_proto_PropResponse_union_type_t type)
1956 case xroad_proto_PropResponse_NONE:
return "NONE";
1957 case xroad_proto_PropResponse_PropUpdate:
return "PropUpdate";
1958 case xroad_proto_PropResponse_PropError:
return "PropError";
1963 static inline int xroad_proto_PropResponse_is_known_type(xroad_proto_PropResponse_union_type_t type)
1966 case xroad_proto_PropResponse_NONE:
return 1;
1967 case xroad_proto_PropResponse_PropUpdate:
return 1;
1968 case xroad_proto_PropResponse_PropError:
return 1;
1976 static inline size_t xroad_proto_PropRequest_vec_len(xroad_proto_PropRequest_vec_t vec)
1977 __flatbuffers_vec_len(vec)
1980 __flatbuffers_table_as_root(xroad_proto_PropRequest)
1983 __flatbuffers_define_scalar_field(1, xroad_proto_PropRequest, subsribe, flatbuffers_bool, flatbuffers_bool_t, UINT8_C(0))
1985 struct xroad_proto_PropSetRequest_table { uint8_t unused__; };
1987 static inline size_t xroad_proto_PropSetRequest_vec_len(xroad_proto_PropSetRequest_vec_t vec)
1988 __flatbuffers_vec_len(vec)
1989 static inline xroad_proto_PropSetRequest_table_t xroad_proto_PropSetRequest_vec_at(xroad_proto_PropSetRequest_vec_t vec,
size_t i)
1990 __flatbuffers_offset_vec_at(xroad_proto_PropSetRequest_table_t, vec, i, 0)
1991 __flatbuffers_table_as_root(xroad_proto_PropSetRequest)
1994 __flatbuffers_define_union_field(flatbuffers_, 2, xroad_proto_PropSetRequest, prop_value, xroad_proto_PropValue, 0)
1996 struct xroad_proto_Prop_table { uint8_t unused__; };
1998 static inline size_t xroad_proto_Prop_vec_len(xroad_proto_Prop_vec_t vec)
1999 __flatbuffers_vec_len(vec)
2000 static inline xroad_proto_Prop_table_t xroad_proto_Prop_vec_at(xroad_proto_Prop_vec_t vec,
size_t i)
2001 __flatbuffers_offset_vec_at(xroad_proto_Prop_table_t, vec, i, 0)
2002 __flatbuffers_table_as_root(xroad_proto_Prop)
2005 __flatbuffers_define_union_field(flatbuffers_, 2, xroad_proto_Prop, response, xroad_proto_PropResponse, 0)
2007 struct xroad_proto_ActionRequest_table { uint8_t unused__; };
2009 static inline size_t xroad_proto_ActionRequest_vec_len(xroad_proto_ActionRequest_vec_t vec)
2010 __flatbuffers_vec_len(vec)
2011 static inline xroad_proto_ActionRequest_table_t xroad_proto_ActionRequest_vec_at(xroad_proto_ActionRequest_vec_t vec,
size_t i)
2012 __flatbuffers_offset_vec_at(xroad_proto_ActionRequest_table_t, vec, i, 0)
2013 __flatbuffers_table_as_root(xroad_proto_ActionRequest)
2015 __flatbuffers_define_scalar_field(0, xroad_proto_ActionRequest, req_id, flatbuffers_int32, int32_t, INT32_C(0))
2017 __flatbuffers_define_string_field(2, xroad_proto_ActionRequest, action, 0)
2019 struct xroad_proto_ActionResponse_table { uint8_t unused__; };
2021 static inline size_t xroad_proto_ActionResponse_vec_len(xroad_proto_ActionResponse_vec_t vec)
2022 __flatbuffers_vec_len(vec)
2023 static inline xroad_proto_ActionResponse_table_t xroad_proto_ActionResponse_vec_at(xroad_proto_ActionResponse_vec_t vec,
size_t i)
2024 __flatbuffers_offset_vec_at(xroad_proto_ActionResponse_table_t, vec, i, 0)
2025 __flatbuffers_table_as_root(xroad_proto_ActionResponse)
2027 __flatbuffers_define_scalar_field(0, xroad_proto_ActionResponse, req_id, flatbuffers_int32, int32_t, INT32_C(0))
2028 __flatbuffers_define_scalar_field(1, xroad_proto_ActionResponse, result, flatbuffers_bool, flatbuffers_bool_t, UINT8_C(0))
2029 __flatbuffers_define_string_field(2, xroad_proto_ActionResponse, reason, 0)
2033 static inline size_t xroad_proto_TrdCaptReport_vec_len(xroad_proto_TrdCaptReport_vec_t vec)
2034 __flatbuffers_vec_len(vec)
2037 __flatbuffers_table_as_root(xroad_proto_TrdCaptReport)
2039 __flatbuffers_define_string_field(0, xroad_proto_TrdCaptReport, tradeno, 0)
2040 __flatbuffers_define_string_field(1, xroad_proto_TrdCaptReport, orderno, 0)
2041 __flatbuffers_define_string_field(2, xroad_proto_TrdCaptReport, instr_name, 0)
2042 __flatbuffers_define_string_field(3, xroad_proto_TrdCaptReport, account, 0)
2043 __flatbuffers_define_string_field(4, xroad_proto_TrdCaptReport, client_code, 0)
2044 __flatbuffers_define_scalar_field(5, xroad_proto_TrdCaptReport, ts, flatbuffers_int64, int64_t, INT64_C(0))
2045 __flatbuffers_define_scalar_field(6, xroad_proto_TrdCaptReport, price, flatbuffers_double,
double, 0.000000)
2046 __flatbuffers_define_scalar_field(7, xroad_proto_TrdCaptReport, qty, flatbuffers_double,
double, 0.000000)
2047 __flatbuffers_define_scalar_field(8, xroad_proto_TrdCaptReport, qty_units, flatbuffers_double,
double, 0.000000)
2048 __flatbuffers_define_scalar_field(9, xroad_proto_TrdCaptReport, fee, flatbuffers_double,
double, 0.000000)
2049 __flatbuffers_define_scalar_field(10, xroad_proto_TrdCaptReport, side, xroad_proto_Side, xroad_proto_Side_enum_t, INT32_C(48))
2051 struct xroad_proto_Ping_table { uint8_t unused__; };
2053 static inline size_t xroad_proto_Ping_vec_len(xroad_proto_Ping_vec_t vec)
2054 __flatbuffers_vec_len(vec)
2055 static inline xroad_proto_Ping_table_t xroad_proto_Ping_vec_at(xroad_proto_Ping_vec_t vec,
size_t i)
2056 __flatbuffers_offset_vec_at(xroad_proto_Ping_table_t, vec, i, 0)
2057 __flatbuffers_table_as_root(xroad_proto_Ping)
2059 __flatbuffers_define_scalar_field(0, xroad_proto_Ping, req_id, flatbuffers_uint32, uint32_t, UINT32_C(0))
2060 __flatbuffers_define_scalar_field(1, xroad_proto_Ping, ts, flatbuffers_int64, int64_t, INT64_C(0))
2062 struct xroad_proto_Pong_table { uint8_t unused__; };
2064 static inline size_t xroad_proto_Pong_vec_len(xroad_proto_Pong_vec_t vec)
2065 __flatbuffers_vec_len(vec)
2066 static inline xroad_proto_Pong_table_t xroad_proto_Pong_vec_at(xroad_proto_Pong_vec_t vec,
size_t i)
2067 __flatbuffers_offset_vec_at(xroad_proto_Pong_table_t, vec, i, 0)
2068 __flatbuffers_table_as_root(xroad_proto_Pong)
2070 __flatbuffers_define_scalar_field(0, xroad_proto_Pong, req_id, flatbuffers_uint32, uint32_t, UINT32_C(0))
2071 __flatbuffers_define_scalar_field(1, xroad_proto_Pong, ts, flatbuffers_int64, int64_t, INT64_C(0))
2073 struct xroad_proto_SystemState_table { uint8_t unused__; };
2075 static inline size_t xroad_proto_SystemState_vec_len(xroad_proto_SystemState_vec_t vec)
2076 __flatbuffers_vec_len(vec)
2077 static inline xroad_proto_SystemState_table_t xroad_proto_SystemState_vec_at(xroad_proto_SystemState_vec_t vec,
size_t i)
2078 __flatbuffers_offset_vec_at(xroad_proto_SystemState_table_t, vec, i, 0)
2079 __flatbuffers_table_as_root(xroad_proto_SystemState)
2081 __flatbuffers_define_scalar_field(0, xroad_proto_SystemState, state, xroad_proto_State, xroad_proto_State_enum_t, INT32_C(2))
2082 __flatbuffers_define_scalar_field(1, xroad_proto_SystemState, ts, flatbuffers_int64, int64_t, INT64_C(0))
2084 struct xroad_proto_Heartbeat_table { uint8_t unused__; };
2086 static inline size_t xroad_proto_Heartbeat_vec_len(xroad_proto_Heartbeat_vec_t vec)
2087 __flatbuffers_vec_len(vec)
2088 static inline xroad_proto_Heartbeat_table_t xroad_proto_Heartbeat_vec_at(xroad_proto_Heartbeat_vec_t vec,
size_t i)
2089 __flatbuffers_offset_vec_at(xroad_proto_Heartbeat_table_t, vec, i, 0)
2090 __flatbuffers_table_as_root(xroad_proto_Heartbeat)
2092 __flatbuffers_define_scalar_field(0, xroad_proto_Heartbeat, ts, flatbuffers_int64, int64_t, INT64_C(0))
2093 __flatbuffers_define_string_field(1, xroad_proto_Heartbeat, system, 0)
2097 static inline size_t xroad_proto_Alarm_vec_len(xroad_proto_Alarm_vec_t vec)
2098 __flatbuffers_vec_len(vec)
2101 __flatbuffers_table_as_root(xroad_proto_Alarm)
2103 __flatbuffers_define_string_field(0, xroad_proto_Alarm, node, 0)
2104 __flatbuffers_define_string_field(1, xroad_proto_Alarm, logger, 0)
2105 __flatbuffers_define_scalar_field(2, xroad_proto_Alarm, ts, flatbuffers_int64, int64_t, INT64_C(0))
2106 __flatbuffers_define_scalar_field(3, xroad_proto_Alarm, level, xroad_proto_AlarmLevel, xroad_proto_AlarmLevel_enum_t, INT32_C(1))
2107 __flatbuffers_define_string_field(4, xroad_proto_Alarm, text, 0)
2111 static inline size_t xroad_proto_SwSubscribe_vec_len(xroad_proto_SwSubscribe_vec_t vec)
2112 __flatbuffers_vec_len(vec)
2115 __flatbuffers_table_as_root(xroad_proto_SwSubscribe)
2117 __flatbuffers_define_scalar_field(0, xroad_proto_SwSubscribe, req_id, flatbuffers_uint32, uint32_t, UINT32_C(0))
2118 __flatbuffers_define_string_field(1, xroad_proto_SwSubscribe, key, 0)
2122 static inline size_t xroad_proto_SwUnsubscribe_vec_len(xroad_proto_SwUnsubscribe_vec_t vec)
2123 __flatbuffers_vec_len(vec)
2126 __flatbuffers_table_as_root(xroad_proto_SwUnsubscribe)
2128 __flatbuffers_define_scalar_field(0, xroad_proto_SwUnsubscribe, req_id, flatbuffers_uint32, uint32_t, UINT32_C(0))
2129 __flatbuffers_define_string_field(1, xroad_proto_SwUnsubscribe, key, 0)
2133 static inline size_t xroad_proto_SwSubscriptionResult_vec_len(xroad_proto_SwSubscriptionResult_vec_t vec)
2134 __flatbuffers_vec_len(vec)
2137 __flatbuffers_table_as_root(xroad_proto_SwSubscriptionResult)
2139 __flatbuffers_define_scalar_field(0, xroad_proto_SwSubscriptionResult, req_id, flatbuffers_uint32, uint32_t, UINT32_C(0))
2140 __flatbuffers_define_scalar_field(1, xroad_proto_SwSubscriptionResult, result, xroad_proto_SubsResult, xroad_proto_SubsResult_enum_t, INT32_C(0))
2142 struct xroad_proto_SwMessage_table { uint8_t unused__; };
2144 static inline size_t xroad_proto_SwMessage_vec_len(xroad_proto_SwMessage_vec_t vec)
2145 __flatbuffers_vec_len(vec)
2146 static inline xroad_proto_SwMessage_table_t xroad_proto_SwMessage_vec_at(xroad_proto_SwMessage_vec_t vec,
size_t i)
2147 __flatbuffers_offset_vec_at(xroad_proto_SwMessage_table_t, vec, i, 0)
2148 __flatbuffers_table_as_root(xroad_proto_SwMessage)
2150 __flatbuffers_define_string_field(0, xroad_proto_SwMessage, key, 0)
2151 __flatbuffers_define_union_field(flatbuffers_, 2, xroad_proto_SwMessage, value, xroad_proto_FieldValue, 0)
2152 typedef uint8_t xroad_proto_Message_union_type_t;
2153 __flatbuffers_define_integer_type(xroad_proto_Message, xroad_proto_Message_union_type_t, 8)
2154 __flatbuffers_define_union(flatbuffers_, xroad_proto_Message)
2155 #define xroad_proto_Message_NONE ((xroad_proto_Message_union_type_t)UINT8_C(0))
2156 #define xroad_proto_Message_InstrRequest ((xroad_proto_Message_union_type_t)UINT8_C(1))
2157 #define xroad_proto_Message_RequestFailed ((xroad_proto_Message_union_type_t)UINT8_C(2))
2158 #define xroad_proto_Message_RequestSucceed ((xroad_proto_Message_union_type_t)UINT8_C(3))
2159 #define xroad_proto_Message_InstrListRequest ((xroad_proto_Message_union_type_t)UINT8_C(4))
2160 #define xroad_proto_Message_InstrumentDefinition ((xroad_proto_Message_union_type_t)UINT8_C(5))
2161 #define xroad_proto_Message_MdSubscribe ((xroad_proto_Message_union_type_t)UINT8_C(6))
2162 #define xroad_proto_Message_MdUnsubscribe ((xroad_proto_Message_union_type_t)UINT8_C(7))
2163 #define xroad_proto_Message_MdSubscriptionResult ((xroad_proto_Message_union_type_t)UINT8_C(8))
2164 #define xroad_proto_Message_MdTrade ((xroad_proto_Message_union_type_t)UINT8_C(9))
2165 #define xroad_proto_Message_MdBook ((xroad_proto_Message_union_type_t)UINT8_C(10))
2166 #define xroad_proto_Message_MdQuote ((xroad_proto_Message_union_type_t)UINT8_C(11))
2167 #define xroad_proto_Message_MdField ((xroad_proto_Message_union_type_t)UINT8_C(12))
2168 #define xroad_proto_Message_MdIndicator ((xroad_proto_Message_union_type_t)UINT8_C(13))
2169 #define xroad_proto_Message_AccPosSubscribe ((xroad_proto_Message_union_type_t)UINT8_C(14))
2170 #define xroad_proto_Message_AccPosUnsubscribe ((xroad_proto_Message_union_type_t)UINT8_C(15))
2171 #define xroad_proto_Message_AccPosSubscriptionResult ((xroad_proto_Message_union_type_t)UINT8_C(16))
2172 #define xroad_proto_Message_AccBalanceSubscribe ((xroad_proto_Message_union_type_t)UINT8_C(17))
2173 #define xroad_proto_Message_AccBalanceUnsubscribe ((xroad_proto_Message_union_type_t)UINT8_C(18))
2174 #define xroad_proto_Message_AccBalanceSubscriptionResult ((xroad_proto_Message_union_type_t)UINT8_C(19))
2175 #define xroad_proto_Message_AccPosition ((xroad_proto_Message_union_type_t)UINT8_C(20))
2176 #define xroad_proto_Message_AccBalance ((xroad_proto_Message_union_type_t)UINT8_C(21))
2177 #define xroad_proto_Message_Order ((xroad_proto_Message_union_type_t)UINT8_C(22))
2178 #define xroad_proto_Message_OrderStatus ((xroad_proto_Message_union_type_t)UINT8_C(23))
2179 #define xroad_proto_Message_OrderAccepted ((xroad_proto_Message_union_type_t)UINT8_C(24))
2180 #define xroad_proto_Message_OrderRejected ((xroad_proto_Message_union_type_t)UINT8_C(25))
2181 #define xroad_proto_Message_CancelOrder ((xroad_proto_Message_union_type_t)UINT8_C(26))
2182 #define xroad_proto_Message_CancelAll ((xroad_proto_Message_union_type_t)UINT8_C(27))
2183 #define xroad_proto_Message_CancelOrderRejected ((xroad_proto_Message_union_type_t)UINT8_C(28))
2184 #define xroad_proto_Message_OrderCanceled ((xroad_proto_Message_union_type_t)UINT8_C(29))
2185 #define xroad_proto_Message_ReplaceOrder ((xroad_proto_Message_union_type_t)UINT8_C(30))
2186 #define xroad_proto_Message_ReplaceOrderRejected ((xroad_proto_Message_union_type_t)UINT8_C(31))
2187 #define xroad_proto_Message_OrderReplaced ((xroad_proto_Message_union_type_t)UINT8_C(32))
2188 #define xroad_proto_Message_Trade ((xroad_proto_Message_union_type_t)UINT8_C(33))
2189 #define xroad_proto_Message_DeleteOrder ((xroad_proto_Message_union_type_t)UINT8_C(35))
2190 #define xroad_proto_Message_PropRequest ((xroad_proto_Message_union_type_t)UINT8_C(36))
2191 #define xroad_proto_Message_PropSetRequest ((xroad_proto_Message_union_type_t)UINT8_C(37))
2192 #define xroad_proto_Message_Prop ((xroad_proto_Message_union_type_t)UINT8_C(38))
2193 #define xroad_proto_Message_TrdCaptReport ((xroad_proto_Message_union_type_t)UINT8_C(39))
2194 #define xroad_proto_Message_Ping ((xroad_proto_Message_union_type_t)UINT8_C(40))
2195 #define xroad_proto_Message_Pong ((xroad_proto_Message_union_type_t)UINT8_C(41))
2196 #define xroad_proto_Message_SystemState ((xroad_proto_Message_union_type_t)UINT8_C(42))
2197 #define xroad_proto_Message_Heartbeat ((xroad_proto_Message_union_type_t)UINT8_C(43))
2198 #define xroad_proto_Message_Alarm ((xroad_proto_Message_union_type_t)UINT8_C(44))
2199 #define xroad_proto_Message_ActionRequest ((xroad_proto_Message_union_type_t)UINT8_C(45))
2200 #define xroad_proto_Message_ActionResponse ((xroad_proto_Message_union_type_t)UINT8_C(46))
2201 #define xroad_proto_Message_SwSubscribe ((xroad_proto_Message_union_type_t)UINT8_C(47))
2202 #define xroad_proto_Message_SwUnsubscribe ((xroad_proto_Message_union_type_t)UINT8_C(48))
2203 #define xroad_proto_Message_SwSubscriptionResult ((xroad_proto_Message_union_type_t)UINT8_C(49))
2204 #define xroad_proto_Message_SwMessage ((xroad_proto_Message_union_type_t)UINT8_C(50))
2206 static inline const char *xroad_proto_Message_type_name(xroad_proto_Message_union_type_t type)
2209 case xroad_proto_Message_NONE:
return "NONE";
2210 case xroad_proto_Message_InstrRequest:
return "InstrRequest";
2211 case xroad_proto_Message_RequestFailed:
return "RequestFailed";
2212 case xroad_proto_Message_RequestSucceed:
return "RequestSucceed";
2213 case xroad_proto_Message_InstrListRequest:
return "InstrListRequest";
2214 case xroad_proto_Message_InstrumentDefinition:
return "InstrumentDefinition";
2215 case xroad_proto_Message_MdSubscribe:
return "MdSubscribe";
2216 case xroad_proto_Message_MdUnsubscribe:
return "MdUnsubscribe";
2217 case xroad_proto_Message_MdSubscriptionResult:
return "MdSubscriptionResult";
2218 case xroad_proto_Message_MdTrade:
return "MdTrade";
2219 case xroad_proto_Message_MdBook:
return "MdBook";
2220 case xroad_proto_Message_MdQuote:
return "MdQuote";
2221 case xroad_proto_Message_MdField:
return "MdField";
2222 case xroad_proto_Message_MdIndicator:
return "MdIndicator";
2223 case xroad_proto_Message_AccPosSubscribe:
return "AccPosSubscribe";
2224 case xroad_proto_Message_AccPosUnsubscribe:
return "AccPosUnsubscribe";
2225 case xroad_proto_Message_AccPosSubscriptionResult:
return "AccPosSubscriptionResult";
2226 case xroad_proto_Message_AccBalanceSubscribe:
return "AccBalanceSubscribe";
2227 case xroad_proto_Message_AccBalanceUnsubscribe:
return "AccBalanceUnsubscribe";
2228 case xroad_proto_Message_AccBalanceSubscriptionResult:
return "AccBalanceSubscriptionResult";
2229 case xroad_proto_Message_AccPosition:
return "AccPosition";
2230 case xroad_proto_Message_AccBalance:
return "AccBalance";
2231 case xroad_proto_Message_Order:
return "Order";
2232 case xroad_proto_Message_OrderStatus:
return "OrderStatus";
2233 case xroad_proto_Message_OrderAccepted:
return "OrderAccepted";
2234 case xroad_proto_Message_OrderRejected:
return "OrderRejected";
2235 case xroad_proto_Message_CancelOrder:
return "CancelOrder";
2236 case xroad_proto_Message_CancelAll:
return "CancelAll";
2237 case xroad_proto_Message_CancelOrderRejected:
return "CancelOrderRejected";
2238 case xroad_proto_Message_OrderCanceled:
return "OrderCanceled";
2239 case xroad_proto_Message_ReplaceOrder:
return "ReplaceOrder";
2240 case xroad_proto_Message_ReplaceOrderRejected:
return "ReplaceOrderRejected";
2241 case xroad_proto_Message_OrderReplaced:
return "OrderReplaced";
2242 case xroad_proto_Message_Trade:
return "Trade";
2243 case xroad_proto_Message_DeleteOrder:
return "DeleteOrder";
2244 case xroad_proto_Message_PropRequest:
return "PropRequest";
2245 case xroad_proto_Message_PropSetRequest:
return "PropSetRequest";
2246 case xroad_proto_Message_Prop:
return "Prop";
2247 case xroad_proto_Message_TrdCaptReport:
return "TrdCaptReport";
2248 case xroad_proto_Message_Ping:
return "Ping";
2249 case xroad_proto_Message_Pong:
return "Pong";
2250 case xroad_proto_Message_SystemState:
return "SystemState";
2251 case xroad_proto_Message_Heartbeat:
return "Heartbeat";
2252 case xroad_proto_Message_Alarm:
return "Alarm";
2253 case xroad_proto_Message_ActionRequest:
return "ActionRequest";
2254 case xroad_proto_Message_ActionResponse:
return "ActionResponse";
2255 case xroad_proto_Message_SwSubscribe:
return "SwSubscribe";
2256 case xroad_proto_Message_SwUnsubscribe:
return "SwUnsubscribe";
2257 case xroad_proto_Message_SwSubscriptionResult:
return "SwSubscriptionResult";
2258 case xroad_proto_Message_SwMessage:
return "SwMessage";
2263 static inline int xroad_proto_Message_is_known_type(xroad_proto_Message_union_type_t type)
2266 case xroad_proto_Message_NONE:
return 1;
2267 case xroad_proto_Message_InstrRequest:
return 1;
2268 case xroad_proto_Message_RequestFailed:
return 1;
2269 case xroad_proto_Message_RequestSucceed:
return 1;
2270 case xroad_proto_Message_InstrListRequest:
return 1;
2271 case xroad_proto_Message_InstrumentDefinition:
return 1;
2272 case xroad_proto_Message_MdSubscribe:
return 1;
2273 case xroad_proto_Message_MdUnsubscribe:
return 1;
2274 case xroad_proto_Message_MdSubscriptionResult:
return 1;
2275 case xroad_proto_Message_MdTrade:
return 1;
2276 case xroad_proto_Message_MdBook:
return 1;
2277 case xroad_proto_Message_MdQuote:
return 1;
2278 case xroad_proto_Message_MdField:
return 1;
2279 case xroad_proto_Message_MdIndicator:
return 1;
2280 case xroad_proto_Message_AccPosSubscribe:
return 1;
2281 case xroad_proto_Message_AccPosUnsubscribe:
return 1;
2282 case xroad_proto_Message_AccPosSubscriptionResult:
return 1;
2283 case xroad_proto_Message_AccBalanceSubscribe:
return 1;
2284 case xroad_proto_Message_AccBalanceUnsubscribe:
return 1;
2285 case xroad_proto_Message_AccBalanceSubscriptionResult:
return 1;
2286 case xroad_proto_Message_AccPosition:
return 1;
2287 case xroad_proto_Message_AccBalance:
return 1;
2288 case xroad_proto_Message_Order:
return 1;
2289 case xroad_proto_Message_OrderStatus:
return 1;
2290 case xroad_proto_Message_OrderAccepted:
return 1;
2291 case xroad_proto_Message_OrderRejected:
return 1;
2292 case xroad_proto_Message_CancelOrder:
return 1;
2293 case xroad_proto_Message_CancelAll:
return 1;
2294 case xroad_proto_Message_CancelOrderRejected:
return 1;
2295 case xroad_proto_Message_OrderCanceled:
return 1;
2296 case xroad_proto_Message_ReplaceOrder:
return 1;
2297 case xroad_proto_Message_ReplaceOrderRejected:
return 1;
2298 case xroad_proto_Message_OrderReplaced:
return 1;
2299 case xroad_proto_Message_Trade:
return 1;
2300 case xroad_proto_Message_DeleteOrder:
return 1;
2301 case xroad_proto_Message_PropRequest:
return 1;
2302 case xroad_proto_Message_PropSetRequest:
return 1;
2303 case xroad_proto_Message_Prop:
return 1;
2304 case xroad_proto_Message_TrdCaptReport:
return 1;
2305 case xroad_proto_Message_Ping:
return 1;
2306 case xroad_proto_Message_Pong:
return 1;
2307 case xroad_proto_Message_SystemState:
return 1;
2308 case xroad_proto_Message_Heartbeat:
return 1;
2309 case xroad_proto_Message_Alarm:
return 1;
2310 case xroad_proto_Message_ActionRequest:
return 1;
2311 case xroad_proto_Message_ActionResponse:
return 1;
2312 case xroad_proto_Message_SwSubscribe:
return 1;
2313 case xroad_proto_Message_SwUnsubscribe:
return 1;
2314 case xroad_proto_Message_SwSubscriptionResult:
return 1;
2315 case xroad_proto_Message_SwMessage:
return 1;
2323 static inline size_t xroad_proto_Transport_vec_len(xroad_proto_Transport_vec_t vec)
2324 __flatbuffers_vec_len(vec)
2327 __flatbuffers_table_as_root(xroad_proto_Transport)
2329 __flatbuffers_define_union_field(flatbuffers_, 1, xroad_proto_Transport, message, xroad_proto_Message, 0)
2331 #include "flatcc/flatcc_epilogue.h"
Definition: xroad_proto_reader.h:1526
Definition: xroad_proto_reader.h:1418
Definition: xroad_proto_reader.h:1501
Definition: xroad_proto_reader.h:2095
Definition: xroad_proto_reader.h:1592
Definition: xroad_proto_reader.h:1551
Definition: xroad_proto_reader.h:1536
Definition: xroad_proto_reader.h:1511
Definition: xroad_proto_reader.h:1072
Definition: xroad_proto_reader.h:1709
Definition: xroad_proto_reader.h:1133
Definition: xroad_proto_reader.h:1195
Definition: xroad_proto_reader.h:1329
Definition: xroad_proto_reader.h:1389
Definition: xroad_proto_reader.h:1344
Definition: xroad_proto_reader.h:1297
Definition: xroad_proto_reader.h:1313
Definition: xroad_proto_reader.h:1121
Definition: xroad_proto_reader.h:1744
Definition: xroad_proto_reader.h:1782
Definition: xroad_proto_reader.h:1647
Definition: xroad_proto_reader.h:1937
Definition: xroad_proto_reader.h:1974
Definition: xroad_proto_reader.h:1206
Definition: xroad_proto_reader.h:1217
Definition: xroad_proto_reader.h:1111
Definition: xroad_proto_reader.h:2109
Definition: xroad_proto_reader.h:2131
Definition: xroad_proto_reader.h:2120
Definition: xroad_proto_reader.h:1851
Definition: xroad_proto_reader.h:1861
Definition: xroad_proto_reader.h:1871
Definition: xroad_proto_reader.h:1048
Definition: xroad_proto_reader.h:2321
Definition: xroad_proto_reader.h:2031