Ocean
|
This class is the base class for all TestDataCollection objects. More...
Public Member Functions | |
virtual | ~TestDataCollection ()=default |
Destructs this object. More... | |
virtual SharedTestData | data (const size_t index)=0 |
Returns the test data object associated with a specified index. More... | |
virtual size_t | size ()=0 |
Returns the number of data object objects this collection holds. More... | |
This class is the base class for all TestDataCollection objects.
The class holds a collection of several test data objects all belonging to the same test category.
|
virtualdefault |
Destructs this object.
|
pure virtual |
Returns the test data object associated with a specified index.
index | The index of the test data object, with range [0, size()) |
Implemented in Ocean::Test::TestCV::TestDetector::TestQRCodes::TestQRCodeEncoder::FileDataCollection, Ocean::Test::TestCV::TestDetector::TestQRCodes::TestMicroQRCodeEncoder::FileDataCollection, Ocean::Test::TestCV::TestDetector::TestQRCodes::TestLegacyQRCodeDetector2D::FileDataCollection, and Ocean::Test::TestCV::TestDetector::TestMessengerCodeDetector::FileDataCollection.
|
pure virtual |
Returns the number of data object objects this collection holds.
Implemented in Ocean::Test::TestCV::TestDetector::TestQRCodes::TestQRCodeEncoder::FileDataCollection, Ocean::Test::TestCV::TestDetector::TestQRCodes::TestMicroQRCodeEncoder::FileDataCollection, Ocean::Test::TestCV::TestDetector::TestQRCodes::TestLegacyQRCodeDetector2D::FileDataCollection, and Ocean::Test::TestCV::TestDetector::TestMessengerCodeDetector::FileDataCollection.