Classes | Namespaces | Functions | Variables
string_convert.h File Reference
#include <cstring>
#include <string>
#include <vector>
#include <utility>
#include <stdexcept>
#include <typeinfo>
#include <istream>
#include <strings.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.

Classes

class  bk_lib::bad_string_cast
class  bk_lib::detail::input_from_string< T, Traits >
class  bk_lib::detail::input_stream< T, Traits >
struct  bk_lib::detail::no_stream_support

Namespaces

namespace  bk_lib
namespace  bk_lib::detail

Functions

no_stream_support & bk_lib::detail::operator>> (std::istream &, const no_stream_support &)
template<class T >
bool bk_lib::string_cast (const char *arg, T &to)
template<class T >
bk_lib::string_cast (const char *s)
template<class T >
bk_lib::string_cast (const std::string &s)
template<class T >
bool bk_lib::string_cast (const std::string &from, T &to)
template<class T >
int bk_lib::xconvert (const char *x, T &out, const char **errPos=0, double=0)
int bk_lib::xconvert (const char *x, bool &out, const char **errPos=0, int=0)
int bk_lib::xconvert (const char *x, char &out, const char **errPos=0, int=0)
int bk_lib::xconvert (const char *x, unsigned &out, const char **errPos=0, int=0)
int bk_lib::xconvert (const char *x, int &out, const char **errPos=0, int=0)
int bk_lib::xconvert (const char *x, long &out, const char **errPos=0, int=0)
int bk_lib::xconvert (const char *x, unsigned long &out, const char **errPos=0, int=0)
int bk_lib::xconvert (const char *x, double &out, const char **errPos=0, int=0)
int bk_lib::xconvert (const char *x, const char *&out, const char **errPos=0, int=0)
int bk_lib::xconvert (const char *x, std::string &out, const char **errPos=0, int sep=0)
template<class T , class U >
int bk_lib::xconvert (const char *x, std::pair< T, U > &out, const char **errPos=0, int sep=def_sep)
template<class T >
int bk_lib::xconvert (const char *x, std::vector< T > &out, const char **errPos=0, int sep=def_sep)
template<class T >
int bk_lib::xconvert (const char *x, T *out, const char **errPos, int maxTok)

Variables

const int bk_lib::def_sep = int(',')


clasp
Author(s): Benjamin Kaufmann
autogenerated on Thu Aug 27 2015 12:41:40