GEOS
3.14.0dev
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
b
c
g
j
l
n
o
p
r
s
Functions
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
c
d
e
h
i
m
n
p
r
s
t
z
Typedefs
Enumerations
Enumerator
Related Symbols
Files
File List
File Members
All
f
g
i
Functions
f
g
i
Typedefs
Enumerations
Enumerator
g
include
geos
io
Writer.h
1
/**********************************************************************
2
*
3
* GEOS - Geometry Engine Open Source
4
* http://geos.osgeo.org
5
*
6
* Copyright (C) 2005-2006 Refractions Research Inc.
7
* Copyright (C) 2001-2002 Vivid Solutions Inc.
8
*
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.
13
*
14
**********************************************************************
15
*
16
* Last port: ORIGINAL WORK to be used like java.io.Writer
17
*
18
**********************************************************************/
19
20
#pragma once
21
22
#include <geos/export.h>
23
24
#include <string>
25
26
#ifdef _MSC_VER
27
#pragma warning(push)
28
#pragma warning(disable: 4251)
// warning C4251: needs to have dll-interface to be used by clients of class
29
#endif
30
31
namespace
geos
{
32
namespace
io {
33
34
class
GEOS_DLL Writer {
35
public
:
36
Writer();
37
void
reserve(std::size_t capacity);
38
~Writer() =
default
;
39
void
write(
const
std::string& txt);
40
const
std::string& toString();
41
private
:
42
std::string str;
43
};
44
45
}
// namespace geos::io
46
}
// namespace geos
47
48
#ifdef _MSC_VER
49
#pragma warning(pop)
50
#endif
51
geos
Basic namespace for all GEOS functionalities.
Definition
geos.h:39
Generated by
1.9.8