SUMO - Simulation of Urban MObility
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
OptionsIO.h
Go to the documentation of this file.
1
/****************************************************************************/
8
// Helper for parsing command line arguments and reading configuration files
9
/****************************************************************************/
10
// SUMO, Simulation of Urban MObility; see http://sumo-sim.org/
11
// Copyright (C) 2001-2013 DLR (http://www.dlr.de/) and contributors
12
/****************************************************************************/
13
//
14
// This file is part of SUMO.
15
// SUMO is free software: you can redistribute it and/or modify
16
// it under the terms of the GNU General Public License as published by
17
// the Free Software Foundation, either version 3 of the License, or
18
// (at your option) any later version.
19
//
20
/****************************************************************************/
21
#ifndef OptionsIO_h
22
#define OptionsIO_h
23
24
25
// ===========================================================================
26
// included modules
27
// ===========================================================================
28
#ifdef _MSC_VER
29
#include <
windows_config.h
>
30
#else
31
#include <
config.h
>
32
#endif
33
34
#include <
utils/common/UtilExceptions.h
>
35
36
37
// ===========================================================================
38
// class declarations
39
// ===========================================================================
40
class
OptionsCont
;
41
42
43
// ===========================================================================
44
// class definitions
45
// ===========================================================================
54
class
OptionsIO
{
55
public
:
73
static
void
getOptions
(
bool
loadConfig,
74
int
argc = 0,
char
** argv = 0);
75
76
83
static
void
loadConfiguration
();
84
85
private
:
86
static
int
myArgC
;
87
static
char
**
myArgV
;
88
89
};
90
91
92
#endif
93
94
/****************************************************************************/
95
UtilExceptions.h
OptionsIO::getOptions
static void getOptions(bool loadConfig, int argc=0, char **argv=0)
Parses the command line arguments and loads the configuration optionally.
Definition:
OptionsIO.cpp:64
windows_config.h
config.h
OptionsIO::myArgV
static char ** myArgV
Definition:
OptionsIO.h:87
OptionsIO::loadConfiguration
static void loadConfiguration()
Loads and parses the configuration.
Definition:
OptionsIO.cpp:89
OptionsIO::myArgC
static int myArgC
Definition:
OptionsIO.h:86
OptionsIO
Definition:
OptionsIO.h:54
OptionsCont
A storage for options typed value containers)
Definition:
OptionsCont.h:108
tmp
buildd
sumo-0.19.0+dfsg
src
utils
options
OptionsIO.h
Generated on Sun Dec 15 2013 19:39:00 for SUMO - Simulation of Urban MObility by
1.8.5