ISMRMRD
ISMRM Raw Data Format
Loading...
Searching...
No Matches
ismrmrd-1.14.2
include
ismrmrd
cpp98.h
1
#ifndef ISMRMRD_CPP98_H
2
#define ISMRMRD_CPP98_H
3
4
#ifdef __cplusplus
5
6
namespace
ISMRMRD {
7
// begin and end are used in comparisons operators but are not
8
// consistently defined in all supported C++ versiona and platforms
9
template
<
typename
T,
size_t
N>
10
T *begin(T (&array)[N]) {
11
return
array;
12
}
13
14
template
<
typename
T,
size_t
N>
15
T *end(T (&array)[N]) {
16
return
array + N;
17
}
18
}
19
20
#if __cplusplus <= 199711L
21
22
#include <stdint.h>
23
24
#ifdef _MSC_VER
25
#ifndef __func__
26
#define __func__ __FUNCTION__
27
#endif
28
#endif
29
30
#define __unaligned
31
#define noexcept
32
33
#ifndef nullptr
34
#define nullptr NULL
35
#endif
36
37
namespace
ISMRMRD {
38
using ::int16_t;
39
using ::int32_t;
40
using ::int64_t;
41
using ::int8_t;
42
43
using ::uint16_t;
44
using ::uint32_t;
45
using ::uint64_t;
46
using ::uint8_t;
47
}
48
#else
49
#include <cstdint>
50
namespace
ISMRMRD {
51
using
std::int16_t;
52
using
std::int32_t;
53
using
std::int64_t;
54
using
std::int8_t;
55
56
using
std::uint16_t;
57
using
std::uint32_t;
58
using
std::uint64_t;
59
using
std::uint8_t;
60
}
61
62
#endif
// __cplusplus <= 98
63
#endif
// __cplusplus
64
#endif
// ISMRMRD_CPP98_H
Generated on Sat Mar 22 2025 15:26:51 for ISMRMRD by
1.11.0