PhoenixMock
1.8.7
Tools to split/merge/print mock used in Phoenix
convertToString.h
Go to the documentation of this file.
1
/***************************************
2
Auteur : Pierre Aubert
3
Mail : pierre.aubert@lapp.in2p3.fr
4
Licence : CeCILL-C
5
****************************************/
6
7
#ifndef __CONVERTTOSTRING_H__
8
#define __CONVERTTOSTRING_H__
9
10
#include <string>
11
#include <sstream>
12
// #include <inttypes.h>
13
14
template
<
typename
T>
15
std::string
convertToString
(
const
T & val);
16
17
template
<
typename
T>
18
T
stringToValue
(
const
std::string &
str
);
19
20
template
<>
21
std::string convertToString<std::string>(
const
std::string & val);
22
23
template
<>
24
std::string stringToValue<std::string>(
const
std::string &
str
);
25
26
#include "
convertToString_impl.h
"
27
28
#endif
convertToString_impl.h
convertToString
std::string convertToString(const T &val)
Convert a type into a string.
Definition:
convertToString_impl.h:17
createReleaseCurl.str
str
Definition:
createReleaseCurl.py:128
stringToValue
T stringToValue(const std::string &str)
Convert a string into value.
Definition:
convertToString_impl.h:28
tmp_project
StringUtils
src
convertToString.h
Generated on Mon Dec 9 2024 15:33:41 for PhoenixMock by
1.8.17