#include <mutex>
#include <charconv>
Go to the source code of this file.
◆ adc_builder_impl_enums_ipp_hpp
| #define adc_builder_impl_enums_ipp_hpp |
◆ elt_to_string
| #define elt_to_string |
( |
|
CTYPE | ) |
|
Value:{ \
CTYPE *a = (CTYPE *)data; \
for (size_t i=0; i < count; i++) { \
o << a[i]; \
if (i < count-1) \
o << ", "; \
} \
}
Definition at line 158 of file enums.ipp.
◆ f_elt_to_string
| #define f_elt_to_string |
( |
|
CTYPE | ) |
|
Value:{ \
CTYPE *a = (CTYPE *)data; \
for (size_t i=0; i < count; i++) { \
o << to_string(a[i]); \
if (i < count-1) \
o << ", "; \
} \
}
Definition at line 168 of file enums.ipp.
◆ cf_elt_to_string
| #define cf_elt_to_string |
( |
|
CTYPE | ) |
|
Value:{ \
std::complex<CTYPE> *a = (std::complex<CTYPE> *)data; \
for (size_t i=0; i < count; i++) { \
o << "{" << to_string(a[i].real()); \
o << ", " << to_string(a[i].imag()); \
o << " }"; \
if (i < count-1) \
o << ", "; \
} \
}
Definition at line 178 of file enums.ipp.
◆ BAD_ST
| #define BAD_ST "UNKNOWN_scalar_type" |
◆ check_enum
| #define check_enum |
( |
|
X | ) |
if (to_string(cp_##X) != #X) { err++; std::cout << "enum " << #X << " is inconsistent with " << cp_##X << " from " << to_string(cp_##X) << std::endl; } |