MADNESS 0.10.1
position_stream.cc File Reference
#include <madness/misc/misc.h>
#include <sstream>
#include <stdexcept>
Include dependency graph for position_stream.cc:

Namespaces

namespace  madness
 Namespace for all elements and tools of MADNESS.

Functions

std::string madness::lowercase (const std::string &s)
std::istream & madness::position_stream (std::istream &f, const std::string &tag, bool rewind=true)
std::istream & madness::position_stream_to_word (std::istream &f, const std::string &tag, const char comment, bool rewind, bool silent, bool first_word_only)
 position the input stream to tag, which must be a word (not part of a word)

Variables

static constexpr const char * madness::not_found_msg = "position_stream: failed to locate the requested tag"
 message thrown when a tag cannot be found