EMA C++ Edition
RmtesBuffer.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, 2024 LSEG. All rights reserved. --
6 *|-----------------------------------------------------------------------------
7 */
8
9#ifndef __refinitiv_ema_access_RmtesBuffer_h
10#define __refinitiv_ema_access_RmtesBuffer_h
11
37
38
39
40namespace refinitiv{
41
42namespace ema {
43
44namespace access {
45class EmaUnitTestConnect;
46class EmaBuffer;
47class EmaString;
48class EmaBufferU16;
49class RmtesBufferImpl;
50
51class OmmRmtesDecoder;
52
53
55{
56public :
57
59
60
63
70
77 RmtesBuffer( const char* buf, UInt32 length );
78
84 RmtesBuffer( const RmtesBuffer& buf );
86
88
89
91 virtual ~RmtesBuffer();
93
95
96
101 const EmaBuffer& getAsUTF8() const;
102
108 const EmaBufferU16& getAsUTF16() const;
109
113 const EmaBuffer& getAsEmaBuffer() const;
114
120 const EmaString& toString() const;
122
124
125
129
137
145 RmtesBuffer& apply( const char* buf, UInt32 length );
146
155
156private :
157
158 friend class OmmRmtesDecoder;
159 friend class EmaUnitTestConnect;
160
161 RmtesBufferImpl* _pImpl;
162 UInt64 _space[27];
163};
164
165}
166
167}
168
169}
170
171#endif // __refinitiv_ema_access_RmtesBuffer_h
Common.h file provides definitions of common variable types used in EMA.
#define EMA_ACCESS_API
Definition: Common.h:95
*|--------------------------------------------------------------------------—
Definition: AckMsg.h:62
unsigned int UInt32
represents 32-bit unsigned integer
Definition: Common.h:56
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.
EmaBuffer represents a general use binary buffer.
Definition: EmaBuffer.h:33
EmaBufferU16 represents general use binary buffer.
Definition: EmaBufferU16.h:32
EmaString class is a container of a null terminated Ascii character string.
Definition: EmaString.h:57
RmtesBuffer represents RMTES data.
Definition: RmtesBuffer.h:55
RmtesBuffer & apply(const EmaBuffer &buf)
RmtesBuffer(const RmtesBuffer &buf)
RmtesBuffer(const char *buf, UInt32 length)
RmtesBuffer & apply(const RmtesBuffer &buf)
const EmaBufferU16 & getAsUTF16() const
const EmaBuffer & getAsEmaBuffer() const
RmtesBuffer & apply(const char *buf, UInt32 length)
const EmaBuffer & getAsUTF8() const
const EmaString & toString() const