GEOS 3.14.0dev
CLocalizer.h
1/**********************************************************************
2 *
3 * GEOS - Geometry Engine Open Source
4 * http://geos.osgeo.org
5 *
6 * Copyright (C) 2008 Sean Gillies
7 *
8 * This is free software; you can redistribute and/or modify it under
9 * the terms of the GNU Lesser General Public Licence as published
10 * by the Free Software Foundation.
11 * See the COPYING file for more information.
12 *
13 **********************************************************************
14 *
15 * Last port: ORIGINAL WORK
16 *
17 **********************************************************************/
18
19#pragma once
20
21#include <geos/export.h>
22
23#include <string>
24
25#ifdef _MSC_VER
26#pragma warning(push)
27#pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class
28#endif
29
30namespace geos {
31namespace io {
32
36class GEOS_DLL CLocalizer {
37public:
38
39 CLocalizer();
40 ~CLocalizer();
41
42private:
43
44 std::string saved_locale;
45};
46
47#ifdef _MSC_VER
48#pragma warning(pop)
49#endif
50
51} // namespace io
52} // namespace geos
53
Basic namespace for all GEOS functionalities.
Definition geos.h:39