Class NotValidateOperator
The NOT 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 NotValidateOperator : AbstractCondition, ICondition
Constructors
NotValidateOperator(ICondition, Boolean)
Creates the NOTValidateOperator
.
Declaration
public NotValidateOperator(ICondition operand, bool isGroup)
Parameters
Type | Name | Description |
---|---|---|
ICondition | operand | the operand |
System.Boolean | isGroup | the group tag |
Methods
GetOperand()
Gets the operand
Declaration
public virtual ICondition GetOperand()
Returns
Type | Description |
---|---|
ICondition |
GetTags()
Gets the tags list
Declaration
public override IList<int> GetTags()
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<System.Int32> |
Overrides
IsGroupTags()
Returns true, if this group tag.
Declaration
public override bool IsGroupTags()
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
IsRequired(FixMessage)
Returns true if operand
is not required.
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 operand
is true.
The example of use: NOT existtags(T$2).
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 | |
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 |