rohdeschwarz  0.2.0
TCPIP socket library for Rohde & Schwarz instrument control
bool.hpp
Go to the documentation of this file.
1 
7 #ifndef ROHDESCHWARZ_SCPI_BOOL_HPP
8 #define ROHDESCHWARZ_SCPI_BOOL_HPP
9 
10 
11 // std lib
12 #include <string>
13 
14 
15 namespace rohdeschwarz::scpi
16 {
17 
18 
24 std::string toScpi(bool value);
25 
26 
32 bool toBool(std::string scpi);
33 
34 
35 } // namespace rohdeschwarz::scpi
36 #endif // ROHDESCHWARZ_SCPI_BOOL_HPP
std::string toScpi(bool value)
Converts C/C++ bool to SCPI bool.
Definition: bool.cpp:12
bool toBool(std::string scpi)
Converts SCPI bool to C/C++ bool.
Definition: bool.cpp:18