Class EqValidateOperator
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 EqValidateOperator : AbstractCondition, ICondition
Constructors
EqValidateOperator(Int32, String, Boolean)
Creates the EqValidateOperator
.
Declaration
public EqValidateOperator(int tag, string value, bool isGroup)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | tag | the tag |
System.String | value | the value |
System.Boolean | isGroup | the group flag |
Methods
GetTag()
Gets 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 string GetValue()
Returns
Type | Description |
---|---|
System.String |
IsGroupTags()
Returns true, if this group tag.
Declaration
public override bool IsGroupTags()
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
IsRequired(FixMessage)
Returns true, if msg has a required tag.
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 values are equal. The example of use: T$167='OPT'.
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 |