OnixS C++ CME MDP Conflated UDP Handler 1.1.2
API documentation
Loading...
Searching...
No Matches
MultiContainer Class Reference

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

◆ Iterator

typedef TagValues::const_iterator Iterator

Iterator over container items.

Definition at line 272 of file MultiContainer.h.

◆ Key

typedef Tag Key

Alias for tag component which serves like an entry key.

Definition at line 264 of file MultiContainer.h.

◆ SelectionIterator

Iterator over items having the same tag value.

Definition at line 277 of file MultiContainer.h.

◆ Value

Alias for value type.

Definition at line 267 of file MultiContainer.h.

Constructor & Destructor Documentation

◆ MultiContainer()

MultiContainer ( )
inline

Initializes an empty instance.

Definition at line 280 of file MultiContainer.h.

◆ ~MultiContainer()

~MultiContainer ( )
inline

Finalizes the instance.

Definition at line 285 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 321 of file MultiContainer.h.

◆ begin()

Iterator begin ( ) const
inline

Returns iterator pointing to the first item of the container.

Definition at line 291 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 335 of file MultiContainer.h.

◆ end()

Iterator end ( ) const
inline

Returns iterator pointing to the item beyond the last one.

Definition at line 298 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 307 of file MultiContainer.h.