#include <Serializable.h>
Definition at line 145 of file Serializable.h.
Static Public Member Functions | |
static std::string | getTag (istream &in, bool strict=true) throw (SerializationException) |
reads the next tag from the input stream (with delimiters), requires an open bracket first | |
static void | expectTag (istream &in, const char *tag) throw (SerializationException) |
reads in whitespace, then calls expect() with the tag | |
static std::string | get (istream &in, char delim) throw (SerializationException) |
reads in bytes untli the delimiter is found, returning as a string | |
static void | expect (istream &in, const char *str) throw (SerializationException) |
throws an exception of str is not next in in | |
static void | expect (istream &in, const std::string &str) throw (SerializationException) |
equivalent to expect(istream&, const char*) | |
template<typename S> | |
static void | expect (istream &in, const S &val) throw (SerializationException) |
reads from in using >>, expects the value to be val | |
template<typename S> | |
static void | getToken (istream &in, S &val) throw (SerializationException) |
reads in a whitespace-tokenized token |