SUMO - Simulation of Urban MObility
PCLoaderDlrNavteq.h
Go to the documentation of this file.
00001 /****************************************************************************/
00008 // A reader of pois and polygons stored in DLR-Navteq (Elmar)-format
00009 /****************************************************************************/
00010 // SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/
00011 // Copyright (C) 2001-2012 DLR (http://www.dlr.de/) and contributors
00012 /****************************************************************************/
00013 //
00014 //   This file is part of SUMO.
00015 //   SUMO is free software: you can redistribute it and/or modify
00016 //   it under the terms of the GNU General Public License as published by
00017 //   the Free Software Foundation, either version 3 of the License, or
00018 //   (at your option) any later version.
00019 //
00020 /****************************************************************************/
00021 #ifndef PCLoaderDlrNavteq_h
00022 #define PCLoaderDlrNavteq_h
00023 
00024 
00025 // ===========================================================================
00026 // included modules
00027 // ===========================================================================
00028 #ifdef _MSC_VER
00029 #include <windows_config.h>
00030 #else
00031 #include <config.h>
00032 #endif
00033 
00034 #include <string>
00035 #include "PCPolyContainer.h"
00036 #include "PCTypeMap.h"
00037 #include <utils/common/UtilExceptions.h>
00038 
00039 
00040 // ===========================================================================
00041 // class definitions
00042 // ===========================================================================
00043 class OptionsCont;
00044 
00045 
00046 // ===========================================================================
00047 // class declarations
00048 // ===========================================================================
00057 class PCLoaderDlrNavteq {
00058 public:
00076     static void loadIfSet(OptionsCont& oc, PCPolyContainer& toFill,
00077                           PCTypeMap& tm) ;
00078 
00079 
00080 protected:
00091     static void loadPOIFiles(OptionsCont& oc, PCPolyContainer& toFill,
00092                              PCTypeMap& tm) ;
00093 
00094 
00105     static void loadPolyFiles(OptionsCont& oc, PCPolyContainer& toFill,
00106                               PCTypeMap& tm) ;
00107 
00108 
00116     static void loadPOIFile(const std::string& file,
00117                             OptionsCont& oc, PCPolyContainer& toFill,
00118                             PCTypeMap& tm) ;
00119 
00120 
00128     static void loadPolyFile(const std::string& file,
00129                              OptionsCont& oc, PCPolyContainer& toFill,
00130                              PCTypeMap& tm) ;
00131 
00132 
00133 };
00134 
00135 
00136 #endif
00137 
00138 /****************************************************************************/
00139 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines