rohdeschwarz
0.2.0
TCPIP socket library for Rohde & Schwarz instrument control
include
rohdeschwarz
to_value.hpp
Go to the documentation of this file.
1
#ifndef ROHDESCHWARZ_TO_VALUE_HPP
2
#define ROHDESCHWARZ_TO_VALUE_HPP
3
4
5
// std lib
6
#include <string>
7
8
9
namespace
rohdeschwarz
10
{
11
12
13
// definition
14
template
<
class
OutputType>
15
OutputType
to_value
(std::string input);
16
17
18
// specializations
19
20
21
// int
22
template
<>
23
int
to_value
(std::string input);
24
25
26
// unsigned int
27
template
<>
28
unsigned
int
to_value
(std::string input);
29
30
31
// double
32
template
<>
33
double
to_value
(std::string input);
34
35
36
// string
37
template
<>
38
std::string
to_value
(std::string input);
39
40
41
}
// rohdeschwarz
42
#endif
// ROHDESCHWARZ_TO_VALUE_HPP
rohdeschwarz
Definition:
bus.hpp:16
rohdeschwarz::to_value
OutputType to_value(std::string input)
Generated by
1.9.1