EMA C++ Edition
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OmmRmtes.h
Go to the documentation of this file.
1 /*|-----------------------------------------------------------------------------
2  *| This source code is provided under the Apache 2.0 license --
3  *| and is provided AS IS with no warranty or guarantee of fit for purpose. --
4  *| See the project's LICENSE.md for details. --
5  *| Copyright (C) 2019 Refinitiv. All rights reserved. --
6  *|-----------------------------------------------------------------------------
7  */
8 
9 #ifndef __thomsonreuters_ema_access_OmmRmtes_h
10 #define __thomsonreuters_ema_access_OmmRmtes_h
11 
40 #include "Access/Include/Data.h"
41 
42 namespace thomsonreuters {
43 
44 namespace ema {
45 
46 namespace access {
47 
48 class RmtesBuffer;
49 class OmmRmtesDecoder;
50 
52 {
53 public :
54 
56 
57 
60  DataType::DataTypeEnum getDataType() const;
61 
65  Data::DataCode getCode() const;
66 
70  const EmaBuffer& getAsHex() const;
71 
75  const EmaString& toString() const;
76 
80  const RmtesBuffer& getRmtes() const;
82 
83 private :
84 
85  friend class Decoder;
86  friend class StaticDecoder;
87 
88  const EmaString& toString( UInt64 ) const;
89 
90  Decoder& getDecoder();
91  bool hasDecoder() const;
92  Decoder& setDecoder( Decoder& );
93  const Encoder& getEncoder() const;
94  bool hasEncoder() const;
95 
96  OmmRmtes();
97  virtual ~OmmRmtes();
98  OmmRmtes( const OmmRmtes& );
99  OmmRmtes& operator=( const OmmRmtes& );
100 
101  OmmRmtesDecoder* _pDecoder;
102  UInt64 _space[30];
103 };
104 
105 }
106 
107 }
108 
109 }
110 
111 #endif // __thomsonreuters_ema_access_OmmRmtes_h
unsigned long long UInt64
represents 64-bit unsigned integer
Definition: Common.h:68
EmaString class is a container of a null terminated Ascii character string.
Definition: EmaString.h:56
EmaBuffer represents a general use binary buffer.
Definition: EmaBuffer.h:32
#define EMA_ACCESS_API
Definition: Common.h:95
Data class is a parent abstract class defining common interfaces for all Data type classes...
Definition: Data.h:38
RmtesBuffer represents RMTES data.
Definition: RmtesBuffer.h:54
OmmRmtes represents Rmtes string value in Omm.
Definition: OmmRmtes.h:51