EMA C++ Edition
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
List of all members | Friends
thomsonreuters::ema::access::OmmFloat Class Reference
Inheritance diagram for thomsonreuters::ema::access::OmmFloat:
thomsonreuters::ema::access::Data

Public Member Functions

Accessors
DataType::DataTypeEnum getDataType () const
 
Data::DataCode getCode () const
 
const EmaBuffergetAsHex () const
 
const EmaStringtoString () const
 
float getFloat () const
 
- Public Member Functions inherited from thomsonreuters::ema::access::Data
const EmaStringgetCodeAsString () const
 
 operator const char * () const
 
virtual ~Data ()
 

Friends

class Decoder
 
class StaticDecoder
 

Additional Inherited Members

- Public Types inherited from thomsonreuters::ema::access::Data
enum  DataCode {
  NoCodeEnum = 0,
  BlankEnum = 1
}
 
- Protected Member Functions inherited from thomsonreuters::ema::access::Data
 Data ()
 

Detailed Description

Definition at line 50 of file OmmFloat.h.

Member Function Documentation

const EmaBuffer& thomsonreuters::ema::access::OmmFloat::getAsHex ( ) const
virtual

Returns a buffer that in turn provides an alphanumeric null-terminated hexadecimal string representation.

Returns
EmaBuffer with the message hex information

Implements thomsonreuters::ema::access::Data.

Data::DataCode thomsonreuters::ema::access::OmmFloat::getCode ( ) const
virtual

Returns the Code, which indicates a special state of a DataType.

Returns
Data::BlankEnum if received data is blank; Data::NoCodeEnum otherwise

Implements thomsonreuters::ema::access::Data.

DataType::DataTypeEnum thomsonreuters::ema::access::OmmFloat::getDataType ( ) const
virtual

Returns the DataType, which is the type of Omm data. Results in this class type.

Returns
DataType::FloatEnum

Implements thomsonreuters::ema::access::Data.

float thomsonreuters::ema::access::OmmFloat::getFloat ( ) const

Returns Float.

Returns
value of float
const EmaString& thomsonreuters::ema::access::OmmFloat::toString ( ) const
virtual

Returns a string representation of the class instance.

Returns
string representation of the class instance (e.g., "1234.12" )

Implements thomsonreuters::ema::access::Data.

Friends And Related Function Documentation

friend class Decoder
friend

Definition at line 84 of file OmmFloat.h.

friend class StaticDecoder
friend

Definition at line 85 of file OmmFloat.h.