1 #ifndef __LISPWRITER_H__
2 #define __LISPWRITER_H__
10 LispWriter(std::ostream& out);
13 void write_comment(const std::string& comment);
15 void start_list(const std::string& listname);
17 void write_int(const std::string& name, int value);
18 void write_float(const std::string& name, float value);
19 void write_string(const std::string& name, const std::string& value);
20 void write_bool(const std::string& name, bool value);
21 void write_int_vector(const std::string& name, const std::vector<int>& value);
22 void write_int_vector(const std::string& name, const std::vector<unsigned int>& value);
23 // add more write-functions when needed...
25 void end_list(const std::string& listname);
32 std::vector<std::string> lists;