OnixS C++ CME MDP Conflated UDP Handler  1.1.2
API documentation
MultiContainer Class Reference

#include <OnixS/CME/ConflatedUDP/FIX/MultiContainer.h>

Public Types

typedef Tag Key
 
typedef TagValue::Value Value
 
typedef TagValues::const_iterator Iterator
 
typedef TagValueSelectionIterator SelectionIterator
 

Public Member Functions

 MultiContainer ()
 
 ~MultiContainer ()
 
Iterator begin () const
 
Iterator end () const
 
Iterator first (Key tag) const
 
SelectionIterator all (Key tag) const
 
void deserialize (const Char *fixStr, size_t fixSize)
 

Detailed Description

Sequence of tag-value pairs preserving order of pairs and allowing presence of multiple tag-value pairs with the same tag value.

Primarily, designed to provide lightweight service to transform serialized FIX messages into structural presentation for furhter field access and other manipulations over stored data.

Definition at line 247 of file MultiContainer.h.

Member Typedef Documentation

typedef TagValues::const_iterator Iterator

Iterator over container items.

Definition at line 272 of file MultiContainer.h.

typedef Tag Key

Alias for tag component which serves like an entry key.

Definition at line 264 of file MultiContainer.h.

Iterator over items having the same tag value.

Definition at line 277 of file MultiContainer.h.

Alias for value type.

Definition at line 267 of file MultiContainer.h.

Constructor & Destructor Documentation

MultiContainer ( )
inline

Initializes an empty instance.

Definition at line 280 of file MultiContainer.h.

~MultiContainer ( )
inline

Finalizes the instance.

Definition at line 285 of file MultiContainer.h.

Member Function Documentation

SelectionIterator all ( Key  tag) const
inline

Allows to iterate all items in the container having the given tag value.

Definition at line 321 of file MultiContainer.h.

Iterator begin ( ) const
inline

Returns iterator pointing to the first item of the container.

Definition at line 291 of file MultiContainer.h.

void deserialize ( const Char fixStr,
size_t  fixSize 
)
inline

Full-fill collection from the FIX (tag=value) string presentation.

Definition at line 335 of file MultiContainer.h.

Iterator end ( ) const
inline

Returns iterator pointing to the item beyond the last one.

Definition at line 298 of file MultiContainer.h.

Iterator first ( Key  tag) const
inline

Returns iterator pointing to the first (of possibly multiple) item having the given key (tag) value.

Definition at line 307 of file MultiContainer.h.


The documentation for this class was generated from the following file: