CogVerificationDatabase MethodsCognex VisionPro 9.7

The CogVerificationDatabase type exposes the following members.

Methods

  NameDescription
Public methodAdd
Add a new data object to this verification database. The data records's key must be unique.
Public methodAddAnnotationCategory
Adds the specified annotatation category to the database.
Public methodAddGrade
Adds the specified grade to the database.
Public methodAddImage(ICogImage, CogVerificationSimpleResultConstants)
Adds the specified image to this verification database.
Public methodAddImage( ICogImage , CogVerificationSimpleResultConstants)
Adds the specified images to this verification database.
Public methodAddImage(String, Boolean, CogVerificationSimpleResultConstants)
Adds the specified image to this verification database. If the image cannot be loaded, this method stops and throws an exception.
Public methodAddImage(ICogImage, CogVerificationSimpleResultConstants, String)
Adds the specified image to this verification database.
Public methodAddImage( ICogImage , CogVerificationSimpleResultConstants, String)
Adds the specified images to this verification database.
Public methodAddImage(String, Boolean, CogVerificationSimpleResultConstants, String)
Adds the specified image to this verification database. If the image cannot be loaded, this method stops and throws an exception.
Public methodAddImages(String, Boolean, CogVerificationSimpleResultConstants)
Adds all the images in the specified image directory to this verification database. If any image in the image directory cannot be loaded, this method stops and throws an exception.
Public methodAddImages( String , Boolean, CogVerificationSimpleResultConstants)
Adds all the images in the specified array to this verification database. If any image in the specified array cannot be loaded, this method stops and throws an exception.
Public methodAddImages(String, Boolean, CogVerificationSimpleResultConstants, String)
Adds all the images in the specified image directory to this verification database. If any image in the image directory cannot be loaded, this method stops and throws an exception.
Public methodAddImages( String , Boolean, CogVerificationSimpleResultConstants, String)
Adds all the images in the specified array to this verification database. If any image in the specified array cannot be loaded, this method stops and throws an exception.
Public methodClear
Clear the underlying contained ICogDatabase.
Public methodConnect
Connect to the underlying ICogDatabase.
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDisconnect
Disconnect from the underlying contained ICogDatabase.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodFetch(Int32)
Create a CogVerificationData that duplicates the item specified by the supplied index. Note that a new ICogRecord is created every time this method is called.
Public methodFetch(String)
Create a CogVerificationData that duplicates the item specified by the supplied key. Note that a new ICogRecord is created every time this method is called.
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAnnotationCategories
Gets all the annotation categories in this verification database.
Protected methodGetAttributes
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetClassName
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetComponentName
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetConverter
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetDefaultEvent
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetDefaultProperty
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEditor
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodGetEnumerator
Create a strongly typed enumerator to facilitate iterating through the items in this database. Note that enumerators are fragile - externally adding or removing items from this database will invalidate the enumerator. Also note that modifying a CogVerificationData returned by (the Current property of) this enumerator will have absolutely no affect on the database since it is a freshly created copy of the database item, just as with the Fetch method.
Protected methodGetEvents 
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEvents( Attribute )
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodGetGrades
Gets all the grades in this verification database.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodGetObjectData
Implements the GetObjectData method of the ISerializable interface.
(Inherited from CogSerializableObjectBase.)
Protected methodGetProperties 
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetProperties( Attribute )
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetPropertyOwner
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodGetStatistics
Gets the statistics object from this database.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone 
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Protected methodOnAdded
Raise the Added event.
Protected methodOnAddedAnnotationCategory
Raise the AddedAnnotationCategory event.
Protected methodOnAddedGrade
Raise the AddedAnnotationCategory event.
Protected methodOnAdding
Raise the Adding event.
Protected methodOnCleared
Raise the Cleared event.
Protected methodOnClearing
Raise the Clearing event.
Protected methodOnRemoved
Raise the Removed event.
Protected methodOnRemovedAnnotationCategory
Raise the RemovedAnnotationCategory event.
Protected methodOnRemovedGrade
Raise the RemovedAnnotationCategory event.
Protected methodOnRemoving
Raise the Removing event.
Protected methodOnReplaced
Raise the Replaced event.
Protected methodOnReplacing
Raise the Replacing event.
Protected methodOnStatisticsSet
Raise the StatisticsSet event.
Public methodRemove
Removes the specified data object from the verification database.
Public methodRemoveAnnotationCategory
Removes the specified annotation category definition from the verification database. Note, this method does not remove any defined defects using the removed category, it just removes the definition of the annotation category. Users wanting to remove any defects using the removed annotation category need to do this themselves manually.
Public methodRemoveGrade
Removes the specified string grade from the verification database. Note, this method does not remove any set grades from individual records, it just removes the grade from the list of possible grades. Users wanting to remove the grade from any database record need to do this themselves.
Public methodReplace
Replaces data inside the verification database using the specified data. The key of the replacementData record is used to find which data object to replace.
Public methodSetStatistics
Sets the statistics object for this database. Internal use only.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
See Also