OnixS C++ Eurex T7 Market and Reference Data Interface (EMDI, RDI, EOBI) Handlers  7.4.2
API documentation
Group Class Reference

#include <OnixS/Eurex/MarketData/Group.h>

Public Member Functions

 Group (const Group &other)
 
 operator bool () const
 
size_t size () const
 
const GroupInstance at (size_t index) const
 
const GroupInstance operator[] (size_t index) const
 
Groupoperator= (const Group &other)
 
void swap (Group &) throw ()
 

Friends

class MessageOperator
 

Detailed Description

Encapsulates operations over FIX Repeating Group.

Repeating group represents array of repeating group instances, So, class exposes corresponding services to manipulate array of repeating group instances. Similar to the OnixS::FIX::GroupInstance it behaves like a pointer/reference to the underlying data. It's a light-weight object which just wraps internal data.

Group remains valid until corresponding field (which defines size/length of repeating group) from field-set (message or outer repeating group instance) is updated.

Definition at line 66 of file Group.h.

Constructor & Destructor Documentation

Group ( const Group other)

Initializes instance as reference to given repeating group.

Definition at line 61 of file Group.cpp.

Member Function Documentation

const GroupInstance at ( size_t  index) const

Accesses to repeating group instance.

Exceptions
std::exceptionif If index exceeds allowed bounds.
Warning
Due to performance considerations, instance is not checked for validness. Member must be used only when instance is in valid state.

Definition at line 104 of file Group.cpp.

operator bool ( ) const

Indicated whether group refers to a valid instance.

Definition at line 68 of file Group.cpp.

Group & operator= ( const Group other)

Reinitializes instance as reference to other one.

Definition at line 81 of file Group.cpp.

const GroupInstance operator[] ( size_t  index) const

Accesses to repeating group instance.

Does NOT check index validness.

Warning
Due to performance considerations, instance is not checked for validness. Member must be used only when instance is in valid state.

Definition at line 117 of file Group.cpp.

size_t size ( ) const

Return number of instances in repeating group.

Warning
Due to performance considerations, instance is not checked for validness. Member must be used only when instance is in valid state.

Definition at line 94 of file Group.cpp.

void swap ( Group other)
throw (
)

Definition at line 74 of file Group.cpp.

Friends And Related Function Documentation

friend class MessageOperator
friend

Definition at line 108 of file Group.h.


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