Moby
Static Public Member Functions | List of all members
Moby::XMLReader Class Reference

Used to read the simulator state from XML. More...

#include <XMLReader.h>

Static Public Member Functions

static std::map< std::string,
BasePtr
read (const std::string &fname)
 Reads an XML file and constructs all read objects. More...
 
static std::map< std::string,
BasePtr
construct_ID_map (boost::shared_ptr< XMLTree > node)
 Constructs an ID map from a tree.
 

Detailed Description

Used to read the simulator state from XML.

Member Function Documentation

std::map< std::string, BasePtr > XMLReader::read ( const std::string &  fname)
static

Reads an XML file and constructs all read objects.

Returns
a map of IDs to read objects

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