supertux
|
The ReaderDocument holds a parsed document in memory, access to it's content is provided by get_root() More...
#include <reader_document.hpp>
Public Member Functions | |
ReaderDocument (const std::string &filename, sexp::Value sx) | |
ReaderObject | get_root () const |
Returns the root object. | |
const std::string & | get_filename () const |
Returns the filename of the document. | |
std::string | get_directory () const |
Returns the directory of the document. | |
const sexp::Value & | get_sexp () const |
Static Public Member Functions | |
static ReaderDocument | from_stream (std::istream &stream, const std::string &filename="<stream>") |
static ReaderDocument | from_file (const std::string &filename) |
The ReaderDocument holds a parsed document in memory, access to it's content is provided by get_root()