00001 /***************************************************************************** 00002 * output.h 00003 * Last Change: 2003-12-27 00004 * Copyright (c) 2003 Sebastian "randomZ" Beschke 00005 **************** 00006 * This file is part of the libsofu project, a parser library for an all-purpose 00007 * ASCII file format. More information can be found on the project web site 00008 * at http://sofu.sourceforge.net/ . 00009 * 00010 * libsofu is published under the terms of the MIT license, which basically means 00011 * "Do with it whatever you want". For more information, see the license.txt 00012 * file that should be enclosed with libsofu distributions. A copy of the license 00013 * is (at the time of this writing) also available at 00014 * http://www.opensource.org/licenses/mit-license.php . 00015 *****************************************************************************/ 00016 00022 #ifndef INC_SOFU_OUTPUT_H 00023 #define INC_SOFU_OUTPUT_H 00024 00025 #include "main.h" 00026 00027 namespace Sofu 00028 { 00029 class Object; 00030 00037 void writeFile(Object* object, const string& filename); 00038 00045 void writeStream(Object* object, ostream& file); 00046 00053 void writeString(Object* object, string& str); 00054 } 00055 00056 #endif // INC_SOFU_OUTPUT_H