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

SeriesEntry represents an entry of Series. More...

Public Member Functions

Accessors
DataType::DataTypeEnum getLoadType () const
 
const EmaStringtoString () const
 
const ReqMsggetReqMsg () const
 
const RefreshMsggetRefreshMsg () const
 
const UpdateMsggetUpdateMsg () const
 
const StatusMsggetStatusMsg () const
 
const PostMsggetPostMsg () const
 
const AckMsggetAckMsg () const
 
const GenericMsggetGenericMsg () const
 
const FieldListgetFieldList () const
 
const ElementListgetElementList () const
 
const MapgetMap () const
 
const VectorgetVector () const
 
const SeriesgetSeries () const
 
const FilterListgetFilterList () const
 
const OmmOpaquegetOpaque () const
 
const OmmXmlgetXml () const
 
const OmmAnsiPagegetAnsiPage () const
 
const DatagetLoad () const
 
const OmmErrorgetError () const
 

Friends

class Series
 

Detailed Description

SeriesEntry associates entry's data and its data type.

decodeSeries( const Series& series )
{
while ( series.forth() )
{
const SeriesEntry& seriesEntry = series.getEntry();
...
}
}
Remarks
Objects of this class are intended to be short lived or rather transitional.
This class is designed to efficiently perform extracting of data from entry.
Objects of this class are not cache-able.
All methods in this class are Lock-free Method.
See Also
Data, ComplexType ReqMsg, RefreshMsg, UpdateMsg, StatusMsg, GenericMsg, PostMsg, AckMsg, FieldList, ElementList, Map, Vector, Series, FilterList, OmmOpaque, OmmXml, OmmAnsiPage, OmmError

Definition at line 86 of file SeriesEntry.h.

Member Function Documentation

const AckMsg& thomsonreuters::ema::access::SeriesEntry::getAckMsg ( ) const

Returns the current OMM data represented as a specific complex type.

Exceptions
OmmInvalidUsageExceptionif contained object is not AckMsg
Returns
AckMsg class reference to contained entry's load object
const OmmAnsiPage& thomsonreuters::ema::access::SeriesEntry::getAnsiPage ( ) const

Returns the current OMM data represented as a specific complex type.

Exceptions
OmmInvalidUsageExceptionif contained object is not OmmAnsiPage
Returns
OmmAnsiPage class reference to contained entry's load object
const ElementList& thomsonreuters::ema::access::SeriesEntry::getElementList ( ) const

Returns the current OMM data represented as a specific complex type.

Exceptions
OmmInvalidUsageExceptionif contained object is not ElementList
Returns
ElementList class reference to contained entry's load object
const OmmError& thomsonreuters::ema::access::SeriesEntry::getError ( ) const

Returns Error.

Exceptions
OmmInvalidUsageExceptionif contained object is not OmmError
Returns
OmmError class reference to contained entry's load object
const FieldList& thomsonreuters::ema::access::SeriesEntry::getFieldList ( ) const

Returns the current OMM data represented as a specific complex type.

Exceptions
OmmInvalidUsageExceptionif contained object is not FieldList
Returns
FieldList class reference to contained entry's load object
const FilterList& thomsonreuters::ema::access::SeriesEntry::getFilterList ( ) const

Returns the current OMM data represented as a specific complex type.

Exceptions
OmmInvalidUsageExceptionif contained object is not FilterList
Returns
FilterList class reference to contained entry's load object
const GenericMsg& thomsonreuters::ema::access::SeriesEntry::getGenericMsg ( ) const

Returns the current OMM data represented as a specific complex type.

Exceptions
OmmInvalidUsageExceptionif contained object is not GenericMsg
Returns
GenericMsg class reference to contained entry's load object
const Data& thomsonreuters::ema::access::SeriesEntry::getLoad ( ) const

Returns the contained Data based on the DataType.

Returns
Data class reference to contained entry's load object
DataType::DataTypeEnum thomsonreuters::ema::access::SeriesEntry::getLoadType ( ) const

Returns the DataType of the entry's load.

Remarks
return of DataType::OmmErrorEnum signifies error while extracting content of load
Returns
data type of the contained object
const Map& thomsonreuters::ema::access::SeriesEntry::getMap ( ) const

Returns the current OMM data represented as a specific complex type.

Exceptions
OmmInvalidUsageExceptionif contained object is not Map
Returns
Map class reference to contained entry's load object
const OmmOpaque& thomsonreuters::ema::access::SeriesEntry::getOpaque ( ) const

Returns the current OMM data represented as a specific complex type.

Exceptions
OmmInvalidUsageExceptionif contained object is not OmmOpaque
Returns
OmmOpaque class reference to contained entry's load object
const PostMsg& thomsonreuters::ema::access::SeriesEntry::getPostMsg ( ) const

Returns the current OMM data represented as a specific complex type.

Exceptions
OmmInvalidUsageExceptionif contained object is not PostMsg
Returns
PostMsg class reference to contained entry's load object
const RefreshMsg& thomsonreuters::ema::access::SeriesEntry::getRefreshMsg ( ) const

Returns the current OMM data represented as a specific complex type.

Exceptions
OmmInvalidUsageExceptionif contained object is not RefreshMsg
Returns
RefreshMsg class reference to contained entry's load object
const ReqMsg& thomsonreuters::ema::access::SeriesEntry::getReqMsg ( ) const

Returns the current OMM data represented as a specific complex type.

Exceptions
OmmInvalidUsageExceptionif contained object is not ReqMsg
Returns
ReqMsg class reference to contained object
const Series& thomsonreuters::ema::access::SeriesEntry::getSeries ( ) const

Returns the current OMM data represented as a specific complex type.

Exceptions
OmmInvalidUsageExceptionif contained object is not Series
Returns
Series class reference to contained entry's load object
const StatusMsg& thomsonreuters::ema::access::SeriesEntry::getStatusMsg ( ) const

Returns the current OMM data represented as a specific complex type.

Exceptions
OmmInvalidUsageExceptionif contained object is not StatusMsg
Returns
StatusMsg class reference to contained entry's load object
const UpdateMsg& thomsonreuters::ema::access::SeriesEntry::getUpdateMsg ( ) const

Returns the current OMM data represented as a specific complex type.

Exceptions
OmmInvalidUsageExceptionif contained object is not UpdateMsg
Returns
UpdateMsg class reference to contained entry's load object
const Vector& thomsonreuters::ema::access::SeriesEntry::getVector ( ) const

Returns the current OMM data represented as a specific complex type.

Exceptions
OmmInvalidUsageExceptionif contained object is not Vector
Returns
Vector class reference to contained entry's load object
const OmmXml& thomsonreuters::ema::access::SeriesEntry::getXml ( ) const

Returns the current OMM data represented as a specific complex type.

Exceptions
OmmInvalidUsageExceptionif contained object is not OmmXml
Returns
OmmXml class reference to contained entry's load object
const EmaString& thomsonreuters::ema::access::SeriesEntry::toString ( ) const

Returns a string representation of the class instance.

Returns
string representation of the class instance

Friends And Related Function Documentation

friend class Series
friend

Definition at line 213 of file SeriesEntry.h.