EMA C++ Edition
OmmTime.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_OmmTime_h
10#define __refinitiv_ema_access_OmmTime_h
11
59#include "Access/Include/Data.h"
60
61namespace refinitiv {
62
63namespace ema {
64
65namespace access {
66
67class OmmTimeDecoder;
68
70{
71public :
72
74
75
79
84
88 const EmaBuffer& getAsHex() const;
89
93 const EmaString& toString() const;
94
98 UInt8 getHour() const;
99
104
109
114
119
125
126private :
127
128 friend class Decoder;
129 friend class StaticDecoder;
131
132 Decoder& getDecoder();
133 bool hasDecoder() const;
134
135 const EmaString& toString( UInt64 ) const;
136
137 const Encoder& getEncoder() const;
138 bool hasEncoder() const;
139
140 OmmTime();
141 virtual ~~OmmTime();
142 OmmTime( const OmmTime& );
143 OmmTime& operator=( const OmmTime& );
144
145 OmmTimeDecoder* _pDecoder;
146 UInt64 _space[17];
147};
148
149}
150
151}
152
153}
154
155#endif // __refinitiv_ema_access_OmmTime_h
#define EMA_ACCESS_API
Definition: Common.h:95
*|--------------------------------------------------------------------------—
Definition: AckMsg.h:62
unsigned char UInt8
represents 8-bit unsigned integer
Definition: Common.h:32
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
DateTimeStringFormat is an interface to string conversion methods for OmmDate, OmmTime & OmmDateTime.
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
OmmTime represents Time info in Omm.
Definition: OmmTime.h:70
DataType::DataTypeEnum getDataType() const
Data::DataCode getCode() const
const EmaString & toString() const
const EmaBuffer & getAsHex() const