#include "genesis/utils/io/input_stream.hpp"
#include "genesis/utils/text/char.hpp"
#include <cassert>
#include <cmath>
#include <cctype>
#include <cstring>
#include <limits>
#include <stdexcept>
Go to the source code of this file.
Namespaces | |
genesis | |
Container namespace for all symbols of genesis in order to keep them separate when used as a library. | |
genesis::utils | |
Functions | |
template<class T > | |
T | parse_float (utils::InputStream &source) |
Read a floating point number from a stream and return it. More... | |
template<class T > | |
T | parse_integer (utils::InputStream &source) |
Alias for parse_signed_integer(). More... | |
std::string | parse_number_string (utils::InputStream &source) |
Read a general number string from an input stream. More... | |
std::string | parse_quoted_string (utils::InputStream &source, bool use_escapes=true, bool use_twin_quotes=false, bool include_qmarks=false) |
Read a string in quotation marks from a stream and return it. More... | |
template<class T > | |
T | parse_signed_integer (utils::InputStream &source) |
Read a signed integer from a stream and return it. More... | |
template<class T > | |
T | parse_unsigned_integer (utils::InputStream &source) |
Read an unsigned integer from a stream and return it. More... | |
size_t | parse_unsigned_integer_size_t (utils::InputStream &source) |
Parse the input source as an unsigned int into a size_t. More... | |