Ardour  8.7-14-g57a6773833
string_convert.h File Reference
#include <string>
#include <stdint.h>
#include "pbd/libpbd_visibility.h"
Include dependency graph for string_convert.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 PBD
 

Functions

bool PBD::bool_to_string (bool val, std::string &str)
 
bool PBD::int16_to_string (int16_t val, std::string &str)
 
bool PBD::uint16_to_string (uint16_t val, std::string &str)
 
bool PBD::int32_to_string (int32_t val, std::string &str)
 
bool PBD::uint32_to_string (uint32_t val, std::string &str)
 
bool PBD::int64_to_string (int64_t val, std::string &str)
 
bool PBD::uint64_to_string (uint64_t val, std::string &str)
 
bool PBD::float_to_string (float val, std::string &str)
 
bool PBD::double_to_string (double val, std::string &str)
 
bool PBD::string_to_bool (const std::string &str, bool &val)
 
bool PBD::string_to_int16 (const std::string &str, int16_t &val)
 
bool PBD::string_to_uint16 (const std::string &str, uint16_t &val)
 
bool PBD::string_to_int32 (const std::string &str, int32_t &val)
 
bool PBD::string_to_uint32 (const std::string &str, uint32_t &val)
 
bool PBD::string_to_int64 (const std::string &str, int64_t &val)
 
bool PBD::string_to_uint64 (const std::string &str, uint64_t &val)
 
bool PBD::string_to_float (const std::string &str, float &val)
 
bool PBD::string_to_double (const std::string &str, double &val)
 
template<class T >
bool PBD::to_string (T val, std::string &str)
 
template<class T >
bool PBD::to_string (bool val, std::string &str)
 
template<class T >
bool PBD::to_string (int8_t val, std::string &str)
 
template<class T >
bool PBD::to_string (uint8_t val, std::string &str)
 
template<class T >
bool PBD::to_string (int16_t val, std::string &str)
 
template<class T >
bool PBD::to_string (uint16_t val, std::string &str)
 
template<class T >
bool PBD::to_string (int32_t val, std::string &str)
 
template<class T >
bool PBD::to_string (uint32_t val, std::string &str)
 
template<class T >
bool PBD::to_string (int64_t val, std::string &str)
 
template<class T >
bool PBD::to_string (uint64_t val, std::string &str)
 
template<class T >
bool PBD::to_string (float val, std::string &str)
 
template<class T >
bool PBD::to_string (double val, std::string &str)
 
template<class T >
bool PBD::string_to (const std::string &str, T &val)
 
template<class T >
bool PBD::string_to (const std::string &str, bool &val)
 
template<class T >
bool PBD::string_to (const std::string &str, int8_t &val)
 
template<class T >
bool PBD::string_to (const std::string &str, uint8_t &val)
 
template<class T >
bool PBD::string_to (const std::string &str, int16_t &val)
 
template<class T >
bool PBD::string_to (const std::string &str, uint16_t &val)
 
template<class T >
bool PBD::string_to (const std::string &str, int32_t &val)
 
template<class T >
bool PBD::string_to (const std::string &str, uint32_t &val)
 
template<class T >
bool PBD::string_to (const std::string &str, int64_t &val)
 
template<class T >
bool PBD::string_to (const std::string &str, uint64_t &val)
 
template<class T >
bool PBD::string_to (const std::string &str, float &val)
 
template<class T >
bool PBD::string_to (const std::string &str, double &val)
 
template<class T >
std::string PBD::to_string (T val)
 
template<>
std::string PBD::to_string (bool val)
 
template<>
std::string PBD::to_string (int8_t val)
 
template<>
std::string PBD::to_string (uint8_t val)
 
template<>
std::string PBD::to_string (int16_t val)
 
template<>
std::string PBD::to_string (uint16_t val)
 
template<>
std::string PBD::to_string (int32_t val)
 
template<>
std::string PBD::to_string (uint32_t val)
 
template<>
std::string PBD::to_string (int64_t val)
 
template<>
std::string PBD::to_string (uint64_t val)
 
template<>
std::string PBD::to_string (float val)
 
template<>
std::string PBD::to_string (double val)
 
template<>
ARDOUR::timepos_t PBD::string_to (std::string const &str)