supertux
Public Member Functions | List of all members
Writer Class Referencefinal

Public Member Functions

 Writer (const std::string &filename)
 
 Writer (std::ostream &out)
 
void write_comment (const std::string &comment)
 
void start_list (const std::string &listname, bool string=false)
 
void write (const std::string &name, bool value)
 
void write (const std::string &name, int value)
 
void write (const std::string &name, float value)
 
void write (const std::string &name, const char *value)
 This function is needed to properly resolve the overloaded write() function, without it the call write("foo", "bar") would call write(name, bool), not write(name, string, bool)
 
void write (const std::string &name, const std::string &value, bool translatable=false)
 
void write (const std::string &name, const std::vector< int > &value)
 
void write (const std::string &name, const std::vector< unsigned int > &value, int width=0)
 
void write (const std::string &name, const std::vector< float > &value)
 
void write (const std::string &name, const std::vector< std::string > &value)
 
void write (const std::string &name, const sexp::Value &value)
 
void end_list (const std::string &listname)
 

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