Add header guard to CLocalizer (#619)
[geos.git] / include / geos / io / CLocalizer.h
blobc1d702c1e85cea9dbedf790ff8730f0e927e5579
1 /**********************************************************************
3 * GEOS - Geometry Engine Open Source
4 * http://geos.osgeo.org
6 * Copyright (C) 2008 Sean Gillies
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.
13 **********************************************************************
15 * Last port: ORIGINAL WORK
17 **********************************************************************/
19 #ifndef GEOS_IO_CLOCALIZER_H
20 #define GEOS_IO_CLOCALIZER_H
22 #include <geos/export.h>
24 #include <string>
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
31 namespace geos {
32 namespace io {
34 /**
35 * \class CLocalizer io.h geos.h
37 class GEOS_DLL CLocalizer
39 public:
41 CLocalizer();
42 ~CLocalizer();
44 private:
46 std::string saved_locale;
49 #ifdef _MSC_VER
50 #pragma warning(pop)
51 #endif
53 } // namespace io
54 } // namespace geos
56 #endif // GEOS_IO_CLOCALIZER_H