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

List of all members
ErrorCollection Class Reference

Class that represents an error collection. More...

Class Declaration

Constructor & Destructor Documentation

◆ ErrorCollection() [1/3]

ErrorCollection ( )
inline

Constructs an error collection

◆ ErrorCollection() [2/3]

ErrorCollection ( const ErrorCollection o)
inline

Copy constructor for error collection

Parameters
[in]oError collection that will be copied

◆ ErrorCollection() [3/3]

ErrorCollection ( const KernelErrorCollection errors)
inlineexplicit

Constructor for error collection

Parameters
[in]errorsError collection that will be kept by

◆ ~ErrorCollection()

virtual ~ErrorCollection ( )
inlinevirtual

Destructor of error collection

Member Function Documentation

◆ add() [1/4]

void add ( const ErrorID id)
inline

Adds error to error collection and throws exception if DAAL_NOTHROW_EXCEPTIONS not defined

Parameters
[in]idError identifier

◆ add() [2/4]

void add ( const ErrorPtr e)
inline

Adds error to error collection and throws exception if DAAL_NOTHROW_EXCEPTIONS not defined

Parameters
[in]eError

◆ add() [3/4]

void add ( const ErrorCollection e)
inline

Adds error collection to another error collection and throw exception if DAAL_NOTHROW_EXCEPTIONS not defined

Parameters
[in]eError collection

◆ add() [4/4]

void add ( const KernelErrorCollectionPtr e)
inline

Adds kernel error collection to another error collection and throw exception if DAAL_NOTHROW_EXCEPTIONS not defined

Parameters
[in]eError collection

◆ canThrow()

bool canThrow ( ) const
inline

Returns true if can throw exceptions

Returns
true if can throw exceptions

◆ getDescription()

const char* getDescription ( ) const
inline

Returns description of all errors from collection

Returns
Description of all errors from collection

◆ getErrors()

const KernelErrorCollectionPtr& getErrors ( ) const
inline

Returns kernel error collection

Returns
True if kernel error collection is empty

◆ isEmpty()

bool isEmpty ( ) const
inline

Returns true if kernel error collection is empty

Returns
True if kernel error collection is empty

◆ setCanThrow()

bool setCanThrow ( bool  bOn)
inline

Set canThrow flag

Parameters
[in]bOnThe flag value
Returns
previous value

◆ size()

size_t size ( ) const
inline

Returns size of an error collection

Returns
Size of an error collection

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

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