OnixS C++ CME MDP Premium Market Data Handler 5.9.0
API Documentation
Loading...
Searching...
No Matches
ImpliedBook.h
Go to the documentation of this file.
1// Copyright Onix Solutions Limited [OnixS]. All rights reserved.
2//
3// This software owned by Onix Solutions Limited [OnixS] and is
4// protected by copyright law and international copyright treaties.
5//
6// Access to and use of the software is governed by the terms of the applicable
7// OnixS Software Services Agreement (the Agreement) and Customer end user license
8// agreements granting a non-assignable, non-transferable and non-exclusive license
9// to use the software for it's own data processing purposes under the terms defined
10// in the Agreement.
11//
12// Except as otherwise granted within the terms of the Agreement, copying or
13// reproduction of any part of this source code or associated reference material
14// to any other location for further reproduction or redistribution, and any
15// amendments to this copyright notice, are expressly prohibited.
16//
17// Any reproduction or redistribution for sale or hiring of the Software not in
18// accordance with the terms of the Agreement is a violation of copyright law.
19//
20
21#pragma once
22
26
28
31
34
37void brief(std::string&, const ImpliedBook&);
38
40inline std::string brief(const ImpliedBook& book)
41{
42 std::string str;
43
44 brief(str, book);
45
46 return str;
47}
48
51void toStr(std::string&, const ImpliedBook&);
52
54inline std::string toStr(const ImpliedBook& book)
55{
56 std::string str;
57
58 toStr(str, book);
59
60 return str;
61}
62
65void toFormattedStr(std::string&, const ImpliedBook&);
66
68inline std::string toFormattedStr(const ImpliedBook& book)
69{
70 std::string str;
71
72 toFormattedStr(str, book);
73
74 return str;
75}
76
#define ONIXS_CMEMDH_NAMESPACE_BEGIN
Definition Bootstrap.h:67
#define ONIXS_CMEMDH_NAMESPACE_END
Definition Bootstrap.h:68
#define ONIXS_CMEMDH_EXPORTED
Definition Compiler.h:171
Serves as a factory for book of given type.
Definition MbpBook.h:246
Base attributes of order book.
Definition MbpBook.h:60
void toFormattedStr(std::string &, const ConsolidatedBook &)
Serializes book in formatted form.
MbpBook< ImpliedPriceLevel, MbpBookDepth > ImpliedBook
Defines implied book.
Definition ImpliedBook.h:30
void toStr(std::string &, BookState::Enum)
Serializes book state value into a string.
MbpBookFactory< ImpliedPriceLevel, MbpBookDepth > ImpliedBookFactory
Factory for implied order books.
Definition ImpliedBook.h:33
void brief(std::string &, const ConsolidatedBook &)
Book brief info.