B2BITS FIX Antenna HFT  1.0.13
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CMI::CommonFieldsIterator Class Referenceabstract

#include <CmiBinaryMessages.h>

+ Inheritance diagram for CMI::CommonFieldsIterator:
+ Collaboration diagram for CMI::CommonFieldsIterator:

Public Member Functions

 CommonFieldsIterator (const void *buffer, const size_t fieldsCount, const FieldDescriptor *fields)
 
const AsciiString getAlpha10FieldValue () const
 
const AsciiString getAlpha15FieldValue () const
 
const AsciiString getAlpha20FieldValue () const
 
const AsciiString getAlpha2FieldValue () const
 
const AsciiString getAlpha3FieldValue () const
 
const AsciiString getAlpha4FieldValue () const
 
const AsciiString getAlpha8FieldValue () const
 
Alpha getAlphaFieldValue () const
 
Boolean getBooleanFieldValue () const
 
const DecimalgetDecimalFieldValue () const
 
MessageField getField () const
 
template<class T >
T * getGroupFieldValue () const
 
Int16 getInt16FieldValue () const
 
Int32 getInt32FieldValue () const
 
Int64 getInt64FieldValue () const
 
Int8 getInt8FieldValue () const
 
const AsciiString getStringFieldValue () const
 
virtual size_t getTotalSize () const =0
 
UInt16 getUInt16FieldValue () const
 
UInt32 getUInt32FieldValue () const
 
UInt64 getUInt64FieldValue () const
 
UInt8 getUInt8FieldValue () const
 
bool next ()
 
bool next (size_t fieldId)
 
virtual std::ostream & toStream (std::ostream &os) const =0
 
virtual ~CommonFieldsIterator ()
 

Protected Member Functions

bool gotToTheEnd ()
 
virtual void iterateOverOptFields ()=0
 
virtual bool moveToNext ()=0
 
bool processBitField ()
 

Protected Attributes

UInt32curBitField_
 
unsigned int curBitFieldBitsNum_
 
unsigned int curBitFieldIndex_
 
UInt32 curBitFieldValue_
 
void * curBuffer
 
size_t curFieldIndex_
 
void * curOrigBitField_
 
FieldValueType curOrigBitFieldValueType_
 
const FieldDescriptorfields_
 
size_t fieldsCount_
 
bool initialized_
 
void * startBuffer
 

Constructor & Destructor Documentation

CMI::CommonFieldsIterator::CommonFieldsIterator ( const void *  buffer,
const size_t  fieldsCount,
const FieldDescriptor fields 
)
inline
virtual CMI::CommonFieldsIterator::~CommonFieldsIterator ( )
inlinevirtual

Member Function Documentation

const AsciiString CMI::CommonFieldsIterator::getAlpha10FieldValue ( ) const
inline
const AsciiString CMI::CommonFieldsIterator::getAlpha15FieldValue ( ) const
inline
const AsciiString CMI::CommonFieldsIterator::getAlpha20FieldValue ( ) const
inline
const AsciiString CMI::CommonFieldsIterator::getAlpha2FieldValue ( ) const
inline
const AsciiString CMI::CommonFieldsIterator::getAlpha3FieldValue ( ) const
inline
const AsciiString CMI::CommonFieldsIterator::getAlpha4FieldValue ( ) const
inline
const AsciiString CMI::CommonFieldsIterator::getAlpha8FieldValue ( ) const
inline
Alpha CMI::CommonFieldsIterator::getAlphaFieldValue ( ) const
inline
Boolean CMI::CommonFieldsIterator::getBooleanFieldValue ( ) const
inline
const Decimal& CMI::CommonFieldsIterator::getDecimalFieldValue ( ) const
inline
MessageField CMI::CommonFieldsIterator::getField ( ) const
inline
template<class T >
T* CMI::CommonFieldsIterator::getGroupFieldValue ( ) const
inline
Int16 CMI::CommonFieldsIterator::getInt16FieldValue ( ) const
inline
Int32 CMI::CommonFieldsIterator::getInt32FieldValue ( ) const
inline
Int64 CMI::CommonFieldsIterator::getInt64FieldValue ( ) const
inline
Int8 CMI::CommonFieldsIterator::getInt8FieldValue ( ) const
inline
const AsciiString CMI::CommonFieldsIterator::getStringFieldValue ( ) const
inline
virtual size_t CMI::CommonFieldsIterator::getTotalSize ( ) const
pure virtual
UInt16 CMI::CommonFieldsIterator::getUInt16FieldValue ( ) const
inline
UInt32 CMI::CommonFieldsIterator::getUInt32FieldValue ( ) const
inline
UInt64 CMI::CommonFieldsIterator::getUInt64FieldValue ( ) const
inline
UInt8 CMI::CommonFieldsIterator::getUInt8FieldValue ( ) const
inline
bool CMI::CommonFieldsIterator::gotToTheEnd ( )
inlineprotected
virtual void CMI::CommonFieldsIterator::iterateOverOptFields ( )
protectedpure virtual
virtual bool CMI::CommonFieldsIterator::moveToNext ( )
protectedpure virtual
bool CMI::CommonFieldsIterator::next ( )
inline
bool CMI::CommonFieldsIterator::next ( size_t  fieldId)
inline
bool CMI::CommonFieldsIterator::processBitField ( )
inlineprotected
virtual std::ostream& CMI::CommonFieldsIterator::toStream ( std::ostream &  os) const
pure virtual

Member Data Documentation

UInt32* CMI::CommonFieldsIterator::curBitField_
protected
unsigned int CMI::CommonFieldsIterator::curBitFieldBitsNum_
protected
unsigned int CMI::CommonFieldsIterator::curBitFieldIndex_
protected
UInt32 CMI::CommonFieldsIterator::curBitFieldValue_
protected
void* CMI::CommonFieldsIterator::curBuffer
protected
size_t CMI::CommonFieldsIterator::curFieldIndex_
protected
void* CMI::CommonFieldsIterator::curOrigBitField_
protected
FieldValueType CMI::CommonFieldsIterator::curOrigBitFieldValueType_
protected
const FieldDescriptor* CMI::CommonFieldsIterator::fields_
protected
size_t CMI::CommonFieldsIterator::fieldsCount_
protected
bool CMI::CommonFieldsIterator::initialized_
protected
void* CMI::CommonFieldsIterator::startBuffer
protected