CVB.Net 14.0
Classifier.ModelInformationCollection Class Reference

Collection of model informations. More...

Inherits InfoCollection< Classifier, ModelInformation >, and IEnumerable< ModelInformation >.

Protected Member Functions

override int GetCount ()
 Retrieves the number of elements in the collection. More...
 
override ModelInformation GetInfo (int index)
 Retrieves the indexed model information block. More...
 
- Protected Member Functions inherited from InfoCollection< Classifier, ModelInformation >
 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

ModelInformation this[int index] [get, set]
 Indexed access to the individual model information. More...
 
- Properties inherited from InfoCollection< Classifier, ModelInformation >
int Count [get]
 Number of elements in the collection. More...
 

Additional Inherited Members

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

Detailed Description

Collection of model informations.

Member Function Documentation

◆ GetCount()

override int GetCount ( )
protectedvirtual

Retrieves the number of elements in the collection.

Returns
Number of elements in the collection.
Exceptions
ObjectDisposedExceptionIf the parent image has already been disposed of

Implements InfoCollection< Classifier, ModelInformation >.

◆ GetInfo()

override ModelInformation GetInfo ( int  index)
protectedvirtual

Retrieves the indexed model information block.

Parameters
indexindex of the collection to be accessed
Returns
model information
Exceptions
ArgumentOutOfRangeExceptionIf the index is invalid
ObjectDisposedExceptionIf the parent image has already been disposed of

Implements InfoCollection< Classifier, ModelInformation >.

Property Documentation

◆ this[int index]

ModelInformation this[int index]
getset

Indexed access to the individual model information.

Parameters
indexindex of the model to be accessed
Returns
model information object
Exceptions
ArgumentOutOfRangeExceptionIf the index is invalid
ObjectDisposedExceptionIf the parent image has already been disposed of