FixGroup class

class V12.FIXAntenna.FixGroup

Defines a repeating group of a FIX message.

get(index: int) FixGroupEntry

Returns group entry by index.

Parameters

index (int) – Group’s entry index (starts at 0).

Returns

A repeating group entry.

Return type

FixGroupEntry

get_group(starting_tag: int, index: int) FixGroup

Returns nested repeating group.

The nested FIXGroup instance’s memory is managed by the FIX Engine. The FIXGroup instance is guaranteed to exist within its parent FIXMessage’s lifetime or until trimmed to zero length.

Parameters
  • starting_tag (int) – Tag number of the leading field value.

  • index (int) – Group’s entry index (starts at 0).

Returns

The returned value may be NULL, if the given tag exists for the group (according to the FIX protocol), but is not present in requested group’s entry. If the tag is not defined for the group, then the method throws an exception.

Return type

FixGroup

is_supported(tag: int) bool

Verifies if the field is acceptable inside this group.

Parameters

tag (int) – Tag number of the field to verify.

Returns

True if the field is supported by this group, otherwise returns False.

Return type

bool

leading_field() int

Returns the leading field tag of the repeating group.

Returns

Leading field tag of the repeating group.

Return type

int

size() int

Returns the number of entries in this repeating group.

Returns

Number of entries in this repeating group.

Return type

int