Class EntryImpl
Inherited Members
Namespace: FixAntenna.Fix.Message.Rg
Assembly: FixAntenna.Message.dll
Syntax
public class EntryImpl
Fields
AllocatedSubGroups
Declaration
protected List<RepeatingGroup> AllocatedSubGroups
Field Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<RepeatingGroup> |
Deleted
Declaration
protected bool Deleted
Field Value
| Type | Description |
|---|---|
| System.Boolean |
EntriesArray
Declaration
protected EntriesArray EntriesArray
Field Value
| Type | Description |
|---|---|
| EntriesArray |
EntryIndex
Declaration
protected int EntryIndex
Field Value
| Type | Description |
|---|---|
| System.Int32 |
Group
Declaration
protected RepeatingGroup Group
Field Value
| Type | Description |
|---|---|
| RepeatingGroup |
GroupTags
Declaration
protected HashSet<int> GroupTags
Field Value
| Type | Description |
|---|---|
| System.Collections.Generic.HashSet<System.Int32> |
NestedLeadingTags
Declaration
protected HashSet<int> NestedLeadingTags
Field Value
| Type | Description |
|---|---|
| System.Collections.Generic.HashSet<System.Int32> |
OuterLeadingTags
Declaration
protected HashSet<int> OuterLeadingTags
Field Value
| Type | Description |
|---|---|
| System.Collections.Generic.HashSet<System.Int32> |
ReleaseNeeded
Declaration
protected bool ReleaseNeeded
Field Value
| Type | Description |
|---|---|
| System.Boolean |
RgArray
Declaration
protected RepeatingGroupArray RgArray
Field Value
| Type | Description |
|---|---|
| RepeatingGroupArray |
RgStorage
Declaration
protected RepeatingGroupStorage RgStorage
Field Value
| Type | Description |
|---|---|
| RepeatingGroupStorage |
Storage
Declaration
protected IndexedStorage Storage
Field Value
| Type | Description |
|---|---|
| IndexedStorage |
Methods
AddCalendarTag(Int32, DateTimeOffset, FixDateFormatterFactory.FixDateType)
Adds tag to entry.
Declaration
public virtual int AddCalendarTag(int tag, DateTimeOffset value, FixDateFormatterFactory.FixDateType type)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | tag | tag for add |
| System.DateTimeOffset | value | value for add |
| FixDateFormatterFactory.FixDateType | type | type of date |
Returns
| Type | Description |
|---|---|
| System.Int32 | index in message (not in group or entry) in which value was added |
AddRepeatingGroup(Int32)
Adds sub group to entry. Validation for this group is turned off.
Declaration
public virtual RepeatingGroup AddRepeatingGroup(int leadingTag)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | leadingTag | leading tag for repeating group. |
Returns
| Type | Description |
|---|---|
| RepeatingGroup | instance of RepeatingGroup from RepeatingGroupPool. There is no need to call release for this object. |
AddRepeatingGroup(Int32, RepeatingGroup)
Declaration
public virtual void AddRepeatingGroup(int leadingTag, RepeatingGroup group)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | leadingTag | |
| RepeatingGroup | group |
AddRepeatingGroup(Int32, Boolean)
Adds sub group to entry.
Declaration
public virtual RepeatingGroup AddRepeatingGroup(int leadingTag, bool validation)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | leadingTag | leading tag for repeating group. |
| System.Boolean | validation | turn on/off validation |
Returns
| Type | Description |
|---|---|
| RepeatingGroup | instance of RepeatingGroup from RepeatingGroupPool. There is no need to call release for this object. |
AddRepeatingGroup(Int32, Boolean, RepeatingGroup)
Adds sub group to entry.
Declaration
public virtual void AddRepeatingGroup(int leadingTag, bool validation, RepeatingGroup subGroup)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | leadingTag | leading tag for repeating group. |
| System.Boolean | validation | turn on/off validation. |
| RepeatingGroup | subGroup | group for further work. |
AddTag(TagValue)
Adds tagValue to entry.
Declaration
public virtual int AddTag(TagValue tagValue)
Parameters
| Type | Name | Description |
|---|---|---|
| TagValue | tagValue | value for add. |
Returns
| Type | Description |
|---|---|
| System.Int32 | index in message (not in group or entry) in which value was added |
AddTag(Int32, Boolean)
Adds tag to entry.
Declaration
public virtual int AddTag(int tag, bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | tag | tag for add |
| System.Boolean | value | value for add |
Returns
| Type | Description |
|---|---|
| System.Int32 | index in message (not in group or entry) in which value was added |
AddTag(Int32, Byte[])
Adds tag to entry.
Declaration
public virtual int AddTag(int tag, byte[] value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | tag | tag for add |
| System.Byte[] | value | value for add |
Returns
| Type | Description |
|---|---|
| System.Int32 | index in message (not in group or entry) in which value was added |
AddTag(Int32, Byte[], Int32, Int32)
Adds tag to entry.
Declaration
public virtual int AddTag(int tag, byte[] value, int offset, int length)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | tag | |
| System.Byte[] | value | byte array for add |
| System.Int32 | offset | offset in passed array |
| System.Int32 | length | length of array that will be added |
Returns
| Type | Description |
|---|---|
| System.Int32 | index in message (not in group or entry) in which value was added |
AddTag(Int32, Double, Int32)
Adds tag to entry.
Declaration
public virtual int AddTag(int tag, double value, int precision)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | tag | tag for add |
| System.Double | value | value for add |
| System.Int32 | precision | precision of value rounding |
Returns
| Type | Description |
|---|---|
| System.Int32 | index in message (not in group or entry) in which value was added |
AddTag(Int32, Int64)
Adds tag to entry.
Declaration
public virtual int AddTag(int tag, long value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | tag | tag for add |
| System.Int64 | value | value for add |
Returns
| Type | Description |
|---|---|
| System.Int32 | index in message (not in group or entry) in which value was added |
AddTag(Int32, String)
Adds tag to entry.
Declaration
public virtual int AddTag(int tag, string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | tag | tag for add |
| System.String | value | value for add |
Returns
| Type | Description |
|---|---|
| System.Int32 | index in message (not in group or entry) in which value was added |
Clear()
Declaration
public virtual void Clear()
CopyRepeatingGroup(RepeatingGroup)
Copy repeating group to entry
Declaration
public virtual RepeatingGroup CopyRepeatingGroup(RepeatingGroup source)
Parameters
| Type | Name | Description |
|---|---|---|
| RepeatingGroup | source | repeating group for copy |
Returns
| Type | Description |
|---|---|
| RepeatingGroup | copied repeating group |
CopyRepeatingGroup(RepeatingGroup, RepeatingGroup)
Copy repeating group to entry
Declaration
public virtual void CopyRepeatingGroup(RepeatingGroup source, RepeatingGroup dst)
Parameters
| Type | Name | Description |
|---|---|---|
| RepeatingGroup | source | repeating group for copy |
| RepeatingGroup | dst | entry for hold copied repeating group |
GetEntryIndex()
Returns entry index in FIX message
Declaration
public virtual int GetEntryIndex()
Returns
| Type | Description |
|---|---|
| System.Int32 | entry index in FIX message |
GetGroup()
Returns group which owns entry
Declaration
public virtual RepeatingGroup GetGroup()
Returns
| Type | Description |
|---|---|
| RepeatingGroup | group which owns entry |
GetOrAddRepeatingGroup(Int32)
Returns repeating group from entry by leading tag. If group doesn't exist, it will be added.
Declaration
public virtual RepeatingGroup GetOrAddRepeatingGroup(int leadingTag)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | leadingTag | leading tag for repeating group |
Returns
| Type | Description |
|---|---|
| RepeatingGroup | instance of RepeatingGroup from RepeatingGroupPool. There is no need to call release for this object. |
GetOrAddRepeatingGroup(Int32, RepeatingGroup)
Fills passed repeating group instance by data from entry. If group doesn't exist, it will be added.
Declaration
public virtual void GetOrAddRepeatingGroup(int leadingTag, RepeatingGroup group)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | leadingTag | leading tag for repeating group |
| RepeatingGroup | group | repeating group object for fill |
GetRepeatingGroup(Int32)
Returns repeating group from entry by leading tag
Declaration
public virtual RepeatingGroup GetRepeatingGroup(int leadingTag)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | leadingTag | leading tag for repeating group |
Returns
| Type | Description |
|---|---|
| RepeatingGroup | instance of RepeatingGroup from RepeatingGroupPool. There is no need to call release for this object. |
GetRepeatingGroup(Int32, RepeatingGroup)
Fills passed repeating group instance by data from entry
Declaration
public virtual void GetRepeatingGroup(int leadingTag, RepeatingGroup group)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | leadingTag | leading tag for repeating group |
| RepeatingGroup | group | repeating group object for fill |
GetRepeatingGroupAtIndex(Int32)
Returns repeating group
Declaration
public virtual RepeatingGroup GetRepeatingGroupAtIndex(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | number of leading tag of group in entry (not in entire FIX message) |
Returns
| Type | Description |
|---|---|
| RepeatingGroup | instance of RepeatingGroup from RepeatingGroupPool. There is no need to call release for this object. |
GetRepeatingGroupAtIndex(Int32, RepeatingGroup)
Fills repeating group by repeating group data
Declaration
public virtual void GetRepeatingGroupAtIndex(int index, RepeatingGroup group)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | number of leading tag of group in entry (not in entire FIX message) |
| RepeatingGroup | group | repeating group object for fill |
GetSize()
Returns number of added tag in entry
Declaration
public virtual int GetSize()
Returns
| Type | Description |
|---|---|
| System.Int32 | number of added tag in entry |
GetTagIndex(Int32)
Declaration
public virtual int GetTagIndex(int tag)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | tag |
Returns
| Type | Description |
|---|---|
| System.Int32 |
GetTagValueAsBool(Int32)
Returns tag value as boolean
Declaration
public virtual bool GetTagValueAsBool(int tag)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | tag | tag for find |
Returns
| Type | Description |
|---|---|
| System.Boolean | tag value |
GetTagValueAsBoolAtIndex(Int32)
Returns tag value as boolean
Declaration
public virtual bool GetTagValueAsBoolAtIndex(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | number of tag in entry (not in entire FIX message) |
Returns
| Type | Description |
|---|---|
| System.Boolean | tag value |
GetTagValueAsByte(Int32)
Returns first byte of tag value
Declaration
public virtual byte GetTagValueAsByte(int tag)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | tag | tag for find |
Returns
| Type | Description |
|---|---|
| System.Byte | first byte of tag value |
GetTagValueAsByte(Int32, Int32)
Returns byte of tag value at offset
Declaration
public virtual byte GetTagValueAsByte(int tag, int offset)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | tag | tag for find |
| System.Int32 | offset |
Returns
| Type | Description |
|---|---|
| System.Byte | byte of tag value |
GetTagValueAsByteAtIndex(Int32)
Returns first byte of tag value
Declaration
public virtual byte GetTagValueAsByteAtIndex(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | number of tag in entry (not in entire FIX message) |
Returns
| Type | Description |
|---|---|
| System.Byte | first byte of tag value |
GetTagValueAsByteAtIndex(Int32, Int32)
Returns byte of tag value at offset
Declaration
public virtual byte GetTagValueAsByteAtIndex(int index, int offset)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | number of tag in entry (not in entire FIX message) |
| System.Int32 | offset |
Returns
| Type | Description |
|---|---|
| System.Byte | byte of tag value |
GetTagValueAsBytes(Int32)
Returns tag value as byte array
Declaration
public virtual byte[] GetTagValueAsBytes(int tag)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | tag | tag for find |
Returns
| Type | Description |
|---|---|
| System.Byte[] | tag value |
GetTagValueAsBytes(Int32, Byte[], Int32)
Returns tag value as byte array
Declaration
public virtual int GetTagValueAsBytes(int tag, byte[] dest, int offset)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | tag | tag for find |
| System.Byte[] | dest | array for fill |
| System.Int32 | offset | start index in passed array from which array will filled |
Returns
| Type | Description |
|---|---|
| System.Int32 | length of wrote data |
GetTagValueAsBytesAtIndex(Int32)
Returns tag value as byte array
Declaration
public virtual byte[] GetTagValueAsBytesAtIndex(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | number of tag in entry (not in entire FIX message) |
Returns
| Type | Description |
|---|---|
| System.Byte[] | tag value |
GetTagValueAsBytesAtIndex(Int32, Byte[], Int32)
Returns tag value as byte array
Declaration
public virtual int GetTagValueAsBytesAtIndex(int index, byte[] dest, int offset)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | number of tag in entry (not in entire FIX message) |
| System.Byte[] | dest | array for fill |
| System.Int32 | offset | start index in passed array from which array will filled |
Returns
| Type | Description |
|---|---|
| System.Int32 | length of wrote data |
GetTagValueAsDouble(Int32)
Returns tag value as double
Declaration
public virtual double GetTagValueAsDouble(int tag)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | tag | tag for find |
Returns
| Type | Description |
|---|---|
| System.Double | tag value |
GetTagValueAsDoubleAtIndex(Int32)
Returns tag value as double
Declaration
public virtual double GetTagValueAsDoubleAtIndex(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | number of tag in entry (not in entire FIX message) |
Returns
| Type | Description |
|---|---|
| System.Double | tag value |
GetTagValueAsLong(Int32)
Returns tag value as long
Declaration
public virtual long GetTagValueAsLong(int tag)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | tag | tag for find |
Returns
| Type | Description |
|---|---|
| System.Int64 | tag value |
GetTagValueAsLongAtIndex(Int32)
Returns tag value as long
Declaration
public virtual long GetTagValueAsLongAtIndex(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | number of tag in entry (not in entire FIX message) |
Returns
| Type | Description |
|---|---|
| System.Int64 | tag value |
GetTagValueAsString(Int32)
Returns tag value as string
Declaration
public virtual string GetTagValueAsString(int tag)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | tag | tag for find |
Returns
| Type | Description |
|---|---|
| System.String | tag value |
GetTagValueAsStringAtIndex(Int32)
Returns tag value as string
Declaration
public virtual string GetTagValueAsStringAtIndex(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | number of tag in entry (not in entire FIX message) |
Returns
| Type | Description |
|---|---|
| System.String | tag value |
GetTagValueAsStringBuff(Int32, StringBuilder)
Fills passed StringBuffer by tag value
Declaration
public virtual void GetTagValueAsStringBuff(int tag, StringBuilder str)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | tag | tag for find |
| System.Text.StringBuilder | str | buffer for filled |
GetTagValueAsStringBuffAtIndex(Int32, StringBuilder)
Fills passed StringBuffer by tag value
Declaration
public virtual void GetTagValueAsStringBuffAtIndex(int index, StringBuilder str)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | number of tag in entry (not in entire FIX message) |
| System.Text.StringBuilder | str | buffer for filled |
IsEmpty()
Declaration
public virtual bool IsEmpty()
Returns
| Type | Description |
|---|---|
| System.Boolean |
IsGroupTag(Int32)
Checks whether tag is leading tag of group
Declaration
public virtual bool IsGroupTag(int tag)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | tag | tag for check |
Returns
| Type | Description |
|---|---|
| System.Boolean | true if tag is leading tag of group, false if tag doesn't exists or is not leading tag of group |
IsGroupTagAtIndex(Int32)
Checks whether tag is group tag at index
Declaration
public virtual bool IsGroupTagAtIndex(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | number of tag in entry (not in entire FIX message) |
Returns
| Type | Description |
|---|---|
| System.Boolean | true if tag is group tag |
IsRepeatingGroupExists(Int32)
Checks is entry contains nested group with passed leading tag. Note that empty groups, that doesn't appear in the message, also considered existing
Declaration
public virtual bool IsRepeatingGroupExists(int leadingTag)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | leadingTag | leading tag for check |
Returns
| Type | Description |
|---|---|
| System.Boolean | true if repeating group with passed leading tag exists. |
IsTagExists(Int32)
Returns true if tag exists in entry
Declaration
public virtual bool IsTagExists(int tag)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | tag | tag for check |
Returns
| Type | Description |
|---|---|
| System.Boolean | is tag exists |
LoadTagValue(Int32, TagValue)
Fills passed TagValue object by tag data
Declaration
public virtual void LoadTagValue(int tag, TagValue dest)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | tag | tag for find |
| TagValue | dest | object for fill |
LoadTagValueByIndex(Int32, TagValue)
Fills passed TagValue object by tag data from index
Declaration
public virtual void LoadTagValueByIndex(int index, TagValue dest)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | number of tag in entry (not in entire FIX message) |
| TagValue | dest | object for fill |
RemoveRepeatingGroup(Int32)
Removes repeating group from entry
Declaration
public virtual bool RemoveRepeatingGroup(int leadingTag)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | leadingTag | leading tag of repeating group |
Returns
| Type | Description |
|---|---|
| System.Boolean | true if repeating group was deleted |
RemoveRepeatingGroupAtIndex(Int32)
Removes repeating group from entry
Declaration
public virtual bool RemoveRepeatingGroupAtIndex(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | index of leading tag group in entry (not in entire FIX message) |
Returns
| Type | Description |
|---|---|
| System.Boolean | true if repeating group was deleted |
RemoveTag(Int32)
Removes tag from entry
Declaration
public virtual bool RemoveTag(int tag)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | tag | tag for remove |
Returns
| Type | Description |
|---|---|
| System.Boolean | is tag was removes |
RemoveTagAtIndex(Int32)
Removes tag from entry by index
Declaration
public virtual bool RemoveTagAtIndex(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | number of tag in entry (not in entire FIX message) |
Returns
| Type | Description |
|---|---|
| System.Boolean | is tag was removes |
Size()
Returns number of added tag in entry
Declaration
public virtual int Size()
Returns
| Type | Description |
|---|---|
| System.Int32 | number of added tag in entry |
ToByteArray()
Declaration
public virtual byte[] ToByteArray()
Returns
| Type | Description |
|---|---|
| System.Byte[] |
ToPrintableString()
Declaration
public virtual string ToPrintableString()
Returns
| Type | Description |
|---|---|
| System.String |
ToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String |
Overrides
UpdateCalendarValue(Int32, DateTimeOffset, FixDateFormatterFactory.FixDateType, IndexedStorage.MissingTagHandling)
Updates tag value
Declaration
public virtual int UpdateCalendarValue(int tag, DateTimeOffset value, FixDateFormatterFactory.FixDateType type, IndexedStorage.MissingTagHandling addIfNotExists)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | tag | tag for update |
| System.DateTimeOffset | value | new value for tag |
| FixDateFormatterFactory.FixDateType | type | type of date |
| IndexedStorage.MissingTagHandling | addIfNotExists | determines the behavior in case if tag is not exists |
Returns
| Type | Description |
|---|---|
| System.Int32 | index of updated value in fix message (not in group or entry) |
UpdateValue(TagValue, IndexedStorage.MissingTagHandling)
Updates tagValue
Declaration
public virtual int UpdateValue(TagValue tagValue, IndexedStorage.MissingTagHandling addIfNotExists)
Parameters
| Type | Name | Description |
|---|---|---|
| TagValue | tagValue | tagValue for update |
| IndexedStorage.MissingTagHandling | addIfNotExists | determines the behavior in case if tag is not exists |
Returns
| Type | Description |
|---|---|
| System.Int32 | index of updated value in fix message (not in group or entry) |
UpdateValue(Int32, Boolean, IndexedStorage.MissingTagHandling)
Updates tag value
Declaration
public virtual int UpdateValue(int tag, bool value, IndexedStorage.MissingTagHandling addIfNotExists)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | tag | tag for update |
| System.Boolean | value | new value for tag |
| IndexedStorage.MissingTagHandling | addIfNotExists | determines the behavior in case if tag is not exists |
Returns
| Type | Description |
|---|---|
| System.Int32 | index of updated value in fix message (not in group or entry) |
UpdateValue(Int32, Byte[], IndexedStorage.MissingTagHandling)
Updates tag value
Declaration
public virtual int UpdateValue(int tag, byte[] value, IndexedStorage.MissingTagHandling addIfNotExists)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | tag | tag for update |
| System.Byte[] | value | new value for tag |
| IndexedStorage.MissingTagHandling | addIfNotExists | determines the behavior in case if tag is not exists |
Returns
| Type | Description |
|---|---|
| System.Int32 | index of updated value in fix message (not in group or entry) |
UpdateValue(Int32, Byte[], Int32, Int32, IndexedStorage.MissingTagHandling)
Updates tag value
Declaration
public virtual int UpdateValue(int tag, byte[] value, int offset, int length, IndexedStorage.MissingTagHandling addIfNotExists)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | tag | tag for update |
| System.Byte[] | value | new value for tag |
| System.Int32 | offset | offset in passed array |
| System.Int32 | length | length of array that will be added |
| IndexedStorage.MissingTagHandling | addIfNotExists | determines the behavior in case if tag is not exists |
Returns
| Type | Description |
|---|---|
| System.Int32 | index of updated value in fix message (not in group or entry) |
UpdateValue(Int32, Double, Int32, IndexedStorage.MissingTagHandling)
Updates tag value
Declaration
public virtual int UpdateValue(int tag, double value, int precision, IndexedStorage.MissingTagHandling addIfNotExists)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | tag | tag for update |
| System.Double | value | new value for tag |
| System.Int32 | precision | precision of value rounding |
| IndexedStorage.MissingTagHandling | addIfNotExists | determines the behavior in case if tag is not exists |
Returns
| Type | Description |
|---|---|
| System.Int32 | index of updated value in fix message (not in group or entry) |
UpdateValue(Int32, Int64, IndexedStorage.MissingTagHandling)
Updates tag value
Declaration
public virtual int UpdateValue(int tag, long value, IndexedStorage.MissingTagHandling addIfNotExists)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | tag | tag for update |
| System.Int64 | value | new value for tag |
| IndexedStorage.MissingTagHandling | addIfNotExists | determines the behavior in case if tag is not exists |
Returns
| Type | Description |
|---|---|
| System.Int32 | index of updated value in fix message (not in group or entry) |
UpdateValue(Int32, String, IndexedStorage.MissingTagHandling)
Updates tag value
Declaration
public virtual int UpdateValue(int tag, string strBuffer, IndexedStorage.MissingTagHandling addIfNotExists)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | tag | tag for update |
| System.String | strBuffer | new value for tag |
| IndexedStorage.MissingTagHandling | addIfNotExists | determines the behavior in case if tag is not exists |
Returns
| Type | Description |
|---|---|
| System.Int32 | index of updated value in fix message (not in group or entry) |