liblcf
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
lmu_reader.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2014 liblcf authors
3  * This file is released under the MIT License
4  * http://opensource.org/licenses/MIT
5  */
6 
7 #ifndef LCF_LMU_READER_H
8 #define LCF_LMU_READER_H
9 
10 #include <string>
11 #include <memory>
12 #include "rpg_map.h"
13 
17 namespace LMU_Reader {
18 
22  std::auto_ptr<RPG::Map> Load(const std::string& filename, const std::string& encoding);
23 
27  bool Save(const std::string& filename, const RPG::Map& map, const std::string& encoding);
28 
32  bool SaveXml(const std::string& filename, const RPG::Map& map);
33 
37  std::auto_ptr<RPG::Map> LoadXml(const std::string& filename);
38 }
39 
40 #endif
bool SaveXml(const std::string &filename, const RPG::Map &map)
Definition: lmu_reader.cpp:48
std::auto_ptr< RPG::Map > Load(const std::string &filename, const std::string &encoding)
Definition: lmu_reader.cpp:13
std::auto_ptr< RPG::Map > LoadXml(const std::string &filename)
Definition: lmu_reader.cpp:60
bool Save(const std::string &filename, const RPG::Map &map, const std::string &encoding)
Definition: lmu_reader.cpp:34