xerus
a general purpose tensor library
|
Header file for some elementary string manipulation routines. More...
#include <string>
#include <sstream>
#include <iomanip>
#include <utility>
#include "standard.h"
#include "sfinae.h"
#include "containerOutput.h"
Go to the source code of this file.
Namespaces | |
xerus | |
The main namespace of xerus. | |
xerus::misc | |
Collection of classes and functions that provide elementary functionality that is not special to xerus as a tensor library. | |
Functions | |
template<typename T > | |
T | xerus::misc::from_string (const std::string &_s) |
: Creates an arbitary Object from string More... | |
template<> | |
XERUS_force_inline double | xerus::misc::from_string< double > (const std::string &_str) |
template<> | |
XERUS_force_inline float | xerus::misc::from_string< float > (const std::string &_str) |
template<> | |
XERUS_force_inline int | xerus::misc::from_string< int > (const std::string &_str) |
template<> | |
XERUS_force_inline long | xerus::misc::from_string< long > (const std::string &_str) |
template<> | |
XERUS_force_inline long double | xerus::misc::from_string< long double > (const std::string &_str) |
template<> | |
XERUS_force_inline long long | xerus::misc::from_string< long long > (const std::string &_str) |
template<> | |
XERUS_force_inline unsigned long | xerus::misc::from_string< unsigned long > (const std::string &_str) |
template<> | |
XERUS_force_inline unsigned long long | xerus::misc::from_string< unsigned long long > (const std::string &_str) |
static XERUS_force_inline std::string | xerus::misc::to_string (const bool obj) |
static XERUS_force_inline std::string | xerus::misc::to_string (const std::string &obj) |
static XERUS_force_inline std::string | xerus::misc::to_string (const char *const obj) |
template<typename T > | |
std::string | xerus::misc::to_string (const T &obj) |
: Converts any object (which has no specialized function for it) to string. More... | |
template<typename T > | |
std::string | xerus::misc::to_string (const T &obj, const long _precision) |
: Converts an arbitary Object to string with fixed precision More... | |
Header file for some elementary string manipulation routines.
Definition in file stringFromTo.h.