#include <mapxml.h>
Public Member Functions | |
| MapWriter () | |
| void | Save (Map &map, const std::string &filePath) |
| Saves the map to an XML file. | |
Protected Member Functions | |
| virtual | ~MapWriter () |
Classes | |
| class | MapFormatTarget |
| Protected destructor so that this could be subclassed. | |
| dtDAL::MapWriter::MapWriter | ( | ) |
| dtDAL::MapWriter::~MapWriter | ( | ) | [protected, virtual] |
| void dtDAL::MapWriter::Save | ( | Map & | map, | |
| const std::string & | filePath | |||
| ) |
Saves the map to an XML file.
The create time will be set on the map if this is the first time it has been saved.
| map | the map to save. | |
| filePath | the path to the file to save. The map has a file name property, but it does not include any directories needed or the extension. |
| ExceptionEnum::MapSaveError | if any errors occur saving the file. |