Generic collection of information objects.
More...
Inherited by ImagePlaneCollection, Classifier.ClassInformationCollection, SampleImageList.ClassInformationCollection, Classifier.ModelInformationCollection, TrainingSet.TrainingSetObjectInfoCollection< TParent, TInfo >, and SampleList.LabelInfoCollection< TLabelInformation, TData >.
|
TInfo[] | ToArray () |
| Converts this collection into an array.
|
|
|
| InfoCollection (TParent parent) |
| Constructor.
|
|
int | GetCount () |
| Function with which the collection queries the number of elements.
|
|
TInfo | GetInfo (int index) |
| Function with which the collection retrieves the information object with the given index.
|
|
|
readonly TParent | Parent |
| Parent image reference helps keeping track of the lifetime and provides the information basis for index access.
|
|
|
int | Count [get] |
| Number of elements in the collection.
|
|
Generic collection of information objects.
- Template Parameters
-
TInfo | Type of the information container. |
TParent | Type of the collection parent. |
◆ GetCount()
Function with which the collection queries the number of elements.
- Returns
- The number of entries in the collection.
◆ GetInfo()
TInfo GetInfo |
( |
int | index | ) |
|
|
abstractprotected |
Function with which the collection retrieves the information object with the given index.
- Parameters
-
index | Index at which to retrieve |
- Returns
- retrieved object
- Exceptions
-
ArgumentOutOfRangeException | If the index exceeds the range [0...Count[. |
◆ InfoCollection()
InfoCollection |
( |
TParent | parent | ) |
|
|
protected |
◆ ToArray()
Converts this collection into an array.
- Returns
- Array containing the members of this collection.
◆ Count
Number of elements in the collection.
- Exceptions
-
ObjectDisposedException | If the parent object has already been disposed of |