Loading [MathJax]/extensions/tex2jax.js
OGS
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace 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
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
v
w
z
Enumerations
b
c
d
e
f
g
i
l
m
n
o
p
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
l
m
n
p
r
s
t
v
y
Classes
Class List
Class Index
Class Hierarchy
Files
File List
File Members
All
a
b
c
d
e
f
g
i
k
m
n
o
p
r
s
t
v
w
x
Functions
a
c
d
e
f
g
i
m
o
p
r
s
t
v
w
Variables
Typedefs
Enumerations
Macros
b
c
g
m
n
o
p
r
s
t
Functions
anonymous_namespace{PrjProcessing.cpp} Namespace Reference
Functions
std::string
iostateToString
(std::ios_base::iostate const state)
Function Documentation
◆
iostateToString()
std::string anonymous_namespace{PrjProcessing.cpp}::iostateToString
(
std::ios_base::iostate const
state
)
Definition at line
29
of file
PrjProcessing.cpp
.
30
{
31
std::string result;
32
33
if
(state == std::ios_base::goodbit)
34
{
35
result =
"goodbit"
;
36
}
37
else
38
{
39
if
(state & std::ios_base::eofbit)
40
{
41
result +=
"eofbit "
;
42
}
43
if
(state & std::ios_base::failbit)
44
{
45
result +=
"failbit "
;
46
}
47
if
(state & std::ios_base::badbit)
48
{
49
result +=
"badbit"
;
50
}
51
// Remove trailing space if there is one
52
if
(!result.empty() && result.back() ==
' '
)
53
{
54
result.pop_back();
55
}
56
}
57
return
result;
58
}
anonymous_namespace{PrjProcessing.cpp}
Generated by
1.12.0