EMA C++ Edition
OmmUtf8.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_OmmUtf8_h
10#define __refinitiv_ema_access_OmmUtf8_h
11
40#include "Access/Include/Data.h"
41
42namespace refinitiv {
43
44namespace ema {
45
46namespace access {
47
48class OmmUtf8Decoder;
49
51{
52public :
53
55
56
60
65
69 const EmaBuffer& getAsHex() const;
70
74 const EmaString& toString() const;
75
79 const EmaBuffer& getUtf8() const;
81
82private :
83
84 friend class Decoder;
85 friend class StaticDecoder;
86
87 Decoder& getDecoder();
88 bool hasDecoder() const;
89
90 const EmaString& toString( UInt64 ) const;
91
92 const Encoder& getEncoder() const;
93 bool hasEncoder() const;
94
95 OmmUtf8();
96 virtual ~~OmmUtf8();
97 OmmUtf8( const OmmUtf8& );
98 OmmUtf8& operator=( const OmmUtf8& );
99
100 OmmUtf8Decoder* _pDecoder;
101 UInt64 _space[17];
102};
103
104}
105
106}
107
108}
109
110#endif // __refinitiv_ema_access_OmmUtf8_h
#define EMA_ACCESS_API
Definition: Common.h:95
*|--------------------------------------------------------------------------—
Definition: AckMsg.h:62
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
OmmUtf8 represents Utf8 string value in Omm.
Definition: OmmUtf8.h:51
const EmaBuffer & getAsHex() const
const EmaBuffer & getUtf8() const
DataType::DataTypeEnum getDataType() const
Data::DataCode getCode() const
const EmaString & toString() const