OmmReal represents Real number in Omm. More...
Public Types | |
enum | MagnitudeType { ExponentNeg14Enum = 0 , ExponentNeg13Enum = 1 , ExponentNeg12Enum = 2 , ExponentNeg11Enum = 3 , ExponentNeg10Enum = 4 , ExponentNeg9Enum = 5 , ExponentNeg8Enum = 6 , ExponentNeg7Enum = 7 , ExponentNeg6Enum = 8 , ExponentNeg5Enum = 9 , ExponentNeg4Enum = 10 , ExponentNeg3Enum = 11 , ExponentNeg2Enum = 12 , ExponentNeg1Enum = 13 , Exponent0Enum = 14 , ExponentPos1Enum = 15 , ExponentPos2Enum = 16 , ExponentPos3Enum = 17 , ExponentPos4Enum = 18 , ExponentPos5Enum = 19 , ExponentPos6Enum = 20 , ExponentPos7Enum = 21 , Divisor1Enum = 22 , Divisor2Enum = 23 , Divisor4Enum = 24 , Divisor8Enum = 25 , Divisor16Enum = 26 , Divisor32Enum = 27 , Divisor64Enum = 28 , Divisor128Enum = 29 , Divisor256Enum = 30 , InfinityEnum = 33 , NegInfinityEnum = 34 , NotANumberEnum = 35 } |
![]() | |
enum | DataCode { NoCodeEnum = 0 , BlankEnum = 1 } |
Accessors | |
class | Decoder |
class | StaticDecoder |
const EmaString & | getMagnitudeTypeAsString () const |
More... | |
DataType::DataTypeEnum | getDataType () const |
More... | |
Data::DataCode | getCode () const |
More... | |
const EmaBuffer & | getAsHex () const |
More... | |
const EmaString & | toString () const |
More... | |
Int64 | getMantissa () const |
More... | |
MagnitudeType | getMagnitudeType () const |
More... | |
double | getAsDouble () const |
More... | |
Additional Inherited Members | |
![]() | |
const EmaString & | getCodeAsString () const |
More... | |
operator const char * () const | |
More... | |
virtual | ~Data () |
More... | |
![]() | |
Data () | |
OmmReal encapsulates magnitude type and mantissa information.
The following code snippet shows setting of Real in FieldList;
The following code snippet shows extraction of OmmReal from FieldList.
An enumeration representing item stream data state.
double refinitiv::ema::access::OmmReal::getAsDouble | ( | ) | const |
Returns AsDouble.
|
virtual |
Returns a buffer that in turn provides an alphanumeric null-terminated hexadecimal string representation.
Implements refinitiv::ema::access::Data.
|
virtual |
Returns the Code, which indicates a special state of a DataType.
Implements refinitiv::ema::access::Data.
|
virtual |
Returns the DataType, which is the type of Omm data. Results in this class type.
Implements refinitiv::ema::access::Data.
MagnitudeType refinitiv::ema::access::OmmReal::getMagnitudeType | ( | ) | const |
Returns MagnitudeType.
const EmaString& refinitiv::ema::access::OmmReal::getMagnitudeTypeAsString | ( | ) | const |
Returns the MagnitudeType value as a string format.
Int64 refinitiv::ema::access::OmmReal::getMantissa | ( | ) | const |
Returns Mantissa.
|
virtual |
Returns a string representation of the class instance.
Implements refinitiv::ema::access::Data.
![]() |
![]() |
|