/* * toCLIString.hpp * * Created on: Aug 23, 2013 * Author: heber */ #ifndef TOCLISTRING_HPP_ #define TOCLISTRING_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include #include #include class Box; class Vector; template inline const std::string toCLIString( const T& _value) { std::stringstream output; output << _value; return output.str(); } template <> const std::string toCLIString( const boost::filesystem::path & _value); template <> const std::string toCLIString( const Box& _value); template <> const std::string toCLIString( const Vector& _value); #endif /* TOCLISTRING_HPP_ */