EMA C++ Edition
OmmArrayEntry.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_OmmArrayEntry_h
10#define __refinitiv_ema_access_OmmArrayEntry_h
11
58#include "Access/Include/Data.h"
59
60namespace refinitiv {
61
62namespace ema {
63
64namespace access {
65
66class OmmReal;
67class OmmDate;
68class OmmTime;
69class OmmDateTime;
70class OmmQos;
71class OmmState;
72class OmmError;
73class RmtesBuffer;
74
75class OmmArrayDecoder;
76
78{
79public :
80
82
83
88
94
98 const EmaString& toString() const;
99
103 const Data& getLoad() const;
104
110 Int64 getInt() const;
111
118
124 const OmmReal& getReal() const;
125
131 float getFloat() const;
132
138 double getDouble() const;
139
145 const OmmDate& getDate() const;
146
152 const OmmTime& getTime() const;
153
159 const OmmDateTime& getDateTime() const;
160
166 const OmmQos& getQos() const;
167
173 const OmmState& getState() const;
174
181
187 const EmaBuffer& getBuffer() const;
188
194 const EmaString& getAscii() const;
195
201 const EmaBuffer& getUtf8() const;
202
208 const RmtesBuffer& getRmtes() const;
209
214 const OmmError& getError() const;
216
217private :
218
219 friend class OmmArray;
220
221 OmmArrayDecoder* _pDecoder;
222 const Data* _pLoad;
223
224 mutable EmaString _toString;
225
227 virtual ~~OmmArrayEntry();
228
230 OmmArrayEntry& operator=( const OmmArrayEntry& );
231};
232
233}
234
235}
236
237}
238
239#endif //__refinitiv_ema_access_OmmArrayEntry_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
OmmArray is a homogeneous container of primitive data type entries.
Definition: OmmArray.h:87
OmmArrayEntry represents an entry of OmmArray.
Definition: OmmArrayEntry.h:78
const EmaString & toString() const
const OmmDateTime & getDateTime() const
const EmaBuffer & getUtf8() const
const RmtesBuffer & getRmtes() const
const OmmState & getState() const
const OmmError & getError() const
DataType::DataTypeEnum getLoadType() const
const OmmTime & getTime() const
const EmaBuffer & getBuffer() const
const OmmReal & getReal() const
const EmaString & getAscii() const
const OmmDate & getDate() const
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