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