GEOS  3.9.1dev
CLocalizer.h
Go to the documentation of this file.
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 #ifndef GEOS_IO_CLOCALIZER_H
20 #define GEOS_IO_CLOCALIZER_H
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 
38 public:
39 
40  CLocalizer();
41  ~CLocalizer();
42 
43 private:
44 
45  std::string saved_locale;
46 };
47 
48 #ifdef _MSC_VER
49 #pragma warning(pop)
50 #endif
51 
52 } // namespace io
53 } // namespace geos
54 
55 #endif // GEOS_IO_CLOCALIZER_H
#define GEOS_DLL
Definition: export.h:28
Basic namespace for all GEOS functionalities.
std::string saved_locale
Definition: CLocalizer.h:45