B2BITS FIX Antenna C++  2.31.0
Static Public Member Functions | List of all members
Engine::FIXMsgHelper Class Reference

#include <B2BITS_FIXMsgHelper.h>

Static Public Member Functions

static TagValueaddEntryToNestedGroup (TagValue *parent, int leading_group_tag)
 Creates new entry in repeating group by leading field tag number. More...
 
static TagValueaddEntryToNestedGroup (TagValue &parent, int leading_group_tag)
 
static TagValueaddEntryToNestedGroup (FIXGroup *parent, int leading_group_tag, int index)
 Creates new entry in repeating group by leading field tag number. More...
 
static TagValueaddEntryToNestedGroup (FIXGroup &parent, int leading_group_tag, int index)
 

Member Function Documentation

◆ addEntryToNestedGroup() [1/4]

static TagValue* Engine::FIXMsgHelper::addEntryToNestedGroup ( TagValue parent,
int  leading_group_tag 
)
inlinestatic

Creates new entry in repeating group by leading field tag number.

Parameters
parentFIXMessage or FIXGroup entry, that contains target group.
leading_group_tagTag number of the leading field value.
Returns
Returns the newly created repeating group entry.
Exceptions
Utils::Exceptionif requested group not defined this message type.

References Engine::TagValue::getAsInt(), Engine::FIXGroup::getEntry(), Engine::TagValue::getGroup(), Engine::TagValue::isEmpty(), and Engine::TagValue::set().

Referenced by addEntryToNestedGroup().

◆ addEntryToNestedGroup() [2/4]

static TagValue* Engine::FIXMsgHelper::addEntryToNestedGroup ( TagValue parent,
int  leading_group_tag 
)
inlinestatic

◆ addEntryToNestedGroup() [3/4]

static TagValue* Engine::FIXMsgHelper::addEntryToNestedGroup ( FIXGroup parent,
int  leading_group_tag,
int  index 
)
inlinestatic

Creates new entry in repeating group by leading field tag number.

Parameters
parentFIXGroup, that contains target entry with target nested group.
leading_group_tagTag number of the leading field value.
indexIndex of entry, that contains target nested group.
Returns
Returns the newly created repeating group entry.
Exceptions
Utils::Exceptionif requested group not defined this message type.

References Engine::FIXGroup::getAsInt(), Engine::FIXGroup::getEntry(), Engine::FIXGroup::getGroup(), Engine::FIXGroup::isEmpty(), and Engine::FIXGroup::set().

◆ addEntryToNestedGroup() [4/4]

static TagValue* Engine::FIXMsgHelper::addEntryToNestedGroup ( FIXGroup parent,
int  leading_group_tag,
int  index 
)
inlinestatic