Fawkes API  Fawkes Development Version
yaml_navgraph.h
1 
2 /***************************************************************************
3  * yaml_navgraph.h - Nav graph stored in a YAML file
4  *
5  * Created: Thu Sep 20 18:31:06 2012
6  * Copyright 2012 Tim Niemueller [www.niemueller.de]
7  ****************************************************************************/
8 
9 /* This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version. A runtime exception applies to
13  * this software (see LICENSE.GPL_WRE file mentioned below for details).
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU Library General Public License for more details.
19  *
20  * Read the full text in the LICENSE.GPL_WRE file in the doc directory.
21  */
22 
23 #ifndef __UTILS_GRAPH_YAML_NAVGRAPH_H_
24 #define __UTILS_GRAPH_YAML_NAVGRAPH_H_
25 
26 #include <string>
27 
28 namespace fawkes {
29 #if 0 /* just to make Emacs auto-indent happy */
30 }
31 #endif
32 
33 class NavGraph;
34 
35 extern NavGraph * load_yaml_navgraph(std::string filename);
36 extern void save_yaml_navgraph(std::string filename, NavGraph *graph);
37 
38 } // end of namespace fawkes
39 
40 #endif
Fawkes library namespace.
void save_yaml_navgraph(std::string filename, NavGraph *graph)
Save navgraph to YAML file.
NavGraph * load_yaml_navgraph(std::string filename)
Load topological map graph stored in RCSoft format.