C++ API Reference for Intel® Data Analytics Acceleration Library 2018 Update 2

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

◆ KernelErrorCollection() [1/2]

Constructs a kernel error collection

◆ KernelErrorCollection() [2/2]

Copy constructor of a kernel error collection

Parameters
[in]otherKernel error collection that will be copied

◆ ~KernelErrorCollection()

virtual ~KernelErrorCollection ( )
virtual

Destructor of a kernel error collection

Member Function Documentation

◆ add() [1/4]

Error& add ( const ErrorID id)

Adds error id to kernel error collection

Parameters
[in]idIdentifier of error
Returns
Pointer to the new error

◆ add() [2/4]

void add ( const ErrorPtr e)

Adds error to kernel error collection

Parameters
[in]eError to be added to kernel error collection

◆ add() [3/4]

void add ( const services::SharedPtr< KernelErrorCollection > &  e)

Adds error kernel collection

Parameters
[in]eError collection that will be added

◆ add() [4/4]

void add ( const KernelErrorCollection e)

Adds error kernel collection

Parameters
[in]eError collection that will be added

◆ at() [1/2]

Error* at ( size_t  index)

Element access

Parameters
[in]indexIndex of an accessed element
Returns
Pointer to the element

◆ at() [2/2]

const Error* at ( size_t  index) const

Element access

Parameters
[in]indexIndex of an accessed element
Returns
Pointer to the element

◆ getDescription()

const char* getDescription ( ) const

Returns description of all errors from collection

Returns
Description of all errors from collection

◆ isEmpty()

bool isEmpty ( ) const
inline

Returns true if kernel error collection is empty

Returns
True if kernel error collection is empty

◆ operator[]() [1/2]

Error* operator[] ( size_t  index)

Element access

Parameters
[in]indexIndex of an accessed element
Returns
Pointer to the element

◆ operator[]() [2/2]

const Error* operator[] ( size_t  index) const

Element access

Parameters
[in]indexIndex of an accessed element
Returns
Pointer to the element

◆ size()

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.