00001 /********************************************************************** 00002 * $Id: Writer.h 2556 2009-06-06 22:22:28Z strk $ 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 <geos/export.h> 00021 00022 #include <string> 00023 00024 namespace geos { 00025 namespace io { 00026 00027 class GEOS_DLL Writer { 00028 public: 00029 Writer(); 00030 ~Writer(); 00031 void write(std::string txt); 00032 std::string toString(); 00033 private: 00034 std::string str; 00035 }; 00036 00037 } // namespace geos::io 00038 } // namespace geos 00039 00040 #endif // #ifndef GEOS_IO_WRITER_H 00041 00042 /********************************************************************** 00043 * $Log$ 00044 * Revision 1.1 2006/03/20 18:18:15 strk 00045 * io.h header split 00046 * 00047 **********************************************************************/
1.4.4