CVB++ 14.0
ClassifierModelInfoCollection Class Reference

Collection of model information. More...

#include <cvb/minos/classifier.hpp>

Public Member Functions

int Count () const
 Retrieves the number of elements in the collection. More...
 
ClassifierModelInfo ReadInfo (int index) const
 Retrieves the indexed model information block. More...
 
void WriteInfo (int index, ClassifierModelInfo model)
 Writes the indexed model information block. More...
 
std::vector< ClassifierModelInfoReadInfo () const
 Retrieves all the items stored in the collection. More...
 

Detailed Description

Collection of model information.

Member Function Documentation

◆ Count()

int Count ( ) const
inline

Retrieves the number of elements in the collection.

Returns
Number of elements in the collection.
Exceptions
Anyexception derived from std::exception including CvbException.

◆ ReadInfo() [1/2]

std::vector< ClassifierModelInfo > ReadInfo ( ) const
inline

Retrieves all the items stored in the collection.

Returns
The collection items.
Exceptions
Anyexception derived from std::exception including CvbException.

◆ ReadInfo() [2/2]

ClassifierModelInfo ReadInfo ( int  index) const
inline

Retrieves the indexed model information block.

Parameters
[in]indexIndex of the collection to be accessed.
Returns
Model information.
Exceptions
Anyexception derived from std::exception including CvbException.

◆ WriteInfo()

void WriteInfo ( int  index,
ClassifierModelInfo  model 
)
inline

Writes the indexed model information block.

Parameters
[in]indexIndex of the collection to be accessed.
[in]modelModel information to be written.
Exceptions
Anyexception derived from std::exception including CvbException.