ISIS Logo
lvDCOM
An EPICS support module to export LabVIEW values as process variables
Functions
convertToString.cpp File Reference

Templated number to string conversion functions. More...

#include <string>
#include "convertToString.h"

Go to the source code of this file.

Functions

template<typename T >
std::string convertToString (T t)
 Convert a numeric type to a string. More...
 
template<>
std::string convertToString (double t)
 
template<>
std::string convertToString (int t)
 

Detailed Description

Templated number to string conversion functions.

Author
Freddie Akeroyd, STFC ISIS Facility, GB

Definition in file convertToString.cpp.

Function Documentation

template<typename T >
std::string convertToString ( t)

Convert a numeric type to a string.

Definition at line 20 of file convertToString.cpp.

Referenced by lvDCOMDriver::readValue(), and lvDCOMDriver::writeValue().

template<>
std::string convertToString ( double  t)

Definition at line 26 of file convertToString.cpp.

template<>
std::string convertToString ( int  t)

Definition at line 34 of file convertToString.cpp.

Copyright © 2013 Science and Technology Facilities Council | Generated by   doxygen 1.8.5