OnixS C++ eSpeed ITCH Market Data Handler  1.7.3
API documentation
FieldAccessor.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 #pragma once
21 
23 
25 
26 /// Big-endian conversion operations
27 struct ONIXS_ESPEED_ITCH_API BigEndianConverter
28 {
29  static UInt16 get(UInt16, const void* buffer);
30  static UInt32 get(UInt32, const void* buffer);
31  static Int32 get(Int32, const void* buffer);
32  static Int64 get(Int64, const void* buffer);
33  static UInt64 get(UInt64, const void* buffer);
34 
35 private:
36  static UInt8 get(UInt8, const void*);
37  static Int8 get(Int8, const void*);
38 };
39 
40 
#define ONIXS_ESPEED_ITCH_NAMESPACE_END
Definition: Bootstrap.h:31
#define ONIXS_ESPEED_ITCH_NAMESPACE_BEGIN
Definition: Bootstrap.h:27
Big-endian conversion operations.
Definition: FieldAccessor.h:27