1 /**********************************************************************
3 * GEOS - Geometry Engine Open Source
4 * http://geos.osgeo.org
6 * Copyright (C) 2005-2006 Refractions Research Inc.
7 * Copyright (C) 2001-2002 Vivid Solutions Inc.
9 * This is free software; you can redistribute and/or modify it under
10 * the terms of the GNU Lesser General Public Licence as published
11 * by the Free Software Foundation.
12 * See the COPYING file for more information.
14 **********************************************************************
16 * Last port: ORIGINAL WORK to be used like java.io.Writer
18 **********************************************************************/
20 #include <geos/io/Writer.h>
26 namespace io
{ // geos.io
33 Writer::reserve(std::size_t capacity
)
35 str
.reserve(capacity
);
43 Writer::write(const std::string
& txt
)
54 } // namespace geos.io