preCICE
v3.1.2
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Variables
_
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
Typedefs
b
d
e
g
l
m
p
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
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Variables
_
a
b
c
d
e
f
g
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Typedefs
a
b
c
d
e
f
i
k
m
n
o
p
r
s
t
v
w
Enumerations
Enumerator
c
d
e
i
l
m
n
o
r
s
u
v
w
Related Symbols
Files
File List
File Members
All
_
a
b
c
d
e
f
g
i
j
m
n
o
p
r
s
t
v
Functions
a
b
c
g
m
p
r
s
t
v
Variables
Typedefs
Macros
b
d
f
m
n
p
t
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
src
xml
ValueParser.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <Eigen/Core>
4
#include <
string
>
5
#include "
utils/String.hpp
"
6
7
namespace
precice
{
8
namespace
xml {
9
10
void
readValueSpecific
(
const
std::string
&rawValue,
double
&value);
11
12
void
readValueSpecific
(
const
std::string
&rawValue,
int
&value);
13
14
inline
void
readValueSpecific
(
const
std::string
&
rawValue
,
std::string
&value)
15
{
16
value =
rawValue
;
17
}
14
inline
void
readValueSpecific
(
const
std::string
&
rawValue
,
std::string
&value) {
…
}
18
19
inline
void
readValueSpecific
(
const
std::string
&
rawValue
,
bool
&value)
20
{
21
value =
precice::utils::convertStringToBool
(
rawValue
);
22
}
19
inline
void
readValueSpecific
(
const
std::string
&
rawValue
,
bool
&value) {
…
}
23
24
void
readValueSpecific
(
const
std::string
&rawValue, Eigen::VectorXd &value);
25
26
}
// namespace xml
27
}
// namespace precice
String.hpp
std::string
precice::xml::XMLAttribute
Definition
XMLAttribute.hpp:20
precice::utils::convertStringToBool
bool convertStringToBool(std::string const &value)
Evaluates a string to find out if it represents a bool.
Definition
String.cpp:55
precice::xml::readValueSpecific
void readValueSpecific(const std::string &rawValue, double &value)
Definition
ValueParser.cpp:30
precice
Main namespace of the precice library.
Definition
Acceleration.cpp:5
string