GCC Code Coverage Report


Directory: ./
File: tmp_project/PhoenixString/src/convertToString.cpp
Date: 2024-07-27 10:53:27
Exec Total Coverage
Lines: 4 4 100.0%
Branches: 0 0 -%

Line Branch Exec Source
1 /***************************************
2 Auteur : Pierre Aubert
3 Mail : pierre.aubert@lapp.in2p3.fr
4 Licence : CeCILL-C
5 ****************************************/
6
7
8 #include "convertToString.h"
9
10 ///Convert a value to string (specialisation for string)
11 /** @param val : value
12 * @return string
13 */
14 template<>
15 46 std::string convertToString<std::string>(const std::string & val){
16 46 return val;
17 }
18
19 ///Convert a string to value (specialisation for string)
20 /** @param str : string
21 * @return string value
22 */
23 template<>
24 35 std::string stringToValue<std::string>(const std::string & str){
25 35 return str;
26 }
27
28