OnixS C++ CME MDP Streamlined Market Data Handler 1.2.0
API Documentation
Loading...
Searching...
No Matches
NetFeedAttributes.h
Go to the documentation of this file.
1// Copyright Onix Solutions Limited [OnixS]. All rights reserved.
2//
3// This software owned by Onix Solutions Limited [OnixS] and is
4// protected by copyright law and international copyright treaties.
5//
6// Access to and use of the software is governed by the terms of the applicable
7// OnixS Software Services Agreement (the Agreement) and Customer end user license
8// agreements granting a non-assignable, non-transferable and non-exclusive license
9// to use the software for it's own data processing purposes under the terms defined
10// in the Agreement.
11//
12// Except as otherwise granted within the terms of the Agreement, copying or
13// reproduction of any part of this source code or associated reference material
14// to any other location for further reproduction or redistribution, and any
15// amendments to this copyright notice, are expressly prohibited.
16//
17// Any reproduction or redistribution for sale or hiring of the Software not in
18// accordance with the terms of the Agreement is a violation of copyright law.
19//
20
21#pragma once
22
24
26
43
46void
48 std::string&,
50
52inline
53std::string
56{
57 std::string str;
58
59 toStr(str, type);
60
61 return str;
62}
63
66{
68 typedef Char Base;
69
71 enum Enum
72 {
74 A = 'A',
75
77 B = 'B'
78 };
79};
80
82inline
83void
85 std::string& str,
87{
88 str.append(
89 1,
90 static_cast<char>(role));
91}
92
94inline
95std::string
98{
99 return
100 std::string(
101 1,
102 static_cast<char>(role)
103 );
104}
105
#define ONIXS_CMESTREAMLINEDMDH_NAMESPACE_BEGIN
Definition Bootstrap.h:169
#define ONIXS_CMESTREAMLINEDMDH_LTWT_STRUCT
Definition Bootstrap.h:115
#define ONIXS_CMESTREAMLINEDMDH_NAMESPACE_END
Definition Bootstrap.h:173
#define ONIXS_CMESTREAMLINEDMDH_EXPORTED
Definition Compiler.h:160
char Char
Character type alias.
Definition String.h:36
void toStr(std::string &str, const Decimal &number)
Definition Decimal.h:502
Feed roles (primary, secondary).
Char Base
Integral base type of enumeration.
@ B
Identifies secondary feed (B).
Feed types based on type of market data service.
Char Base
Integral base type of enumeration.
Enum
Feed types based on type of market data service.