EMA C++ Edition
ElementEntry.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_ElementEntry_h
10#define __refinitiv_ema_access_ElementEntry_h
11
60#include "Access/Include/Data.h"
61
62namespace refinitiv {
63
64namespace ema {
65
66namespace access {
67
68class ReqMsg;
69class RefreshMsg;
70class StatusMsg;
71class UpdateMsg;
72class GenericMsg;
73class PostMsg;
74class AckMsg;
75class FieldList;
76class Map;
77class Vector;
78class Series;
79class FilterList;
80class OmmArray;
81class OmmOpaque;
82class OmmXml;
83class OmmAnsiPage;
84class OmmReal;
85class OmmDate;
86class OmmTime;
87class OmmDateTime;
88class OmmQos;
89class OmmState;
90class ElementList;
91class OmmError;
92class RmtesBuffer;
93
94class ElementListDecoder;
95
97{
98public :
99
101
102
108
114
118 const EmaString& toString() const;
119
123 const EmaString& getName() const;
124
128 const Data& getLoad() const;
129
134 const ReqMsg& getReqMsg() const;
135
140 const RefreshMsg& getRefreshMsg() const;
141
146 const UpdateMsg& getUpdateMsg() const;
147
152 const StatusMsg& getStatusMsg() const;
153
158 const PostMsg& getPostMsg() const;
159
164 const AckMsg& getAckMsg() const;
165
170 const GenericMsg& getGenericMsg() const;
171
176 const FieldList& getFieldList() const;
177
183
188 const Map& getMap() const;
189
194 const Vector& getVector() const;
195
200 const Series& getSeries() const;
201
206 const FilterList& getFilterList() const;
207
212 const OmmOpaque& getOpaque() const;
213
218 const OmmXml& getXml() const;
219
224 const OmmAnsiPage& getAnsiPage() const;
225
231 Int64 getInt() const;
232
239
245 const OmmReal& getReal() const;
246
252 float getFloat() const;
253
259 double getDouble() const;
260
266 const OmmDate& getDate() const;
267
273 const OmmTime& getTime() const;
274
280 const OmmDateTime& getDateTime() const;
281
287 const OmmQos& getQos() const;
288
294 const OmmState& getState() const;
295
302
308 const EmaBuffer& getBuffer() const;
309
315 const EmaString& getAscii() const;
316
322 const EmaBuffer& getUtf8() const;
323
329 const RmtesBuffer& getRmtes() const;
330
336 const OmmArray& getArray() const;
337
342 const OmmError& getError() const;
344
345private :
346
347 friend class ElementList;
348
349 ElementListDecoder* _pDecoder;
350 const Data* const* _pLoad;
351
352 mutable EmaString _toString;
353
354 ElementEntry();
355 virtual ~~ElementEntry();
356
357 ElementEntry( const ElementEntry& );
358 ElementEntry& operator=( const ElementEntry& );
359};
360
361}
362
363}
364
365}
366
367#endif // __refinitiv_ema_access_ElementEntry_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.
AckMsg indicates success or failure of PostMsg.
Definition: AckMsg.h:69
Data class is a parent abstract class defining common interfaces for all Data type classes.
Definition: Data.h:39
ElementEntry represents an entry of ElementList.
Definition: ElementEntry.h:97
const EmaBuffer & getUtf8() const
const OmmOpaque & getOpaque() const
const GenericMsg & getGenericMsg() const
const OmmDate & getDate() const
Data::DataCode getCode() const
const OmmState & getState() const
const OmmTime & getTime() const
const ReqMsg & getReqMsg() const
const ElementList & getElementList() const
const EmaString & getAscii() const
const UpdateMsg & getUpdateMsg() const
const FilterList & getFilterList() const
const EmaString & toString() const
DataType::DataTypeEnum getLoadType() const
const RefreshMsg & getRefreshMsg() const
const Vector & getVector() const
const FieldList & getFieldList() const
const EmaBuffer & getBuffer() const
const OmmAnsiPage & getAnsiPage() const
const OmmError & getError() const
const StatusMsg & getStatusMsg() const
const OmmDateTime & getDateTime() const
const EmaString & getName() const
const OmmArray & getArray() const
const AckMsg & getAckMsg() const
const PostMsg & getPostMsg() const
const RmtesBuffer & getRmtes() const
const Series & getSeries() const
const OmmReal & getReal() const
ElementList is a heterogeneous container of complex and primitive data type entries.
Definition: ElementList.h:178
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
FieldList is a heterogeneous container of complex and primitive data type entries.
Definition: FieldList.h:180
FilterList is a heterogeneous container of complex data type entries.
Definition: FilterList.h:134
GenericMsg allows applications to bidirectionally send messages without any implied message semantics...
Definition: GenericMsg.h:88
Map is a homogeneous container of complex data type entries.
Definition: Map.h:126
OmmAnsiPage represents AnsiPage data format in Omm.
Definition: OmmAnsiPage.h:73
OmmArray is a homogeneous container of primitive data type entries.
Definition: OmmArray.h:87
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
OmmOpaque represents Opaque data format in Omm.
Definition: OmmOpaque.h:73
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
OmmXml represents XML data format in Omm.
Definition: OmmXml.h:73
PostMsg allows consumer applications to contribute content.
Definition: PostMsg.h:63
RefreshMsg conveys item image, state, permission and group information.
Definition: RefreshMsg.h:80
ReqMsg allows consumer application to express its interest in an item.
Definition: ReqMsg.h:60
RmtesBuffer represents RMTES data.
Definition: RmtesBuffer.h:55
Series is a homogeneous container of complex data type entries.
Definition: Series.h:130
StatusMsg conveys item state information.
Definition: StatusMsg.h:81
UpdateMsg conveys changes to item data.
Definition: UpdateMsg.h:73
Vector is a homogeneous container of complex data type entries.
Definition: Vector.h:123