Loading [MathJax]/extensions/TeX/AMSsymbols.js
KASKADE 7 development version
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
y
Variables
Typedefs
b
c
d
e
f
g
h
i
l
m
p
q
r
s
t
u
v
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
x
y
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
m
n
q
s
t
v
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
r
s
t
u
v
x
z
Functions
a
b
c
d
e
f
g
m
o
r
s
t
u
z
Variables
Typedefs
Enumerations
Macros
d
e
h
i
j
k
l
m
s
t
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
io
check_endianness.hh
Go to the documentation of this file.
1
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2
/* */
3
/* This file is part of the library KASKADE 7 */
4
/* https://www.zib.de/research/projects/kaskade7-finite-element-toolbox */
5
/* */
6
/* Copyright (C) 2002-2018 Zuse Institute Berlin */
7
/* */
8
/* KASKADE 7 is distributed under the terms of the ZIB Academic License. */
9
/* see $KASKADE/academic.txt */
10
/* */
11
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
12
13
#ifndef CHECK_ENDIANNESS_HH_
14
#define CHECK_ENDIANNESS_HH_
15
16
namespace
Kaskade
{
17
18
// endian types
19
enum class
Endian
{
20
Unknown
,
21
Big
,
22
Little
,
23
BigWord
,
/* Middle-endian, Honeywell 316 style */
24
LittleWord
/* Middle-endian, PDP-11 style */
25
};
26
28
Endian
endianness
();
29
31
bool
bigEndian
();
32
34
bool
littleEndian
();
35
}
36
37
#endif
Kaskade
Definition:
abstract_interface.hh:15
Kaskade::littleEndian
bool littleEndian()
Return true if byte order is little endian.
Kaskade::bigEndian
bool bigEndian()
Return true if byte order is big endian.
Kaskade::endianness
Endian endianness()
Return endianness.
Kaskade::Endian
Endian
Definition:
check_endianness.hh:19
Kaskade::Endian::Little
@ Little
Kaskade::Endian::Unknown
@ Unknown
Kaskade::Endian::BigWord
@ BigWord
Kaskade::Endian::LittleWord
@ LittleWord
Kaskade::Endian::Big
@ Big
Generated on Fri Sep 6 2024 13:13:00 for KASKADE 7 development version by
1.9.4