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
/****************************************************************************/
14
// -------------------
15
/****************************************************************************/
16
#ifndef NIVissimSource_h
17
#define NIVissimSource_h
18
19
20
// ===========================================================================
21
// included modules
22
// ===========================================================================
23
#include <
config.h
>
24
25
26
#include <string>
27
#include <map>
28
29
// ===========================================================================
30
// class definitions
31
// ===========================================================================
35
class
NIVissimSource
{
36
public
:
37
NIVissimSource
(
const
std::string&
id
,
const
std::string& name,
38
const
std::string& edgeid);
39
~NIVissimSource
();
40
static
bool
dictionary
(
const
std::string&
id
,
const
std::string& name,
41
const
std::string& edgeid);
42
static
bool
dictionary
(
const
std::string&
id
,
NIVissimSource
* o);
43
static
NIVissimSource
*
dictionary
(
const
std::string&
id
);
44
static
void
clearDict
();
45
private
:
46
std::string
myID
;
47
std::string
myName
;
48
std::string
myEdgeID
;
49
50
private
:
51
typedef
std::map<std::string, NIVissimSource*>
DictType
;
52
static
DictType
myDict
;
53
};
54
55
56
#endif
57
58
/****************************************************************************/
59
NIVissimSource::myID
std::string myID
Definition:
NIVissimSource.h:46
NIVissimSource::DictType
std::map< std::string, NIVissimSource * > DictType
Definition:
NIVissimSource.h:51
NIVissimSource::dictionary
static bool dictionary(const std::string &id, const std::string &name, const std::string &edgeid)
Definition:
NIVissimSource.cpp:39
NIVissimSource::clearDict
static void clearDict()
Definition:
NIVissimSource.cpp:72
NIVissimSource::myDict
static DictType myDict
Definition:
NIVissimSource.h:52
NIVissimSource::myEdgeID
std::string myEdgeID
Definition:
NIVissimSource.h:48
NIVissimSource::~NIVissimSource
~NIVissimSource()
Definition:
NIVissimSource.cpp:35
NIVissimSource::myName
std::string myName
Definition:
NIVissimSource.h:47
NIVissimSource::NIVissimSource
NIVissimSource(const std::string &id, const std::string &name, const std::string &edgeid)
Definition:
NIVissimSource.cpp:30
config.h
NIVissimSource
Definition:
NIVissimSource.h:35
src
netimport
vissim
tempstructs
NIVissimSource.h
Generated on Sun Dec 13 2020 08:44:58 for Eclipse SUMO - Simulation of Urban MObility by
1.8.20