Class IndexedStorage
Inheritance
System.Object
IndexedStorage
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: FixAntenna.Message.dll
Syntax
public class IndexedStorage
Constructors
IndexedStorage(Int32)
Declaration
public IndexedStorage(int initialSize)
Parameters
Type |
Name |
Description |
System.Int32 |
initialSize |
|
Fields
FieldSeparator
Declaration
protected const char FieldSeparator = '\u0001'
Field Value
Type |
Description |
System.Char |
|
NotFound
Declaration
public const int NotFound = -1
Field Value
Type |
Description |
System.Int32 |
|
Methods
Declaration
public int AddCalendarTag(int tag, DateTimeOffset value, FixDateFormatterFactory.FixDateType type)
Parameters
Returns
Type |
Description |
System.Int32 |
|
Declaration
public int AddCalendarTagAtIndex(int index, int tagId, DateTimeOffset value, FixDateFormatterFactory.FixDateType type)
Parameters
Returns
Type |
Description |
System.Int32 |
|
Declaration
public int AddDateTimeTag(int tag, DateTime value, TimestampPrecision precision)
Parameters
Returns
Type |
Description |
System.Int32 |
|
Declaration
public int AddDateTimeTag(int tag, DateTimeOffset value, TimestampPrecision precision)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
System.DateTimeOffset |
value |
|
TimestampPrecision |
precision |
|
Returns
Type |
Description |
System.Int32 |
|
Declaration
public int AddDateTimeTagAtIndex(int index, int tagId, DateTime value, TimestampPrecision precision)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Int32 |
tagId |
|
System.DateTime |
value |
|
TimestampPrecision |
precision |
|
Returns
Type |
Description |
System.Int32 |
|
Declaration
public int AddDateTimeTagAtIndex(int index, int tagId, DateTimeOffset value, TimestampPrecision precision)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Int32 |
tagId |
|
System.DateTimeOffset |
value |
|
TimestampPrecision |
precision |
|
Returns
Type |
Description |
System.Int32 |
|
AddRepeatingGroup(Int32)
Adds group without validation at the end of message. Trailer is ignored.
Repeating
Declaration
public virtual RepeatingGroup AddRepeatingGroup(int leadingTag)
Parameters
Type |
Name |
Description |
System.Int32 |
leadingTag |
leading tag for new group
|
Returns
Type |
Description |
RepeatingGroup |
instance of RepeatingGroup from RepeatingGroupPool. There is no need to call release for this object.
|
AddRepeatingGroup(Int32, RepeatingGroup)
Adds group without validation at the end of message. Trailer is ignored.
Declaration
public virtual void AddRepeatingGroup(int leadingTag, RepeatingGroup group)
Parameters
Type |
Name |
Description |
System.Int32 |
leadingTag |
leading tag for new group
|
RepeatingGroup |
group |
repeating group object for further work with group
|
AddRepeatingGroup(Int32, Boolean)
Adds group at the end of message. Trailer is ignored.
Declaration
public virtual RepeatingGroup AddRepeatingGroup(int leadingTag, bool validation)
Parameters
Type |
Name |
Description |
System.Int32 |
leadingTag |
leading tag for new 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 group without validation at the end of message. Trailer is ignored.
Declaration
public virtual void AddRepeatingGroup(int leadingTag, bool validation, RepeatingGroup group)
Parameters
Type |
Name |
Description |
System.Int32 |
leadingTag |
leading tag for new group
|
System.Boolean |
validation |
|
RepeatingGroup |
group |
repeating group object for further work with group
|
AddRepeatingGroupAtIndex(Int32, Int32)
Adds group at specific place at message
Declaration
public virtual RepeatingGroup AddRepeatingGroupAtIndex(int index, int leadingTag)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
index in FIX message. Leading tag will be inserted at this index and all other group tags will follow.
|
System.Int32 |
leadingTag |
leading tag for new group
|
Returns
Type |
Description |
RepeatingGroup |
instance of RepeatingGroup from RepeatingGroupPool. There is no need to call release for this object.
|
AddRepeatingGroupAtIndex(Int32, Int32, RepeatingGroup)
Adds group at specific place at message
Declaration
public virtual void AddRepeatingGroupAtIndex(int index, int leadingTag, RepeatingGroup group)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
index in FIX message. Leading tag will be inserted at this index and all other group tags will follow.
|
System.Int32 |
leadingTag |
leading tag for new group
|
RepeatingGroup |
group |
repeating group object for further work with group
|
AddRepeatingGroupAtIndex(Int32, Int32, Boolean)
Adds group at specific place at message
Declaration
public virtual RepeatingGroup AddRepeatingGroupAtIndex(int index, int leadingTag, bool validation)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
index in FIX message. Leading tag will be inserted at this index and all other group tags will follow.
|
System.Int32 |
leadingTag |
leading tag for new 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.
|
AddRepeatingGroupAtIndex(Int32, Int32, Boolean, RepeatingGroup)
Adds group at specific place at message
Declaration
public virtual void AddRepeatingGroupAtIndex(int index, int leadingTag, bool validation, RepeatingGroup group)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
index in FIX message. Leading tag will be inserted at this index and all other group tags will follow.
|
System.Int32 |
leadingTag |
leading tag for new group
|
System.Boolean |
validation |
turn on/off validation
|
RepeatingGroup |
group |
repeating group object for further work with group
|
AddTag(Int32, Byte[], Int32, Int32)
Declaration
public int AddTag(int tag, byte[] value, int offset, int length)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
System.Byte[] |
value |
|
System.Int32 |
offset |
|
System.Int32 |
length |
|
Returns
Type |
Description |
System.Int32 |
|
AddTag(Int32, Char)
Declaration
public int AddTag(int tagId, char value)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Char |
value |
|
Returns
Type |
Description |
System.Int32 |
|
AddTag(Int32, Double, Int32)
Declaration
public int AddTag(int tag, double value, int precision)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
System.Double |
value |
|
System.Int32 |
precision |
|
Returns
Type |
Description |
System.Int32 |
|
AddTag(Int32, Int64)
Declaration
public int AddTag(int tag, long value)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
System.Int64 |
value |
|
Returns
Type |
Description |
System.Int32 |
|
AddTag(Int32, String)
Declaration
public int AddTag(int tag, string value)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
System.String |
value |
|
Returns
Type |
Description |
System.Int32 |
|
AddTagAtIndex(Int32, Int32, Byte)
Declaration
public int AddTagAtIndex(int addAtIndex, int tagId, byte value)
Parameters
Type |
Name |
Description |
System.Int32 |
addAtIndex |
|
System.Int32 |
tagId |
|
System.Byte |
value |
|
Returns
Type |
Description |
System.Int32 |
|
AddTagAtIndex(Int32, Int32, Byte[], Int32, Int32)
Declaration
public int AddTagAtIndex(int addAtIndex, int tagId, byte[] value, int offset, int length)
Parameters
Type |
Name |
Description |
System.Int32 |
addAtIndex |
|
System.Int32 |
tagId |
|
System.Byte[] |
value |
|
System.Int32 |
offset |
|
System.Int32 |
length |
|
Returns
Type |
Description |
System.Int32 |
|
AddTagAtIndex(Int32, Int32, Char)
Declaration
public int AddTagAtIndex(int addAtIndex, int tagId, char value)
Parameters
Type |
Name |
Description |
System.Int32 |
addAtIndex |
|
System.Int32 |
tagId |
|
System.Char |
value |
|
Returns
Type |
Description |
System.Int32 |
|
AddTagAtIndex(Int32, Int32, Double, Int32)
Declaration
public int AddTagAtIndex(int index, int tagId, double value, int precision)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Int32 |
tagId |
|
System.Double |
value |
|
System.Int32 |
precision |
|
Returns
Type |
Description |
System.Int32 |
|
AddTagAtIndex(Int32, Int32, Int64)
Declaration
public int AddTagAtIndex(int index, int tagId, long value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Int32 |
tagId |
|
System.Int64 |
value |
|
Returns
Type |
Description |
System.Int32 |
|
AddTagAtIndex(Int32, Int32, Int64, Boolean)
Declaration
public int AddTagAtIndex(int index, int tagId, long value, bool shiftRg)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Int32 |
tagId |
|
System.Int64 |
value |
|
System.Boolean |
shiftRg |
|
Returns
Type |
Description |
System.Int32 |
|
AddTagAtIndex(Int32, Int32, String)
Declaration
public int AddTagAtIndex(int index, int tagId, string value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Int32 |
tagId |
|
System.String |
value |
|
Returns
Type |
Description |
System.Int32 |
|
AddTagAtIndexForRg(Int32, Int32, Int64, Int32)
Declaration
protected int AddTagAtIndexForRg(int index, int tagId, long value, int rgId)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Int32 |
tagId |
|
System.Int64 |
value |
|
System.Int32 |
rgId |
|
Returns
Type |
Description |
System.Int32 |
|
Declaration
public int AddTimeTag(int tag, DateTime value, TimestampPrecision precision)
Parameters
Returns
Type |
Description |
System.Int32 |
|
Declaration
public int AddTimeTag(int tag, DateTimeOffset value, TimestampPrecision precision)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
System.DateTimeOffset |
value |
|
TimestampPrecision |
precision |
|
Returns
Type |
Description |
System.Int32 |
|
Declaration
public int AddTimeTagAtIndex(int index, int tagId, DateTime value, TimestampPrecision precision)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Int32 |
tagId |
|
System.DateTime |
value |
|
TimestampPrecision |
precision |
|
Returns
Type |
Description |
System.Int32 |
|
Declaration
public int AddTimeTagAtIndex(int index, int tagId, DateTimeOffset value, TimestampPrecision precision)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Int32 |
tagId |
|
System.DateTimeOffset |
value |
|
TimestampPrecision |
precision |
|
Returns
Type |
Description |
System.Int32 |
|
CanCopyInPlace(Int32, Int32, Int32)
Declaration
protected virtual bool CanCopyInPlace(int index, int oldLen, int length)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Int32 |
oldLen |
|
System.Int32 |
length |
|
Returns
Type |
Description |
System.Boolean |
|
CanCopyInPlaceNumber(Int32, Int32, Int32)
Declaration
protected virtual bool CanCopyInPlaceNumber(int index, int oldLen, int length)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Int32 |
oldLen |
|
System.Int32 |
length |
|
Returns
Type |
Description |
System.Boolean |
|
CanCopyInPlaceWithLengthReducing(Int32, Int32, Int32)
Declaration
protected virtual bool CanCopyInPlaceWithLengthReducing(int index, int oldLen, int length)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Int32 |
oldLen |
|
System.Int32 |
length |
|
Returns
Type |
Description |
System.Boolean |
|
Clear()
Declaration
public virtual void Clear()
Declaration
public void ClearUnserializableTags()
CopyRepeatingGroup(RepeatingGroup)
Copy repeating group at end of message
Declaration
public virtual RepeatingGroup CopyRepeatingGroup(RepeatingGroup source)
Parameters
Returns
CopyRepeatingGroup(RepeatingGroup, RepeatingGroup)
Copy repeating group at end of message
Declaration
public virtual void CopyRepeatingGroup(RepeatingGroup source, RepeatingGroup dest)
Parameters
CopyRepeatingGroup(RepeatingGroup, RepeatingGroup, Int32)
Copy repeating group at specified index of message
Declaration
public virtual void CopyRepeatingGroup(RepeatingGroup source, RepeatingGroup dest, int index)
Parameters
Type |
Name |
Description |
RepeatingGroup |
source |
repeating group for copy
|
RepeatingGroup |
dest |
entry for hold copied repeating group
|
System.Int32 |
index |
index at which the source entry is to be copied
|
CopyRepeatingGroup(RepeatingGroup, Int32)
Copy repeating group at specified index of message
Declaration
public virtual RepeatingGroup CopyRepeatingGroup(RepeatingGroup source, int index)
Parameters
Type |
Name |
Description |
RepeatingGroup |
source |
repeating group for copy
|
System.Int32 |
index |
index at which the source entry is to be copied
|
Returns
DeepCopy(IndexedStorage)
Declaration
protected virtual void DeepCopy(IndexedStorage source)
Parameters
EnsureCapacityAndEnlarge()
Declaration
protected virtual void EnsureCapacityAndEnlarge()
EnsureCapacityAndEnlarge(Int32)
Declaration
protected virtual bool EnsureCapacityAndEnlarge(int ratio)
Parameters
Type |
Name |
Description |
System.Int32 |
ratio |
|
Returns
Type |
Description |
System.Boolean |
|
FillSubStorage(Int32, Int32, IndexedStorage)
Declaration
protected virtual void FillSubStorage(int fromIndex, int toIndex, IndexedStorage subStorage)
Parameters
Type |
Name |
Description |
System.Int32 |
fromIndex |
|
System.Int32 |
toIndex |
|
IndexedStorage |
subStorage |
|
FindOrPrepareToAdd(Int32, IndexedStorage.MissingTagHandling)
Declaration
protected virtual int FindOrPrepareToAdd(int tag, IndexedStorage.MissingTagHandling addIfNotExists)
Parameters
Returns
Type |
Description |
System.Int32 |
index of tag
|
FindOrPrepareToAdd(Int32, Int32, IndexedStorage.MissingTagHandling)
Declaration
protected virtual int FindOrPrepareToAdd(int tag, int occurrence, IndexedStorage.MissingTagHandling addIfNotExists)
Parameters
Returns
Type |
Description |
System.Int32 |
|
Declaration
protected virtual int GenericMessageToByteArrayAndReturnNextPosition(byte[] dst, int offset, IMaskedTags maskedTags)
Parameters
Type |
Name |
Description |
System.Byte[] |
dst |
|
System.Int32 |
offset |
|
IMaskedTags |
maskedTags |
|
Returns
Type |
Description |
System.Int32 |
|
GetFieldIndexData()
Declaration
protected virtual IFieldIndexData GetFieldIndexData()
Returns
GetFixVersion()
Declaration
public virtual FixVersionContainer GetFixVersion()
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
GetIndexCapacity()
Declaration
protected virtual int GetIndexCapacity()
Returns
Type |
Description |
System.Int32 |
|
GetNumOfGroup()
Declaration
public virtual int GetNumOfGroup()
Returns
Type |
Description |
System.Int32 |
|
GetOrAddRepeatingGroup(Int32)
Returns repeating group from storage by leading tag. If group doesn't exist, add group at end of message.
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 storage. If group doesn't exist, add group at end of of message
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
|
GetOrAddRepeatingGroupAtIndex(Int32, Int32)
Returns repeating group from storage by leading tag. If group doesn't exist, add group at passed index in message.
Declaration
public virtual RepeatingGroup GetOrAddRepeatingGroupAtIndex(int leadingTag, int index)
Parameters
Type |
Name |
Description |
System.Int32 |
leadingTag |
leading tag for repeating group
|
System.Int32 |
index |
|
Returns
Type |
Description |
RepeatingGroup |
instance of RepeatingGroup from RepeatingGroupPool. There is no need to call release for this object.
|
GetOrAddRepeatingGroupAtIndex(Int32, Int32, RepeatingGroup)
Returns repeating group from storage by leading tag. If group doesn't exist, add group at passed index in message.
Declaration
public virtual void GetOrAddRepeatingGroupAtIndex(int leadingTag, int index, RepeatingGroup group)
Parameters
Type |
Name |
Description |
System.Int32 |
leadingTag |
leading tag for repeating group
|
System.Int32 |
index |
|
RepeatingGroup |
group |
|
GetRawLength()
Declaration
public int GetRawLength()
Returns
Type |
Description |
System.Int32 |
|
GetRepeatingGroup(Int32)
Returns repeating group from storage by leading tag. If group doesn't exist, returns null.
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 storage. If group doesn't exist, throws exception.
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, founded by index of leading tag
Declaration
public virtual RepeatingGroup GetRepeatingGroupAtIndex(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
index of repeating group's leading tag at message
|
Returns
Type |
Description |
RepeatingGroup |
instance of RepeatingGroup from RepeatingGroupPool. There is no need to call release for this object.
|
GetRepeatingGroupAtIndex(Int32, RepeatingGroup)
Fills passed repeating group instance by data, founded by index of leading tag
Declaration
public virtual void GetRepeatingGroupAtIndex(int index, RepeatingGroup group)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
leading tag for repeating group
|
RepeatingGroup |
group |
repeating group object for fill
|
GetSize()
Declaration
public virtual int GetSize()
Returns
Type |
Description |
System.Int32 |
|
GetStorage(Int32)
Declaration
protected virtual MessageStorage GetStorage(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
GetStorageType(Int32)
Declaration
protected virtual int GetStorageType(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
Type |
Description |
System.Int32 |
|
GetTagIdAtIndex(Int32)
Declaration
public virtual int GetTagIdAtIndex(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
Type |
Description |
System.Int32 |
|
GetTagIndex(Int32)
Declaration
public virtual int GetTagIndex(int tag)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
Returns
Type |
Description |
System.Int32 |
|
GetTagIndex(Int32, Int32)
Declaration
public virtual int GetTagIndex(int tag, int occurrence)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
System.Int32 |
occurrence |
|
Returns
Type |
Description |
System.Int32 |
|
GetTagIndexBetween(Int32, Int32, Int32)
Declaration
public int GetTagIndexBetween(int tag, int startIndex, int endIndex)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
System.Int32 |
startIndex |
|
System.Int32 |
endIndex |
|
Returns
Type |
Description |
System.Int32 |
|
GetTagIndexStartingFrom(Int32, Int32)
Declaration
public int GetTagIndexStartingFrom(int tag, int fromIndex)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
System.Int32 |
fromIndex |
|
Returns
Type |
Description |
System.Int32 |
|
GetTagValueAsBoolAtIndex(Int32)
Declaration
public bool GetTagValueAsBoolAtIndex(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
Type |
Description |
System.Boolean |
|
GetTagValueAsByteAtIndex(Int32, Int32)
Declaration
public byte GetTagValueAsByteAtIndex(int index, int offset)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Int32 |
offset |
|
Returns
Type |
Description |
System.Byte |
|
GetTagValueAsBytesAtIndex(Int32)
Declaration
public byte[] GetTagValueAsBytesAtIndex(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
Type |
Description |
System.Byte[] |
|
GetTagValueAsBytesAtIndex(Int32, Byte[], Int32)
Declaration
public int GetTagValueAsBytesAtIndex(int index, byte[] dest, int offset)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Byte[] |
dest |
|
System.Int32 |
offset |
|
Returns
Type |
Description |
System.Int32 |
|
GetTagValueAsDecimalAtIndex(Int32)
Declaration
public decimal GetTagValueAsDecimalAtIndex(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
Type |
Description |
System.Decimal |
|
GetTagValueAsDoubleAtIndex(Int32)
Declaration
public double GetTagValueAsDoubleAtIndex(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
Type |
Description |
System.Double |
|
GetTagValueAsLongAtIndex(Int32)
Declaration
public long GetTagValueAsLongAtIndex(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
Type |
Description |
System.Int64 |
|
GetTagValueAsReusableStringAtIndex(ReusableString, Int32)
Declaration
public void GetTagValueAsReusableStringAtIndex(ReusableString reusableString, int index)
Parameters
Type |
Name |
Description |
ReusableString |
reusableString |
|
System.Int32 |
index |
|
GetTagValueAsStringAtIndex(Int32)
Declaration
public virtual string GetTagValueAsStringAtIndex(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
Type |
Description |
System.String |
|
GetTagValueAsStringBuffAtIndex(Int32, StringBuilder)
Declaration
public void GetTagValueAsStringBuffAtIndex(int index, StringBuilder str)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Text.StringBuilder |
str |
|
GetTagValueAtIndex(Int32, ByteBuffer)
Declaration
public void GetTagValueAtIndex(int index, ByteBuffer destination)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
ByteBuffer |
destination |
|
GetTagValueLength(Int32)
Declaration
public virtual int GetTagValueLength(int tagId)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
Returns
Type |
Description |
System.Int32 |
|
GetTagValueLength(Int32, Int32)
Declaration
public virtual int GetTagValueLength(int tagId, int occurrence)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Int32 |
occurrence |
|
Returns
Type |
Description |
System.Int32 |
|
GetTagValueLengthAtIndex(Int32)
Declaration
public virtual int GetTagValueLengthAtIndex(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
Type |
Description |
System.Int32 |
|
GetTagValueOffsetAtIndex(Int32)
Declaration
protected virtual int GetTagValueOffsetAtIndex(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
Type |
Description |
System.Int32 |
|
InvalidateRepeatingGroupIndex()
Returns all inner arrays, RepeatingGroup and Entry back to pool.
It returns only those RepeatingGroup and Entry, that have been got implicitly from addRepeatingGroup/getRepeatingGroup.
If you got RepeatingGroup or Entry explicit from RepeatingGroupPool, you should take care of call release.
Also this method implicitly calls in ReleaseInstance().
Declaration
public virtual void InvalidateRepeatingGroupIndex()
Declaration
protected virtual bool isAllTagsInOneBuffer()
Returns
Type |
Description |
System.Boolean |
|
IsRepeatingGroupExists(Int32)
Checks is message contains not 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 exists.
|
IsTagExists(Int32)
Declaration
public virtual bool IsTagExists(int tag)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
Returns
Type |
Description |
System.Boolean |
|
IsTagExists(Int32, Int32)
Declaration
public virtual bool IsTagExists(int tag, int occurrence)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
System.Int32 |
occurrence |
|
Returns
Type |
Description |
System.Boolean |
|
LoadTagValue(Int32, TagValue)
Declaration
public void LoadTagValue(int tagId, TagValue destination)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
TagValue |
destination |
|
LoadTagValue(Int32, TagValue, Int32)
Declaration
public void LoadTagValue(int tagId, TagValue destination, int occurrence)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
TagValue |
destination |
|
System.Int32 |
occurrence |
|
LoadTagValueByIndex(Int32, TagValue)
Declaration
public void LoadTagValueByIndex(int index, TagValue destination)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
TagValue |
destination |
|
MapPreparedTagInOrigStorage(Int32, Int32, Int32)
Declaration
protected virtual int MapPreparedTagInOrigStorage(int tag, int offset, int length)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
System.Int32 |
offset |
|
System.Int32 |
length |
|
Returns
Type |
Description |
System.Int32 |
|
MapTagInOrigStorage(Int32, Int32, Int32)
Declaration
protected virtual int MapTagInOrigStorage(int tag, int offset, int length)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
System.Int32 |
offset |
|
System.Int32 |
length |
|
Returns
Type |
Description |
System.Int32 |
|
MarkUnserializableTag(Int32)
Declaration
public void MarkUnserializableTag(in int tag)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
OnEnlarge(Int32, Int32)
Declaration
protected virtual void OnEnlarge(int ratio, int newSize)
Parameters
Type |
Name |
Description |
System.Int32 |
ratio |
|
System.Int32 |
newSize |
|
Declaration
protected virtual int PreparedToByteArrayAndReturnNextPosition(byte[] dst, int offset, IMaskedTags maskedTags)
Parameters
Type |
Name |
Description |
System.Byte[] |
dst |
|
System.Int32 |
offset |
|
IMaskedTags |
maskedTags |
|
Returns
Type |
Description |
System.Int32 |
|
RemoveRepeatingGroup(Int32)
Removes repeating group with specified leading tag
Declaration
public virtual bool RemoveRepeatingGroup(int leadingTag)
Parameters
Type |
Name |
Description |
System.Int32 |
leadingTag |
leading tag of group
|
Returns
Type |
Description |
System.Boolean |
true if there is group with specified leading tag
|
RemoveRepeatingGroupAtIndex(Int32)
Removes repeating group with leading tag at specified index
Declaration
public virtual bool RemoveRepeatingGroupAtIndex(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
of repeating group's leading tag
|
Returns
Type |
Description |
System.Boolean |
true if there is group with specified leading tag
|
RemoveTag(Int32)
Removes a fix field with specified tag from collection.
The methods removes the first occurrence of the specified tag.
Declaration
public virtual bool RemoveTag(int tag)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
the fix tag.
|
Returns
Type |
Description |
System.Boolean |
true if the element was removed.
|
RemoveTag(Int32, Int32)
Declaration
public virtual bool RemoveTag(int tag, int occurrence)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
System.Int32 |
occurrence |
|
Returns
Type |
Description |
System.Boolean |
|
RemoveTagAtIndex(Int32)
Declaration
public virtual bool RemoveTagAtIndex(int tagIndex)
Parameters
Type |
Name |
Description |
System.Int32 |
tagIndex |
|
Returns
Type |
Description |
System.Boolean |
|
RemoveTagAtIndex(Int32, Boolean)
Declaration
public virtual bool RemoveTagAtIndex(int tagIndex, bool shiftRg)
Parameters
Type |
Name |
Description |
System.Int32 |
tagIndex |
|
System.Boolean |
shiftRg |
|
Returns
Type |
Description |
System.Boolean |
|
ReserveTagAtIndex(Int32, Int32)
Declaration
public virtual int ReserveTagAtIndex(int addAtIndex, int tagId)
Parameters
Type |
Name |
Description |
System.Int32 |
addAtIndex |
|
System.Int32 |
tagId |
|
Returns
Type |
Description |
System.Int32 |
|
ReserveTagAtIndex(Int32, Int32, Boolean)
Declaration
public virtual int ReserveTagAtIndex(int addAtIndex, int tagId, bool shiftRg)
Parameters
Type |
Name |
Description |
System.Int32 |
addAtIndex |
|
System.Int32 |
tagId |
|
System.Boolean |
shiftRg |
|
Returns
Type |
Description |
System.Int32 |
|
ReserveTagAtIndexForRg(Int32, Int32, Int32)
Declaration
protected virtual int ReserveTagAtIndexForRg(int addAtIndex, int tagId, int rgId)
Parameters
Type |
Name |
Description |
System.Int32 |
addAtIndex |
|
System.Int32 |
tagId |
|
System.Int32 |
rgId |
|
Returns
Type |
Description |
System.Int32 |
|
SetOriginalBuffer(Byte[], Int32, Int32)
Declaration
protected virtual void SetOriginalBuffer(byte[] buf, int offset, int length)
Parameters
Type |
Name |
Description |
System.Byte[] |
buf |
|
System.Int32 |
offset |
|
System.Int32 |
length |
|
SetPaddedLongTag(Int32, Int64, Int32, IndexedStorage.MissingTagHandling)
Add or update tag with padded long value.
Declaration
public int SetPaddedLongTag(int tag, long value, int padding, IndexedStorage.MissingTagHandling addIfNotExists = IndexedStorage.MissingTagHandling.AlwaysAdd)
Parameters
Returns
Type |
Description |
System.Int32 |
Returns index of the processed tag, or -1 if tag not found and addIdNotExist is DontAddIfNotExists
|
ToByteArrayAndReturnNextPosition(Byte[], Int32, Int32[])
Declaration
public int ToByteArrayAndReturnNextPosition(byte[] dst, int offset, int[] excludedFields)
Parameters
Type |
Name |
Description |
System.Byte[] |
dst |
|
System.Int32 |
offset |
|
System.Int32[] |
excludedFields |
|
Returns
Type |
Description |
System.Int32 |
|
TransferDataToArena()
Declaration
protected virtual void TransferDataToArena()
Declaration
public int UpdateCalendarValue(int tag, DateTimeOffset value, FixDateFormatterFactory.FixDateType type, IndexedStorage.MissingTagHandling addIfNotExists)
Parameters
Returns
Type |
Description |
System.Int32 |
|
Declaration
public int UpdateCalendarValue(int tag, int occurrence, DateTimeOffset value, FixDateFormatterFactory.FixDateType type, IndexedStorage.MissingTagHandling addIfNotExists)
Parameters
Returns
Type |
Description |
System.Int32 |
|
Declaration
public virtual void UpdateCalendarValueAtIndex(int index, DateTimeOffset value, FixDateFormatterFactory.FixDateType type)
Parameters
UpdateDateTimeValue(Int32, DateTime, TimestampPrecision, IndexedStorage.MissingTagHandling)
Declaration
public int UpdateDateTimeValue(int tag, DateTime value, TimestampPrecision precision, IndexedStorage.MissingTagHandling addIfNotExists)
Parameters
Returns
Type |
Description |
System.Int32 |
|
UpdateDateTimeValue(Int32, DateTimeOffset, TimestampPrecision, IndexedStorage.MissingTagHandling)
Declaration
public int UpdateDateTimeValue(int tag, DateTimeOffset value, TimestampPrecision precision, IndexedStorage.MissingTagHandling addIfNotExists)
Parameters
Returns
Type |
Description |
System.Int32 |
|
UpdateDateTimeValue(Int32, Int32, DateTime, TimestampPrecision, IndexedStorage.MissingTagHandling)
Declaration
public int UpdateDateTimeValue(int tag, int occurrence, DateTime value, TimestampPrecision precision, IndexedStorage.MissingTagHandling addIfNotExists)
Parameters
Returns
Type |
Description |
System.Int32 |
|
UpdateDateTimeValue(Int32, Int32, DateTimeOffset, TimestampPrecision, IndexedStorage.MissingTagHandling)
Declaration
public int UpdateDateTimeValue(int tag, int occurrence, DateTimeOffset value, TimestampPrecision precision, IndexedStorage.MissingTagHandling addIfNotExists)
Parameters
Returns
Type |
Description |
System.Int32 |
|
UpdateDateTimeValueAtIndex(Int32, DateTime, TimestampPrecision)
Declaration
public virtual void UpdateDateTimeValueAtIndex(int index, DateTime value, TimestampPrecision precision)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.DateTime |
value |
|
TimestampPrecision |
precision |
|
UpdateDateTimeValueAtIndex(Int32, DateTimeOffset, TimestampPrecision)
Declaration
public virtual void UpdateDateTimeValueAtIndex(int index, DateTimeOffset value, TimestampPrecision precision)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.DateTimeOffset |
value |
|
TimestampPrecision |
precision |
|
UpdatePaddedValueAtIndex(Int32, Int64, Int32)
Declaration
public virtual void UpdatePaddedValueAtIndex(int index, long value, int padding)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Int64 |
value |
|
System.Int32 |
padding |
|
UpdateTimeValue(Int32, DateTime, TimestampPrecision, IndexedStorage.MissingTagHandling)
Declaration
public int UpdateTimeValue(int tag, DateTime value, TimestampPrecision precision, IndexedStorage.MissingTagHandling addIfNotExists)
Parameters
Returns
Type |
Description |
System.Int32 |
|
UpdateTimeValue(Int32, DateTimeOffset, TimestampPrecision, IndexedStorage.MissingTagHandling)
Declaration
public int UpdateTimeValue(int tag, DateTimeOffset value, TimestampPrecision precision, IndexedStorage.MissingTagHandling addIfNotExists)
Parameters
Returns
Type |
Description |
System.Int32 |
|
UpdateTimeValue(Int32, Int32, DateTime, TimestampPrecision, IndexedStorage.MissingTagHandling)
Declaration
public int UpdateTimeValue(int tag, int occurrence, DateTime value, TimestampPrecision precision, IndexedStorage.MissingTagHandling addIfNotExists)
Parameters
Returns
Type |
Description |
System.Int32 |
|
UpdateTimeValue(Int32, Int32, DateTimeOffset, TimestampPrecision, IndexedStorage.MissingTagHandling)
Declaration
public int UpdateTimeValue(int tag, int occurrence, DateTimeOffset value, TimestampPrecision precision, IndexedStorage.MissingTagHandling addIfNotExists)
Parameters
Returns
Type |
Description |
System.Int32 |
|
UpdateTimeValueAtIndex(Int32, DateTime, TimestampPrecision)
Declaration
public virtual void UpdateTimeValueAtIndex(int index, DateTime value, TimestampPrecision precision)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.DateTime |
value |
|
TimestampPrecision |
precision |
|
UpdateTimeValueAtIndex(Int32, DateTimeOffset, TimestampPrecision)
Declaration
public virtual void UpdateTimeValueAtIndex(int index, DateTimeOffset value, TimestampPrecision precision)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.DateTimeOffset |
value |
|
TimestampPrecision |
precision |
|
UpdateValue(TagValue, IndexedStorage.MissingTagHandling)
Declaration
public int UpdateValue(TagValue value, IndexedStorage.MissingTagHandling addIfNotExists)
Parameters
Returns
Type |
Description |
System.Int32 |
|
UpdateValue(TagValue, Int32, IndexedStorage.MissingTagHandling)
Declaration
public int UpdateValue(TagValue value, int occurrence, IndexedStorage.MissingTagHandling addIfNotExists)
Parameters
Returns
Type |
Description |
System.Int32 |
|
UpdateValue(Int32, Boolean, IndexedStorage.MissingTagHandling)
Declaration
public int UpdateValue(int tag, bool value, IndexedStorage.MissingTagHandling addIfNotExists)
Parameters
Returns
Type |
Description |
System.Int32 |
|
UpdateValue(Int32, Byte[], IndexedStorage.MissingTagHandling)
Declaration
public int UpdateValue(int tag, byte[] value, IndexedStorage.MissingTagHandling addIfNotExists)
Parameters
Returns
Type |
Description |
System.Int32 |
|
UpdateValue(Int32, Byte[], Int32, Int32, IndexedStorage.MissingTagHandling)
Declaration
public int UpdateValue(int tag, byte[] value, int offset, int length, IndexedStorage.MissingTagHandling addIfNotExists)
Parameters
Returns
Type |
Description |
System.Int32 |
|
UpdateValue(Int32, Double, Int32, IndexedStorage.MissingTagHandling)
Declaration
public int UpdateValue(int tag, double value, int precision, IndexedStorage.MissingTagHandling addIfNotExists)
Parameters
Returns
Type |
Description |
System.Int32 |
|
UpdateValue(Int32, Int32, Boolean, IndexedStorage.MissingTagHandling)
Declaration
public int UpdateValue(int tag, int occurrence, bool value, IndexedStorage.MissingTagHandling addIfNotExists)
Parameters
Returns
Type |
Description |
System.Int32 |
|
UpdateValue(Int32, Int32, Byte[], IndexedStorage.MissingTagHandling)
Declaration
public int UpdateValue(int tagId, int occurrence, byte[] value, IndexedStorage.MissingTagHandling addIfNotExists)
Parameters
Returns
Type |
Description |
System.Int32 |
|
UpdateValue(Int32, Int32, Byte[], Int32, Int32, IndexedStorage.MissingTagHandling)
Declaration
public int UpdateValue(int tag, int occurrence, byte[] value, int offset, int length, IndexedStorage.MissingTagHandling addIfNotExists)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
System.Int32 |
occurrence |
|
System.Byte[] |
value |
|
System.Int32 |
offset |
|
System.Int32 |
length |
|
IndexedStorage.MissingTagHandling |
addIfNotExists |
|
Returns
Type |
Description |
System.Int32 |
|
UpdateValue(Int32, Int32, Double, Int32, IndexedStorage.MissingTagHandling)
Declaration
public int UpdateValue(int tag, int occurrence, double value, int precision, IndexedStorage.MissingTagHandling addIfNotExists)
Parameters
Returns
Type |
Description |
System.Int32 |
|
UpdateValue(Int32, Int32, Int64, IndexedStorage.MissingTagHandling)
Declaration
public int UpdateValue(int tag, int occurrence, long value, IndexedStorage.MissingTagHandling addIfNotExists)
Parameters
Returns
Type |
Description |
System.Int32 |
|
UpdateValue(Int32, Int32, String, IndexedStorage.MissingTagHandling)
Declaration
public int UpdateValue(int tag, int occurrence, string strBuffer, IndexedStorage.MissingTagHandling addIfNotExists)
Parameters
Returns
Type |
Description |
System.Int32 |
|
UpdateValue(Int32, Int64, IndexedStorage.MissingTagHandling)
Declaration
public int UpdateValue(int tag, long value, IndexedStorage.MissingTagHandling addIfNotExists)
Parameters
Returns
Type |
Description |
System.Int32 |
|
UpdateValue(Int32, String, IndexedStorage.MissingTagHandling)
Declaration
public int UpdateValue(int tag, string strBuffer, IndexedStorage.MissingTagHandling addIfNotExists)
Parameters
Returns
Type |
Description |
System.Int32 |
|
UpdateValueAtIndex(Int32, TagValue)
Declaration
public virtual void UpdateValueAtIndex(int tagIndex, TagValue value)
Parameters
Type |
Name |
Description |
System.Int32 |
tagIndex |
|
TagValue |
value |
|
UpdateValueAtIndex(Int32, Boolean)
Declaration
public virtual void UpdateValueAtIndex(int tagIndex, bool value)
Parameters
Type |
Name |
Description |
System.Int32 |
tagIndex |
|
System.Boolean |
value |
|
UpdateValueAtIndex(Int32, Byte[])
Declaration
public virtual void UpdateValueAtIndex(int index, byte[] value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Byte[] |
value |
|
UpdateValueAtIndex(Int32, Byte[], Int32, Int32)
Declaration
public virtual void UpdateValueAtIndex(int tagIndex, byte[] value, int offset, int length)
Parameters
Type |
Name |
Description |
System.Int32 |
tagIndex |
|
System.Byte[] |
value |
|
System.Int32 |
offset |
|
System.Int32 |
length |
|
UpdateValueAtIndex(Int32, Double, Int32)
Declaration
public virtual void UpdateValueAtIndex(int index, double value, int precision)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Double |
value |
|
System.Int32 |
precision |
|
UpdateValueAtIndex(Int32, Int64)
Declaration
public virtual void UpdateValueAtIndex(int index, long value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Int64 |
value |
|
UpdateValueAtIndex(Int32, String)
Declaration
public virtual void UpdateValueAtIndex(int tagIndex, string str)
Parameters
Type |
Name |
Description |
System.Int32 |
tagIndex |
|
System.String |
str |
|