Class that contains the ExpectedOutputs used by the verification framework.
Inheritance Hierarchy
Cognex.VisionPro.Inspection CogVerificationRecordContainer
Cognex.VisionPro.Inspection CogVerificationParamsExpectedOutputsContainer
Namespace: Cognex.VisionPro.Inspection
Assembly: Cognex.VisionPro.Inspection (in Cognex.VisionPro.Inspection.dll) Version: 69.0.0.0 (69.0.0.0)
Syntax
The CogVerificationParamsExpectedOutputsContainer type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CogVerificationParamsExpectedOutputsContainer |
Constructor using an ICogRecord.
|
Methods
| Name | Description | |
|---|---|---|
| Add(String, Object) |
Adds an expected output with the given key and expectedValue to the record.
| |
| Add(String, Double, Double) |
Adds an expected output with the given key, an expectedValue and a range to the record.
| |
| Contains |
Returns a boolean if the specified SubRecord (via key parameter) is contained in the record this class holds.
(Inherited from CogVerificationRecordContainer.) | |
| ContainsGrade |
Method which returns whether or not the "Grade" SubRecord exists in the contained ICogRecord. Internal Use Only.
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Remove |
Removes subrecord with the given key from this record.
| |
| ToString | (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| mRecord | (Inherited from CogVerificationRecordContainer.) |
Properties
| Name | Description | |
|---|---|---|
| Grade |
Returns the value container object for the Grade collection.
| |
| Keys |
Gets all the expected keys added to this record.
Returns null if there are no records.
Note: this will always return at least string[] { "Grade" } since that was added to the records by default.
| |
| Record |
Returns the contained ICogRecord.
(Inherited from CogVerificationRecordContainer.) |
See Also