• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List

Writer.h

00001 /**********************************************************************
00002  * $Id: Writer.h 2579 2009-06-15 14:03:52Z 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  * Last port: ORIGINAL WORK to be used like java.io.Writer
00018  *
00019  **********************************************************************/
00020 
00021 #ifndef GEOS_IO_WRITER_H
00022 #define GEOS_IO_WRITER_H
00023 
00024 #include <geos/export.h>
00025 
00026 #include <string>
00027 
00028 namespace geos {
00029 namespace io {
00030 
00031 class GEOS_DLL Writer {
00032 public:
00033         Writer();
00034         ~Writer();
00035         void write(std::string txt);
00036         std::string toString();
00037 private:
00038         std::string str;
00039 };
00040 
00041 } // namespace geos::io
00042 } // namespace geos
00043 
00044 #endif // #ifndef GEOS_IO_WRITER_H
00045 
00046 /**********************************************************************
00047  * $Log$
00048  * Revision 1.1  2006/03/20 18:18:15  strk
00049  * io.h header split
00050  *
00051  **********************************************************************/

Generated on Thu Jul 22 2010 for GEOS by  doxygen 1.7.1