EMA C++ Edition
Key.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 LSEG. All rights reserved. --
6 *|-----------------------------------------------------------------------------
7 */
8
9#ifndef __refinitiv_ema_access_key_h
10#define __refinitiv_ema_access_key_h
11
70#include "Access/Include/Data.h"
71
72namespace refinitiv {
73
74namespace ema {
75
76namespace access {
77
78class OmmReal;
79class OmmDate;
80class OmmTime;
81class OmmDateTime;
82class OmmQos;
83class OmmState;
84class OmmError;
85class RmtesBuffer;
86
88{
89public :
90
92
93
98
102 const Data& getData() const;
103
108 Int64 getInt() const;
109
115
120 const OmmReal& getReal() const;
121
126 float getFloat() const;
127
132 double getDouble() const;
133
138 const OmmDate& getDate() const;
139
144 const OmmTime& getTime() const;
145
150 const OmmDateTime& getDateTime() const;
151
156 const OmmQos& getQos() const;
157
162 const OmmState& getState() const;
163
169
174 const EmaBuffer& getBuffer() const;
175
180 const EmaString& getAscii() const;
181
186 const EmaBuffer& getUtf8() const;
187
192 const RmtesBuffer& getRmtes() const;
193
198 const OmmError& getError() const;
200
202
203
205 virtual ~Key();
207
208private :
209
210 friend class Map;
211 friend class MapEntry;
212
213 const Data* _pData;
214
215 Key();
216 Key( const Key& );
217 Key& operator=( const Key& );
218};
219
220}
221
222}
223
224}
225
226#endif // __refinitiv_ema_access_key_h
#define EMA_ACCESS_API
Definition: Common.h:95
*|--------------------------------------------------------------------------—
Definition: AckMsg.h:62
long long Int64
represents 64-bit signed integer
Definition: Common.h:74
unsigned short UInt16
represents 16-bit unsigned integer
Definition: Common.h:44
unsigned long long UInt64
represents 64-bit unsigned integer
Definition: Common.h:68
The access namespace contains all interfaces and definitions specified for use with the EMA Access pa...
The ema namespace contains all interfaces and definitions specified for use with EMA.
Data class is a parent abstract class defining common interfaces for all Data type classes.
Definition: Data.h:39
EmaBuffer represents a general use binary buffer.
Definition: EmaBuffer.h:33
EmaString class is a container of a null terminated Ascii character string.
Definition: EmaString.h:57
Key conveys MapEntry key information.
Definition: Key.h:88
const Data & getData() const
const OmmDateTime & getDateTime() const
DataType::DataTypeEnum getDataType() const
const EmaString & getAscii() const
const OmmReal & getReal() const
const OmmTime & getTime() const
const OmmDate & getDate() const
const OmmError & getError() const
const EmaBuffer & getBuffer() const
const EmaBuffer & getUtf8() const
const RmtesBuffer & getRmtes() const
const OmmState & getState() const
const OmmQos & getQos() const
Map is a homogeneous container of complex data type entries.
Definition: Map.h:126
MapEntry represents an entry of Map.
Definition: MapEntry.h:96
OmmDate represents Date info in Omm.
Definition: OmmDate.h:70
OmmDateTime represents DateTime info in Omm.
Definition: OmmDateTime.h:64
OmmError represents received Omm data who fails to process properly.
Definition: OmmError.h:63
OmmReal represents Real number in Omm.
Definition: OmmReal.h:72
OmmState represents State information in Omm.
Definition: OmmState.h:51
OmmTime represents Time info in Omm.
Definition: OmmTime.h:70
RmtesBuffer represents RMTES data.
Definition: RmtesBuffer.h:55