#include <OnixS/FIXEngine/FIX/Group.h>
Classes | |
class | Iterator |
Public Member Functions | |
Group () | |
Group (const Group &other) | |
bool | valid () const |
size_t | size () const |
GroupInstance | at (size_t index) |
const GroupInstance | at (size_t index) const |
GroupInstance | operator[] (size_t index) |
const GroupInstance | operator[] (size_t index) const |
Group & | operator= (const Group &other) |
void | swap (Group &other) |
std::string | toString (char delimiter=0x1) const |
void | toString (std::string &str, char delimiter=0x1) const |
Iterator | begin () |
Iterator | end () |
Friends | |
class | MessageOperator |
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.
GroupInstance at | ( | size_t | index | ) |
Accesses to repeating group instance.
std::exception | if If index exceeds allowed bounds. |
const GroupInstance at | ( | size_t | index | ) | const |
Accesses to repeating group instance.
std::exception | if If index exceeds allowed bounds. |
Iterator begin | ( | ) |
Returns the iterator to the first group instance in the group.
Iterator end | ( | ) |
Returns the iterator to the group instance after the last one in the group.
GroupInstance operator[] | ( | size_t | index | ) |
Accesses to repeating group instance.
Does NOT check index validness.
const GroupInstance operator[] | ( | size_t | index | ) | const |
Accesses to repeating group instance.
Does NOT check index validness.
size_t size | ( | ) | const |
Return number of instances in repeating group.
void swap | ( | Group & | other | ) |
Swaps two instances.
|
inline |
void toString | ( | std::string & | str, |
char | delimiter = 0x1 |
||
) | const |
Appends string representation of the message using the given delimiter.
str | String to which presentation is appended. |
delimiter | Defines field delimiter to be used. |
bool valid | ( | ) | const |
Indicated whether group refers to a valid instance.