CVB.Net 14.0
Classifier.ClassInformationCollection Class Reference

Collection for classifier-based class information. Classifier-based class information is a bit more scarce because it lacks the sample list. More...

Inherits InfoCollection< Classifier, ClassInformation >.

Protected Member Functions

override int GetCount ()
 Parent class calls this method to determine the number of objects in the collection. More...
 
override ClassInformation GetInfo (int index)
 Parent class calls this method to extract one info object by index. More...
 
- Protected Member Functions inherited from InfoCollection< Classifier, ClassInformation >
 InfoCollection (TParent parent)
 Constructor. More...
 
abstract int GetCount ()
 Function with which the collection queries the number of elements More...
 
abstract TInfo GetInfo (int index)
 Function with which the collection retrieves the information object with the given index. More...
 

Properties

ClassInformation this[int index] [get]
 Index-based item access. More...
 
ClassInformation this[string name] [get]
 String-based item access. More...
 
- Properties inherited from InfoCollection< Classifier, ClassInformation >
int Count [get]
 Number of elements in the collection. More...
 

Additional Inherited Members

- Public Member Functions inherited from InfoCollection< Classifier, ClassInformation >
TInfo[] ToArray ()
 Converts this collection into an array. More...
 
- Protected Attributes inherited from InfoCollection< Classifier, ClassInformation >
readonly TParent Parent
 Parent image reference helps keeping track of the lifetime and provides the information basis for index access
 

Detailed Description

Collection for classifier-based class information. Classifier-based class information is a bit more scarce because it lacks the sample list.

Member Function Documentation

◆ GetCount()

override int GetCount ( )
protectedvirtual

Parent class calls this method to determine the number of objects in the collection.

Returns
number of objects in the collection
Exceptions
ObjectDisposedExceptionIf the Classifier has already been disposed

Implements InfoCollection< Classifier, ClassInformation >.

◆ GetInfo()

override ClassInformation GetInfo ( int  index)
protectedvirtual

Parent class calls this method to extract one info object by index.

Parameters
indexindex at which to extract
Returns
extracted object
Exceptions
ObjectDisposedExceptionIf the SampleImageList has already been disposed
ArgumentOutOfRangeExceptionIf the index is invalid

Implements InfoCollection< Classifier, ClassInformation >.

Property Documentation

◆ this[int index]

ClassInformation this[int index]
get

Index-based item access.

Parameters
indexindex to be accessed
Returns
indexed class object
Exceptions
ObjectDisposedExceptionIf the SampleImageList has already been disposed
ArgumentOutOfRangeExceptionIf the index is invalid

◆ this[string name]

ClassInformation this[string name]
get

String-based item access.

Parameters
nameName to be accessed
Returns
indexed class object
Exceptions
ObjectDisposedExceptionIf the SampleImageList has already been disposed