ADTF
string_conversion.h File Reference

Copyright © Audi Electronics Venture GmbH. More...

Go to the source code of this file.

Namespaces

 adtf
 Namespace for entire ADTF SDK.
 
 adtf::base
 Namespace for the ADTF Base SDK.
 

Enumerations

enum class  float_format { general = 0 , scientific = 1 , fixed = 2 , hex = 3 }
 

Functions

const std::locale & get_c_locale ()
 
template<typename T >
std::string float_to_string (T value, float_format format)
 
template<typename T >
string_to_float (std::string_view value)
 
template<typename T >
std::string to_string (T value, float_format=float_format::fixed)
 
template<>
std::string to_string (float value, float_format format)
 
template<>
std::string to_string (double value, float_format format)
 
std::pair< int, size_t > get_base (std::string_view value)
 
template<typename T >
to_number (std::string_view value, int base=0)
 
template<>
float to_number (std::string_view value, int)
 

Detailed Description

Copyright © Audi Electronics Venture GmbH.

All rights reserved

Definition in file string_conversion.h.