SUMO - Simulation of Urban MObility
|
00001 /****************************************************************************/ 00008 // Helper for parsing command line arguments and reading configuration files 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 OptionsIO_h 00022 #define OptionsIO_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 <utils/common/UtilExceptions.h> 00035 00036 00037 // =========================================================================== 00038 // class declarations 00039 // =========================================================================== 00040 class OptionsCont; 00041 00042 00043 // =========================================================================== 00044 // class definitions 00045 // =========================================================================== 00054 class OptionsIO { 00055 public: 00073 static void getOptions(bool loadConfig, 00074 int argc=0, char** argv=0) ; 00075 00076 00083 static void loadConfiguration() ; 00084 00085 private: 00086 static int myArgC; 00087 static char** myArgV; 00088 00089 }; 00090 00091 00092 #endif 00093 00094 /****************************************************************************/ 00095