#include "deprecate.h"
#include "Exception.h"
#include <cmath>
#include <limits>
#include <istream>
#include <string>
#include <stdexcept>
#include <sstream>
#include <utility>
#include <vector>
Go to the source code of this file.
Classes | |
struct | theplu::yat::utility::detail::VectorPusher< T > |
struct | theplu::yat::utility::detail::VectorPusher< std::string > |
Namespaces | |
namespace | theplu |
The Department of Theoretical Physics namespace as we define it. | |
namespace | theplu::yat |
yat project namespace. | |
namespace | theplu::yat::utility |
Miscellaneous functionality. | |
Functions | |
template<typename InputIterator , typename OutputIterator > | |
bool | theplu::yat::utility::binary_weight (InputIterator first, InputIterator last, OutputIterator result) |
template<typename T > | |
T | theplu::yat::utility::convert (const std::string &s) |
convert string to (numerical) type | |
template<typename T > | |
bool | theplu::yat::utility::is (const std::string &s) |
check if string is convertible to (numerical) type | |
bool | theplu::yat::utility::is_double (const std::string &) |
bool | theplu::yat::utility::is_equal (std::string s, std::string other) |
bool | theplu::yat::utility::is_float (const std::string &) |
bool | theplu::yat::utility::is_int (const std::string &) |
bool | theplu::yat::utility::is_nan (const std::string &s) |
template<typename T > | |
void | theplu::yat::utility::load (std::istream &is, std::vector< std::vector< T > > &vec, char sep='\0', char line_sep='\n', bool ignore_empty=false, bool rectangle=true) |
template<typename T > | |
void | theplu::yat::utility::load (std::istream &is, std::vector< T > &vec, char sep='\0') |
Fill a vector<T> with elements from istream. | |
template<typename T > | |
bool | theplu::yat::utility::detail::convert (const std::string &s, T &t) |
convert s to t |