#include <algorithm>
#include <assert.h>
#include <cstdlib>
#include <exception>
#include <iomanip>
#include <iostream>
#include <limits>
#include <map>
#include <math.h>
#include <memory>
#include <numeric>
#include <string>
#include <type_traits>
#include <vector>
#include <xtensor/xadapt.hpp>
#include <xtensor/xarray.hpp>
#include <xtensor/xio.hpp>
#include <xtensor/xmath.hpp>
#include <xtensor/xpad.hpp>
#include <xtensor/xsort.hpp>
#include <xtensor/xtensor.hpp>
#include <xtensor/xview.hpp>
Go to the source code of this file.
|
#define | GOOSEEYE_REQUIRE(expr, assertion) GOOSEEYE_ASSERT_IMPL(expr, assertion, __FILE__, __LINE__, __FUNCTION__) |
| Assertions that are always enabled.
|
|
#define | GOOSEEYE_ASSERT(expr, assertion) |
| All assertions are implemented as:
|
|
#define | GOOSEEYE_WARNING(message) GOOSEEYE_WARNING_IMPL(message, __FILE__, __LINE__, __FUNCTION__) |
| Warnings are implemented as:
|
|
#define | GOOSEEYE_WARNING_PYTHON(message) |
| Warnings specific to the Python API are implemented as:
|
|
- Copyright
- Copyright 2017. Tom de Geus. All rights reserved.
- License: This project is released under the GPLv3 License.
Definition in file config.h.
◆ GOOSEEYE_ASSERT
#define GOOSEEYE_ASSERT |
( |
| expr, |
|
|
| assertion ) |
All assertions are implemented as:
GOOSEEYE_ASSERT(...)
They can be enabled by:
#define GOOSEEYE_ENABLE_ASSERT
(before including GooseEYE). The advantage is that:
- File and line-number are displayed if the assertion fails.
- GooseEYE's assertions can be enabled/disabled independently from those of other libraries.
- Exceptions
-
Definition at line 91 of file config.h.
◆ GOOSEEYE_REQUIRE
#define GOOSEEYE_REQUIRE |
( |
| expr, |
|
|
| assertion ) GOOSEEYE_ASSERT_IMPL(expr, assertion, __FILE__, __LINE__, __FUNCTION__) |
Assertions that are always enabled.
Definition at line 67 of file config.h.
◆ GOOSEEYE_WARNING
#define GOOSEEYE_WARNING |
( |
| message | ) |
GOOSEEYE_WARNING_IMPL(message, __FILE__, __LINE__, __FUNCTION__) |
Warnings are implemented as:
GOOSEEYE_WARNING(...)
They can be disables by:
#define GOOSEEYE_DISABLE_WARNING
Definition at line 104 of file config.h.
◆ GOOSEEYE_WARNING_PYTHON
#define GOOSEEYE_WARNING_PYTHON |
( |
| message | ) |
|
Warnings specific to the Python API are implemented as:
GOOSEEYE_WARNING_PYTHON(...)
They can be enabled by:
#define GOOSEEYE_ENABLE_WARNING_PYTHON
Definition at line 122 of file config.h.