Class ExtendedIndexedStorage
Inheritance
System.Object
ExtendedIndexedStorage
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 abstract class ExtendedIndexedStorage : IndexedStorage
Constructors
ExtendedIndexedStorage(Int32)
Declaration
protected ExtendedIndexedStorage(int initialSize)
Parameters
Type |
Name |
Description |
System.Int32 |
initialSize |
|
Methods
AddTag(TagValue)
Declaration
public int AddTag(TagValue tagValue)
Parameters
Returns
Type |
Description |
System.Int32 |
|
AddTag(Int32, Boolean)
Declaration
public int AddTag(int tagId, bool value)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Boolean |
value |
|
Returns
Type |
Description |
System.Int32 |
|
AddTag(Int32, Byte[])
Declaration
public int AddTag(int tagId, byte[] value)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Byte[] |
value |
|
Returns
Type |
Description |
System.Int32 |
|
AddTagAtIndex(Int32, TagValue)
Declaration
public int AddTagAtIndex(int index, TagValue tagValue)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
TagValue |
tagValue |
|
Returns
Type |
Description |
System.Int32 |
|
AddTagAtIndex(Int32, Int32, Boolean)
Declaration
public int AddTagAtIndex(int index, int tagId, bool value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Int32 |
tagId |
|
System.Boolean |
value |
|
Returns
Type |
Description |
System.Int32 |
|
AddTagAtIndex(Int32, Int32, Byte[])
Declaration
public int AddTagAtIndex(int index, int tagId, byte[] value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Int32 |
tagId |
|
System.Byte[] |
value |
|
Returns
Type |
Description |
System.Int32 |
|
GetMsgSeqNumber()
Gets message sequence number.
Declaration
public long GetMsgSeqNumber()
Returns
Type |
Description |
System.Int64 |
sequence number if field exist and -1 if doesn't.
|
GetMsgType()
Declaration
public byte[] GetMsgType()
Returns
Type |
Description |
System.Byte[] |
message type or null if tag 35 not exists.
|
GetMsgVersion()
Gets message fix version.
Declaration
public FixVersion GetMsgVersion()
Returns
Type |
Description |
FixVersion |
FIXVersion if 9 tg exists
|
Exceptions
Type |
Condition |
System.ArgumentException |
if version is invalid.
|
GetTagValueAsBool(Int32)
Declaration
public bool GetTagValueAsBool(int tag)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
Returns
Type |
Description |
System.Boolean |
|
GetTagValueAsBool(Int32, Int32)
Declaration
public bool GetTagValueAsBool(int tagId, int occurrence)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Int32 |
occurrence |
|
Returns
Type |
Description |
System.Boolean |
|
GetTagValueAsByte(Int32)
Declaration
public byte GetTagValueAsByte(int tag)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
Returns
Type |
Description |
System.Byte |
|
GetTagValueAsByte(Int32, Int32)
Declaration
public byte GetTagValueAsByte(int tag, int offset)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
System.Int32 |
offset |
|
Returns
Type |
Description |
System.Byte |
|
GetTagValueAsByte(Int32, Int32, Int32)
Declaration
public byte GetTagValueAsByte(int tagId, int offset, int occurrence)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Int32 |
offset |
|
System.Int32 |
occurrence |
|
Returns
Type |
Description |
System.Byte |
|
GetTagValueAsByteAtIndex(Int32)
Declaration
public byte GetTagValueAsByteAtIndex(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
Type |
Description |
System.Byte |
|
GetTagValueAsBytes(Int32)
Declaration
public byte[] GetTagValueAsBytes(int tag)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
Returns
Type |
Description |
System.Byte[] |
|
GetTagValueAsBytes(Int32, Byte[], Int32)
Declaration
public int GetTagValueAsBytes(int tag, byte[] dest, int offset)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
System.Byte[] |
dest |
|
System.Int32 |
offset |
|
Returns
Type |
Description |
System.Int32 |
value length
|
Exceptions
GetTagValueAsBytes(Int32, Int32)
Declaration
public byte[] GetTagValueAsBytes(int tagId, int occurrence)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Int32 |
occurrence |
|
Returns
Type |
Description |
System.Byte[] |
|
GetTagValueAsBytes(Int32, Int32, Byte[], Int32)
Declaration
public int GetTagValueAsBytes(int tagId, int occurrence, byte[] dest, int offset)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Int32 |
occurrence |
|
System.Byte[] |
dest |
|
System.Int32 |
offset |
|
Returns
Type |
Description |
System.Int32 |
|
getTagValueAsDateOnly(Int32)
Declaration
public virtual DateTime getTagValueAsDateOnly(int tag)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
Returns
Type |
Description |
System.DateTime |
|
getTagValueAsDateOnly(Int32, Int32)
Declaration
public virtual DateTime getTagValueAsDateOnly(int tagId, int occurrence)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Int32 |
occurrence |
|
Returns
Type |
Description |
System.DateTime |
|
getTagValueAsDateOnlyAtIndex(Int32)
Declaration
public virtual DateTime getTagValueAsDateOnlyAtIndex(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
Type |
Description |
System.DateTime |
|
GetTagValueAsDecimal(Int32)
Declaration
public decimal GetTagValueAsDecimal(int tag)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
Returns
Type |
Description |
System.Decimal |
|
GetTagValueAsDecimal(Int32, Int32)
Declaration
public decimal GetTagValueAsDecimal(int tag, int occurrence)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
System.Int32 |
occurrence |
|
Returns
Type |
Description |
System.Decimal |
|
GetTagValueAsDouble(Int32)
Declaration
public double GetTagValueAsDouble(int tag)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
Returns
Type |
Description |
System.Double |
|
GetTagValueAsDouble(Int32, Int32)
Declaration
public double GetTagValueAsDouble(int tagId, int occurrence)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Int32 |
occurrence |
|
Returns
Type |
Description |
System.Double |
|
GetTagValueAsLong(Int32)
Declaration
public long GetTagValueAsLong(int tag)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
Returns
Type |
Description |
System.Int64 |
|
GetTagValueAsLong(Int32, Int32)
Declaration
public long GetTagValueAsLong(int tagId, int occurrence)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Int32 |
occurrence |
|
Returns
Type |
Description |
System.Int64 |
|
GetTagValueAsMonthYear(Int32)
Declaration
public virtual DateTime GetTagValueAsMonthYear(int tag)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
Returns
Type |
Description |
System.DateTime |
|
GetTagValueAsMonthYear(Int32, Int32)
Declaration
public virtual DateTime GetTagValueAsMonthYear(int tagId, int occurrence)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Int32 |
occurrence |
|
Returns
Type |
Description |
System.DateTime |
|
GetTagValueAsMonthYearAtIndex(Int32)
Declaration
public virtual DateTime GetTagValueAsMonthYearAtIndex(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
Type |
Description |
System.DateTime |
|
GetTagValueAsReusableString(ReusableString, Int32)
Sets the value in provided ReusableString. The method can be used for obtaining string values without creating a new object (to avoid garbage).
Declaration
public void GetTagValueAsReusableString(ReusableString reusableString, int tagId)
Parameters
Type |
Name |
Description |
ReusableString |
reusableString |
|
System.Int32 |
tagId |
number of tag for which the value will be obtained.
|
Exceptions
GetTagValueAsReusableString(ReusableString, Int32, Int32)
Sets the value in provided ReusableString. The method can be used for obtaining string values without creating a new object (to avoid garbage).
Declaration
public void GetTagValueAsReusableString(ReusableString reusableString, int tagId, int occurrence)
Parameters
Type |
Name |
Description |
ReusableString |
reusableString |
|
System.Int32 |
tagId |
number of tag for which the value will be obtained.
|
System.Int32 |
occurrence |
value occurrence of specified tag. Numeration starts with 1.
|
Exceptions
GetTagValueAsString(Int32)
Declaration
public string GetTagValueAsString(int tagId)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
the tag id
|
Returns
Type |
Description |
System.String |
string value if tag exist, otherwise null
|
GetTagValueAsString(Int32, Int32)
Declaration
public string GetTagValueAsString(int tagId, int occurrence)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Int32 |
occurrence |
|
Returns
Type |
Description |
System.String |
|
GetTagValueAsStringBuff(Int32, StringBuilder)
Declaration
public void GetTagValueAsStringBuff(int tag, StringBuilder str)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
System.Text.StringBuilder |
str |
|
GetTagValueAsStringBuff(Int32, StringBuilder, Int32)
Declaration
public void GetTagValueAsStringBuff(int tagId, StringBuilder str, int occurrence)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Text.StringBuilder |
str |
|
System.Int32 |
occurrence |
|
getTagValueAsTimeOnly(Int32)
Parse the value of time (HH:MM:SS or HH:MM:SS.sss)
Declaration
public virtual DateTime getTagValueAsTimeOnly(int tag)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
Returns
Type |
Description |
System.DateTime |
Time with UTC kind
|
getTagValueAsTimeOnly(Int32, Int32)
Parse the value of time (HH:MM:SS or HH:MM:SS[.sss])
Declaration
public virtual DateTime getTagValueAsTimeOnly(int tagId, int occurrence)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Int32 |
occurrence |
|
Returns
Type |
Description |
System.DateTime |
Time with UTC kind
|
getTagValueAsTimeOnlyAtIndex(Int32)
Parse the value of time (HH:MM:SS or HH:MM:SS[.sss])
Declaration
public virtual DateTime getTagValueAsTimeOnlyAtIndex(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
Type |
Description |
System.DateTime |
Time with UTC kind
|
GetTagValueAsTimestamp(Int32)
Parse the value of timestamp (YYYYMMDD-HH:MM:SS or YYYYMMDD-HH:MM:SS.sss)
Declaration
public virtual DateTime GetTagValueAsTimestamp(int tag)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
Returns
Type |
Description |
System.DateTime |
Time with UTC kind
|
GetTagValueAsTimestamp(Int32, Int32)
Parse the value of timestamp (YYYYMMDD-HH:MM:SS or YYYYMMDD-HH:MM:SS.sss)
Declaration
public virtual DateTime GetTagValueAsTimestamp(int tagId, int occurrence)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Int32 |
occurrence |
|
Returns
Type |
Description |
System.DateTime |
Time with UTC kind
|
GetTagValueAsTimestampAtIndex(Int32)
Parse the value of timestamp (YYYYMMDD-HH:MM:SS or YYYYMMDD-HH:MM:SS.sss)
Declaration
public virtual DateTime GetTagValueAsTimestampAtIndex(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
Type |
Description |
System.DateTime |
Time with UTC kind
|
getTagValueAsTZTimeOnly(Int32)
Parse the value of TZTimeOnly (HH:MM[:SS][.sss][Z | [ + | - hh[:mm]]])
Declaration
public virtual DateTimeOffset getTagValueAsTZTimeOnly(int tag)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
Returns
Type |
Description |
System.DateTimeOffset |
Time with offset
|
getTagValueAsTZTimeOnly(Int32, Int32)
Parse the value of TZTimeOnly (HH:MM[:SS][.sss][Z | [ + | - hh[:mm]]])
Declaration
public virtual DateTimeOffset getTagValueAsTZTimeOnly(int tagId, int occurrence)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Int32 |
occurrence |
|
Returns
Type |
Description |
System.DateTimeOffset |
Time with offset
|
getTagValueAsTZTimeOnlyAtIndex(Int32)
Parse the value of TZTimeOnly (HH:MM[:SS][.sss][Z | [ + | - hh[:mm]]])
Declaration
public virtual DateTimeOffset getTagValueAsTZTimeOnlyAtIndex(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
Type |
Description |
System.DateTimeOffset |
Time with offset
|
GetTagValueAsTzTimestamp(Int32)
Parse the value of TZTimestamp (YYYYMMDD-HH:MM:SS[.sss][Z | [ + | - hh[:mm]]])
Declaration
public virtual DateTimeOffset GetTagValueAsTzTimestamp(int tag)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
Returns
Type |
Description |
System.DateTimeOffset |
Time with offset
|
GetTagValueAsTzTimestamp(Int32, Int32)
Parse the value of TZTimestamp (YYYYMMDD-HH:MM:SS[.sss][Z | [ + | - hh[:mm]]])
Declaration
public virtual DateTimeOffset GetTagValueAsTzTimestamp(int tagId, int occurrence)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Int32 |
occurrence |
|
Returns
Type |
Description |
System.DateTimeOffset |
Time with offset
|
GetTagValueAsTzTimestampAtIndex(Int32)
Parse the value of TZTimestamp (YYYYMMDD-HH:MM:SS[.sss][Z | [ + | - hh[:mm]]])
Declaration
public virtual DateTimeOffset GetTagValueAsTzTimestampAtIndex(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
Type |
Description |
System.DateTimeOffset |
Time with offset
|
HasTagValue(Int32)
Declaration
public virtual bool HasTagValue(int tagId)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
Returns
Type |
Description |
System.Boolean |
|
IsTagValueEqual(Int32, Byte[])
Declaration
public virtual bool IsTagValueEqual(int tagId, byte[] value)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Byte[] |
value |
|
Returns
Type |
Description |
System.Boolean |
|
Set(TagValue)
Declaration
public void Set(TagValue value)
Parameters
Set(Int32, TagValue)
Declaration
public void Set(int occurrence, TagValue value)
Parameters
Type |
Name |
Description |
System.Int32 |
occurrence |
|
TagValue |
value |
|
Set(Int32, Boolean)
Declaration
public void Set(int tagId, bool value)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Boolean |
value |
|
Set(Int32, Byte)
Declaration
public void Set(int tagId, byte value)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Byte |
value |
|
Set(Int32, Byte[])
Declaration
public void Set(int tagId, byte[] value)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Byte[] |
value |
|
Set(Int32, Byte[], Int32, Int32)
Declaration
public void Set(int tagId, byte[] value, int offset, int length)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Byte[] |
value |
|
System.Int32 |
offset |
|
System.Int32 |
length |
|
Set(Int32, Char)
Declaration
public void Set(int tagId, char value)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Char |
value |
|
Set(Int32, Double, Int32)
Declaration
public void Set(int tagId, double value, int precision)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Double |
value |
|
System.Int32 |
precision |
|
Set(Int32, Int32)
Declaration
public void Set(int tagId, int value)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Int32 |
value |
|
Set(Int32, Int32, Boolean)
Declaration
public void Set(int tagId, int occurrence, bool value)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Int32 |
occurrence |
|
System.Boolean |
value |
|
Set(Int32, Int32, Byte)
Declaration
public void Set(int tagId, int occurrence, byte value)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Int32 |
occurrence |
|
System.Byte |
value |
|
Set(Int32, Int32, Byte[])
Declaration
public void Set(int tagId, int occurrence, byte[] value)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Int32 |
occurrence |
|
System.Byte[] |
value |
|
Set(Int32, Int32, Byte[], Int32, Int32)
Declaration
public void Set(int tagId, int occurrence, byte[] value, int offset, int length)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Int32 |
occurrence |
|
System.Byte[] |
value |
|
System.Int32 |
offset |
|
System.Int32 |
length |
|
Set(Int32, Int32, Char)
Declaration
public void Set(int tagId, int occurrence, char value)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Int32 |
occurrence |
|
System.Char |
value |
|
Set(Int32, Int32, Double, Int32)
Declaration
public void Set(int tagId, int occurrence, double value, int precision)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Int32 |
occurrence |
|
System.Double |
value |
|
System.Int32 |
precision |
|
Set(Int32, Int32, Int32)
Declaration
public void Set(int tagId, int occurrence, int value)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Int32 |
occurrence |
|
System.Int32 |
value |
|
Set(Int32, Int32, Int64)
Declaration
public void Set(int tagId, int occurrence, long value)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Int32 |
occurrence |
|
System.Int64 |
value |
|
Set(Int32, Int32, String)
Declaration
public void Set(int tagId, int occurrence, string value)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Int32 |
occurrence |
|
System.String |
value |
|
Set(Int32, Int64)
Declaration
public void Set(int tagId, long value)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Int64 |
value |
|
Set(Int32, String)
Declaration
public void Set(int tagId, string value)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.String |
value |
|
Set(Int32, StringBuilder)
Declaration
public void Set(int tagId, StringBuilder value)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Text.StringBuilder |
value |
|
SetAtIndex(Int32, TagValue)
Declaration
public void SetAtIndex(int tagIndex, TagValue value)
Parameters
Type |
Name |
Description |
System.Int32 |
tagIndex |
|
TagValue |
value |
|
SetAtIndex(Int32, Boolean)
Declaration
public void SetAtIndex(int index, bool value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Boolean |
value |
|
SetAtIndex(Int32, Byte)
Declaration
public void SetAtIndex(int index, byte value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Byte |
value |
|
SetAtIndex(Int32, Byte[])
Declaration
public void SetAtIndex(int index, byte[] value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Byte[] |
value |
|
SetAtIndex(Int32, Byte[], Int32, Int32)
Declaration
public void SetAtIndex(int index, byte[] value, int offset, int length)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Byte[] |
value |
|
System.Int32 |
offset |
|
System.Int32 |
length |
|
SetAtIndex(Int32, Char)
Declaration
public void SetAtIndex(int index, char value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Char |
value |
|
SetAtIndex(Int32, Double, Int32)
Declaration
public void SetAtIndex(int index, double value, int precision)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Double |
value |
|
System.Int32 |
precision |
|
SetAtIndex(Int32, Int32)
Declaration
public void SetAtIndex(int index, int value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Int32 |
value |
|
SetAtIndex(Int32, Int64)
Declaration
public void SetAtIndex(int index, long value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Int64 |
value |
|
SetAtIndex(Int32, String)
Declaration
public void SetAtIndex(int index, string value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.String |
value |
|
Declaration
public void SetCalendarValue(int tagId, DateTimeOffset value, FixDateFormatterFactory.FixDateType type)
Parameters
Declaration
public void SetCalendarValue(int tagId, int occurrence, DateTimeOffset value, FixDateFormatterFactory.FixDateType type)
Parameters
Declaration
public void SetCalendarValueAtIndex(int index, DateTimeOffset value, FixDateFormatterFactory.FixDateType type)
Parameters