Class GreatThanValidateOperator
The >
operator implementation.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FixAntenna.Fix.Validation.Engine.Validators.Condition.Operators
Assembly: FixAntenna.Validation.dll
Syntax
public class GreatThanValidateOperator : AbstractCondition, ICondition
Constructors
GreatThanValidateOperator(Int32, Int32, Boolean)
Creates the GreatThanValidateOperator
.
Declaration
public GreatThanValidateOperator(int tag, int value, bool isGroup)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | tag | the tag |
System.Int32 | value | the value |
System.Boolean | isGroup | the group flag |
Methods
GetTag()
Gets the tag.
Declaration
public virtual int GetTag()
Returns
Type | Description |
---|---|
System.Int32 |
GetTags()
Gets the tags list
Declaration
public override IList<int> GetTags()
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<System.Int32> |
Overrides
GetValue()
Gets the value.
Declaration
public virtual int GetValue()
Returns
Type | Description |
---|---|
System.Int32 |
IsGroupTags()
Returns true, if this group tag.
Declaration
public override bool IsGroupTags()
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
IsRequired(FixMessage)
Returns true, if the field value in msg
is greater than that tag value,
otherwise false.
Declaration
public override bool IsRequired(FixMessage msg)
Parameters
Type | Name | Description |
---|---|---|
FixMessage | msg |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
SetGroupTags(Boolean)
Setter for group.
Declaration
public override void SetGroupTags(bool isGroup)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isGroup | the group flag |
Overrides
ValidateCondition(Int32, FixMessage, String, IDictionary<Int32, ICondition>, Boolean)
Returns true, if the tag
value in msg
is greater than value
,
otherwise false. If tag
not exists return true.
The example of use: existtags(T$1) > 10.0.
Declaration
public override bool ValidateCondition(int validateTag, FixMessage msg, string msgType, IDictionary<int, ICondition> tagsMap, bool inversion)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | validateTag | the validate tag |
FixMessage | msg | the message |
System.String | msgType | the message type |
System.Collections.Generic.IDictionary<System.Int32, ICondition> | tagsMap | All tags with conditional for current part of FIXMessage. |
System.Boolean | inversion | Inversion: if true all validations are doing in invert order. |
Returns
Type | Description |
---|---|
System.Boolean |