supertux
Public Member Functions | Static Public Member Functions | List of all members
ReaderDocument Class Referencefinal

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)
 

Detailed Description

The ReaderDocument holds a parsed document in memory, access to it's content is provided by get_root()


The documentation for this class was generated from the following files: