00001 /********************************************************************** 00002 * $Id: Writer.h 1820 2006-09-06 16:54:23Z mloskot $ 00003 * 00004 * GEOS - Geometry Engine Open Source 00005 * http://geos.refractions.net 00006 * 00007 * Copyright (C) 2005-2006 Refractions Research Inc. 00008 * Copyright (C) 2001-2002 Vivid Solutions Inc. 00009 * 00010 * This is free software; you can redistribute and/or modify it under 00011 * the terms of the GNU Lesser General Public Licence as published 00012 * by the Free Software Foundation. 00013 * See the COPYING file for more information. 00014 * 00015 **********************************************************************/ 00016 00017 #ifndef GEOS_IO_WRITER_H 00018 #define GEOS_IO_WRITER_H 00019 00020 #include <string> 00021 00022 namespace geos { 00023 namespace io { 00024 00025 class Writer { 00026 public: 00027 Writer(); 00028 ~Writer(); 00029 void write(std::string txt); 00030 std::string toString(); 00031 private: 00032 std::string str; 00033 }; 00034 00035 } // namespace geos::io 00036 } // namespace geos 00037 00038 #endif // #ifndef GEOS_IO_WRITER_H 00039 00040 /********************************************************************** 00041 * $Log$ 00042 * Revision 1.1 2006/03/20 18:18:15 strk 00043 * io.h header split 00044 * 00045 **********************************************************************/