Eclipse SUMO - Simulation of Urban MObility
NIVissimSource.h
Go to the documentation of this file.
1
/****************************************************************************/
2
// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3
// Copyright (C) 2001-2019 German Aerospace Center (DLR) and others.
4
// This program and the accompanying materials
5
// are made available under the terms of the Eclipse Public License v2.0
6
// which accompanies this distribution, and is available at
7
// http://www.eclipse.org/legal/epl-v20.html
8
// SPDX-License-Identifier: EPL-2.0
9
/****************************************************************************/
15
// -------------------
16
/****************************************************************************/
17
#ifndef NIVissimSource_h
18
#define NIVissimSource_h
19
20
21
// ===========================================================================
22
// included modules
23
// ===========================================================================
24
#include <
config.h
>
25
26
27
#include <string>
28
#include <map>
29
30
// ===========================================================================
31
// class definitions
32
// ===========================================================================
36
class
NIVissimSource
{
37
public
:
38
NIVissimSource
(
const
std::string&
id
,
const
std::string& name,
39
const
std::string& edgeid);
40
~NIVissimSource
();
41
static
bool
dictionary
(
const
std::string&
id
,
const
std::string& name,
42
const
std::string& edgeid);
43
static
bool
dictionary
(
const
std::string&
id
,
NIVissimSource
* o);
44
static
NIVissimSource
*
dictionary
(
const
std::string&
id
);
45
static
void
clearDict
();
46
private
:
47
std::string
myID
;
48
std::string
myName
;
49
std::string
myEdgeID
;
50
51
private
:
52
typedef
std::map<std::string, NIVissimSource*>
DictType
;
53
static
DictType
myDict
;
54
};
55
56
57
#endif
58
59
/****************************************************************************/
60
NIVissimSource::myID
std::string myID
Definition:
NIVissimSource.h:47
NIVissimSource::DictType
std::map< std::string, NIVissimSource * > DictType
Definition:
NIVissimSource.h:52
NIVissimSource::dictionary
static bool dictionary(const std::string &id, const std::string &name, const std::string &edgeid)
Definition:
NIVissimSource.cpp:40
NIVissimSource::clearDict
static void clearDict()
Definition:
NIVissimSource.cpp:73
NIVissimSource::myDict
static DictType myDict
Definition:
NIVissimSource.h:53
NIVissimSource::myEdgeID
std::string myEdgeID
Definition:
NIVissimSource.h:49
NIVissimSource::~NIVissimSource
~NIVissimSource()
Definition:
NIVissimSource.cpp:36
NIVissimSource::myName
std::string myName
Definition:
NIVissimSource.h:48
NIVissimSource::NIVissimSource
NIVissimSource(const std::string &id, const std::string &name, const std::string &edgeid)
Definition:
NIVissimSource.cpp:31
config.h
NIVissimSource
Definition:
NIVissimSource.h:36
src
netimport
vissim
tempstructs
NIVissimSource.h
Generated on Wed Jan 15 2020 15:04:13 for Eclipse SUMO - Simulation of Urban MObility by
1.8.16