OnixS ICE iMpact Multicast Price Feed Handler C++ library  8.18.0
API documentation
DebugResponse.h
Go to the documentation of this file.
1 /**
2  * \file
3  * \brief Declare internal `OnixS::ICE::iMpact::MarketData::DebugResponse` message structure
4  * \attention DO NOT EDIT! This file was generated!
5  */
6 /*
7  * Copyright (c) Onix Solutions Limited. All rights reserved.
8  *
9  * This software owned by Onix Solutions Limited and is protected by copyright law
10  * and international copyright treaties.
11  *
12  * Access to and use of the software is governed by the terms of the applicable ONIXS Software
13  * Services Agreement (the Agreement) and Customer end user license agreements granting
14  * a non-assignable, non-transferable and non-exclusive license to use the software
15  * for it's own data processing purposes under the terms defined in the Agreement.
16  *
17  * Except as otherwise granted within the terms of the Agreement, copying or reproduction of any part
18  * of this source code or associated reference material to any other location for further reproduction
19  * or redistribution, and any amendments to this copyright notice, are expressly prohibited.
20  *
21  * Any reproduction or redistribution for sale or hiring of the Software not in accordance with
22  * the terms of the Agreement is a violation of copyright law.
23  */
24 
25 #pragma once
26 
27 // Project specific headers
28 #include "../Export.h"
29 #include "../Types.h"
30 
31 // Standard headers
32 #include <iosfwd>
33 #include <string>
34 
35 namespace OnixS { namespace ICE { namespace iMpact { namespace MarketData {
36 
37 /// This class represents the Debug Response Message.
38 struct ONIXS_ICEMDH_EXPORT DebugResponse
39 {
40  /// Message type constant
41  enum
42  {
43  messageType = 'P'
44  };
45 
46  /// The original request sequence ID assigned by client, unique per
47  /// session.
49 
50  /// Debug text message from server.
51  std::string text;
52 
53  /// Default constructor.
54  DebugResponse();
55 
56  /// Initialize from raw message data.
57  DebugResponse(const char* data, std::size_t dataSize);
58 
59  /// Deserialize from raw data.
60  void deserialize(const char* data, std::size_t dataSize);
61 
62  /// Reset all fields to default values.
63  void reset();
64 
65  /// Returns string representation.
66  std::string toString() const;
67 };
68 
69 /// Make it printable using C++ I/O streams.
70 ONIXS_ICEMDH_EXPORT std::ostream& operator<<(std::ostream&, const DebugResponse&);
71 
72 }}}} // namespace OnixS::ICE::iMpact::MarketData
std::ostream & operator<<(std::ostream &, const Error &)
Make it printable to formatted C++ I/O streams.
This class represents the Debug Response Message.
Definition: DebugResponse.h:38
std::string text
Debug text message from server.
Definition: DebugResponse.h:51