EMA C++ Edition
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
List of all members | Public Types | Protected Member Functions | Friends
thomsonreuters::ema::access::Data Class Referenceabstract

Data class is a parent abstract class defining common interfaces for all Data type classes. More...

Inheritance diagram for thomsonreuters::ema::access::Data:
thomsonreuters::ema::access::ComplexType thomsonreuters::ema::access::OmmArray thomsonreuters::ema::access::OmmAscii thomsonreuters::ema::access::OmmBuffer thomsonreuters::ema::access::OmmDate thomsonreuters::ema::access::OmmDateTime thomsonreuters::ema::access::OmmDouble thomsonreuters::ema::access::OmmEnum thomsonreuters::ema::access::OmmError thomsonreuters::ema::access::OmmFloat thomsonreuters::ema::access::OmmInt thomsonreuters::ema::access::OmmQos thomsonreuters::ema::access::OmmReal thomsonreuters::ema::access::OmmRmtes thomsonreuters::ema::access::OmmState thomsonreuters::ema::access::OmmTime thomsonreuters::ema::access::OmmUInt thomsonreuters::ema::access::OmmUtf8

Public Types

enum  DataCode {
  NoCodeEnum = 0,
  BlankEnum = 1
}
 

Public Member Functions

Accessors
const EmaStringgetCodeAsString () const
 
virtual DataType::DataTypeEnum getDataType () const =0
 
virtual DataCode getCode () const =0
 
virtual const EmaBuffergetAsHex () const =0
 
virtual const EmaStringtoString () const =0
 
 operator const char * () const
 
Destructor
virtual ~Data ()
 

Protected Member Functions

 Data ()
 

Friends

class AckMsg
 
class AckMsgEncoder
 
class Decoder
 
class ElementEntry
 
class ElementList
 
class ElementListDecoder
 
class ElementListEncoder
 
class FieldEntry
 
class FieldList
 
class FieldListDecoder
 
class FieldListEncoder
 
class FilterEntry
 
class FilterList
 
class FilterListEncoder
 
class GenericMsg
 
class GenericMsgEncoder
 
class Map
 
class MapEncoder
 
class MapEntry
 
class MsgDecoder
 
class OmmArray
 
class PostMsg
 
class PostMsgEncoder
 
class RefreshMsg
 
class RefreshMsgEncoder
 
class ReqMsg
 
class ReqMsgEncoder
 
class Series
 
class SeriesEncoder
 
class SeriesEntry
 
class StaticDecoder
 
class StatusMsg
 
class StatusMsgEncoder
 
class UpdateMsg
 
class UpdateMsgEncoder
 
class Vector
 
class VectorEncoder
 
class VectorEntry
 

Detailed Description

All classes representing OMM Data inherit from this class.

Remarks
Objects of this class are intended to be short lived or rather transitional.
Objects of this class are not cache-able.
All methods in this class are Lock-free Method.
See Also
EmaString, EmaBuffer

Definition at line 38 of file Data.h.

Member Enumeration Documentation

An enumeration representing special state of Data.

Enumerator
NoCodeEnum 

Indicates no special code. Application typically processes a valid DataType value.

BlankEnum 

Indicates the value is unspecified. An application typically sets the blank code when needing to initialize or clear a field.

Definition at line 45 of file Data.h.

Constructor & Destructor Documentation

virtual thomsonreuters::ema::access::Data::~Data ( )
virtual

Destructor.

thomsonreuters::ema::access::Data::Data ( )
protected

Member Function Documentation

virtual const EmaBuffer& thomsonreuters::ema::access::Data::getAsHex ( ) const
pure virtual
virtual DataCode thomsonreuters::ema::access::Data::getCode ( ) const
pure virtual
const EmaString& thomsonreuters::ema::access::Data::getCodeAsString ( ) const

Returns the DataCode value in a string format.

Returns
string representation of this object's data code
virtual DataType::DataTypeEnum thomsonreuters::ema::access::Data::getDataType ( ) const
pure virtual
thomsonreuters::ema::access::Data::operator const char * ( ) const

Operator const char* overload.

Remarks
invokes toString().c_str()
Returns
a NULL terminated character string representation of this object
virtual const EmaString& thomsonreuters::ema::access::Data::toString ( ) const
pure virtual

Friends And Related Function Documentation

friend class AckMsg
friend

Definition at line 124 of file Data.h.

friend class AckMsgEncoder
friend

Definition at line 105 of file Data.h.

friend class Decoder
friend

Definition at line 101 of file Data.h.

friend class ElementEntry
friend

Definition at line 140 of file Data.h.

friend class ElementList
friend

Definition at line 132 of file Data.h.

friend class ElementListDecoder
friend

Definition at line 120 of file Data.h.

friend class ElementListEncoder
friend

Definition at line 113 of file Data.h.

friend class FieldEntry
friend

Definition at line 139 of file Data.h.

friend class FieldList
friend

Definition at line 133 of file Data.h.

friend class FieldListDecoder
friend

Definition at line 121 of file Data.h.

friend class FieldListEncoder
friend

Definition at line 114 of file Data.h.

friend class FilterEntry
friend

Definition at line 142 of file Data.h.

friend class FilterList
friend

Definition at line 134 of file Data.h.

friend class FilterListEncoder
friend

Definition at line 115 of file Data.h.

friend class GenericMsg
friend

Definition at line 125 of file Data.h.

friend class GenericMsgEncoder
friend

Definition at line 106 of file Data.h.

friend class Map
friend

Definition at line 135 of file Data.h.

friend class MapEncoder
friend

Definition at line 116 of file Data.h.

friend class MapEntry
friend

Definition at line 141 of file Data.h.

friend class MsgDecoder
friend

Definition at line 103 of file Data.h.

friend class OmmArray
friend

Definition at line 123 of file Data.h.

friend class PostMsg
friend

Definition at line 126 of file Data.h.

friend class PostMsgEncoder
friend

Definition at line 107 of file Data.h.

friend class RefreshMsg
friend

Definition at line 128 of file Data.h.

friend class RefreshMsgEncoder
friend

Definition at line 109 of file Data.h.

friend class ReqMsg
friend

Definition at line 127 of file Data.h.

friend class ReqMsgEncoder
friend

Definition at line 108 of file Data.h.

friend class Series
friend

Definition at line 136 of file Data.h.

friend class SeriesEncoder
friend

Definition at line 118 of file Data.h.

friend class SeriesEntry
friend

Definition at line 144 of file Data.h.

friend class StaticDecoder
friend

Definition at line 102 of file Data.h.

friend class StatusMsg
friend

Definition at line 129 of file Data.h.

friend class StatusMsgEncoder
friend

Definition at line 110 of file Data.h.

friend class UpdateMsg
friend

Definition at line 130 of file Data.h.

friend class UpdateMsgEncoder
friend

Definition at line 111 of file Data.h.

friend class Vector
friend

Definition at line 137 of file Data.h.

friend class VectorEncoder
friend

Definition at line 117 of file Data.h.

friend class VectorEntry
friend

Definition at line 143 of file Data.h.