C++ API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

List of all members
KernelErrorCollection Class Reference

Class that represents a kernel error collection (collection that cannot throw exceptions) More...

Class Declaration

Constructor & Destructor Documentation

Constructs a kernel error collection

Copy constructor of a kernel error collection

Parameters
[in]otherKernel error collection that will be copied
virtual ~KernelErrorCollection ( )
virtual

Destructor of a kernel error collection

Member Function Documentation

Error& add ( const ErrorID id)

Adds error id to kernel error collection

Parameters
[in]idIdentifier of error
Returns
Pointer to the new error
void add ( const ErrorPtr e)

Adds error to kernel error collection

Parameters
[in]eError to be added to kernel error collection
void add ( const services::SharedPtr< KernelErrorCollection > &  e)

Adds error kernel collection

Parameters
[in]eError collection that will be added
void add ( const KernelErrorCollection e)

Adds error kernel collection

Parameters
[in]eError collection that will be added
Error* at ( size_t  index)

Element access

Parameters
[in]indexIndex of an accessed element
Returns
Pointer to the element
const Error* at ( size_t  index) const

Element access

Parameters
[in]indexIndex of an accessed element
Returns
Pointer to the element
const char* getDescription ( ) const

Returns description of all errors from collection

Returns
Description of all errors from collection
bool isEmpty ( ) const
inline

Returns true if kernel error collection is empty

Returns
True if kernel error collection is empty
Error* operator[] ( size_t  index)

Element access

Parameters
[in]indexIndex of an accessed element
Returns
Pointer to the element
const Error* operator[] ( size_t  index) const

Element access

Parameters
[in]indexIndex of an accessed element
Returns
Pointer to the element
size_t size ( ) const

Size of a collection

Returns
Size of the collection

The documentation for this class was generated from the following file:

For more complete information about compiler optimizations, see our Optimization Notice.