libcpp4ec
C++ for EtherCat Library
Main Page
Classes
Files
Examples
File List
All
Classes
Functions
Variables
Typedefs
Enumerations
Enumerator
src
EcUtil.h
1
#ifndef ECUTIL_H
2
#define ECUTIL_H
3
4
#include <stdint.h>
5
#include <string>
6
#include <iostream>
7
#include <sstream>
8
9
10
11
namespace
cpp4ec
12
{
13
14
template
<
class
T>
15
inline
std::string to_string(
const
T& t, std::ios_base & (*f)(std::ios_base&))
16
{
17
std::stringstream ss;
18
ss << f << t;
19
return
ss.str();
20
};
21
22
23
}
24
25
26
#endif
cpp4ec
Definition:
EcMaster.h:37
Generated on Fri Mar 27 2015 12:27:26 for libcpp4ec by
1.8.8