OnixS C++ CME MDP Premium Market Data Handler 5.9.0
Users' manual and API documentation
Loading...
Searching...
No Matches
MultiContainer Class Reference

#include <OnixS/CME/MDH/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 further field access and other manipulations over stored data.

Definition at line 196 of file MultiContainer.h.

Member Typedef Documentation

◆ Iterator

typedef TagValues::const_iterator Iterator

Iterator over container items.

Definition at line 214 of file MultiContainer.h.

◆ Key

typedef Tag Key

Alias for tag component which serves like an entry key.

Definition at line 208 of file MultiContainer.h.

◆ SelectionIterator

Iterator over items having the same tag value.

Definition at line 217 of file MultiContainer.h.

◆ Value

Alias for value type.

Definition at line 211 of file MultiContainer.h.

Constructor & Destructor Documentation

◆ MultiContainer()

MultiContainer ( )
inline

Initializes an empty instance.

Definition at line 220 of file MultiContainer.h.

◆ ~MultiContainer()

~MultiContainer ( )
inline

Finalizes the instance.

Definition at line 223 of file MultiContainer.h.

Member Function Documentation

◆ all()

SelectionIterator all ( Key tag) const
inline

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

Definition at line 249 of file MultiContainer.h.

◆ begin()

Iterator begin ( ) const
inline

Returns iterator pointing to the first item of the container.

Definition at line 227 of file MultiContainer.h.

◆ deserialize()

void deserialize ( const Char * fixStr,
size_t fixSize )
inline

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

Definition at line 256 of file MultiContainer.h.

◆ end()

Iterator end ( ) const
inline

Returns iterator pointing to the item beyond the last one.

Definition at line 234 of file MultiContainer.h.

◆ first()

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 242 of file MultiContainer.h.