GEOS
3.6.2
|
00001 /********************************************************************** 00002 * 00003 * GEOS - Geometry Engine Open Source 00004 * http://geos.osgeo.org 00005 * 00006 * Copyright (C) 2008 Sean Gillies 00007 * 00008 * This is free software; you can redistribute and/or modify it under 00009 * the terms of the GNU Lesser General Public Licence as published 00010 * by the Free Software Foundation. 00011 * See the COPYING file for more information. 00012 * 00013 ********************************************************************** 00014 * 00015 * Last port: ORIGINAL WORK 00016 * 00017 **********************************************************************/ 00018 00019 #ifndef GEOS_IO_CLOCALIZER_H 00020 #define GEOS_IO_CLOCALIZER_H 00021 00022 #include <geos/export.h> 00023 00024 #include <string> 00025 00026 #ifdef _MSC_VER 00027 #pragma warning(push) 00028 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class 00029 #endif 00030 00031 namespace geos { 00032 namespace io { 00033 00037 class GEOS_DLL CLocalizer 00038 { 00039 public: 00040 00041 CLocalizer(); 00042 ~CLocalizer(); 00043 00044 private: 00045 00046 std::string saved_locale; 00047 }; 00048 00049 #ifdef _MSC_VER 00050 #pragma warning(pop) 00051 #endif 00052 00053 } // namespace io 00054 } // namespace geos 00055 00056 #endif // GEOS_IO_CLOCALIZER_H