Data Structures | Macros
ie_exception.hpp File Reference

A header file for the main Inference Engine exception. More...

#include <ie_api.h>
#include <functional>
#include <memory>
#include <sstream>
#include <string>
#include <utility>
#include <vector>
#include <cassert>

Go to the source code of this file.

Macros

#define THROW_IE_EXCEPTION   throw InferenceEngine::details::InferenceEngineException(__FILE__, __LINE__)
 A macro used to throw the exception with a notable description.
 
#define IE_ASSERT(EXPRESSION)
 Uses assert() function if NDEBUG is not defined, InferenceEngine exception otherwise. More...
 

Detailed Description

A header file for the main Inference Engine exception.

Macro Definition Documentation

§ IE_ASSERT

#define IE_ASSERT (   EXPRESSION)
Value:
assert((EXPRESSION)); \
NullStream()

Uses assert() function if NDEBUG is not defined, InferenceEngine exception otherwise.