Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
eclipse
GitHub Repository: eclipse/sumo
Path: blob/main/src/foreign/PHEMlight/cpp/Helpers.h
169684 views
1
/****************************************************************************/
2
// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo
3
// Copyright (C) 2016-2025 German Aerospace Center (DLR) and others.
4
// PHEMlight module
5
// Copyright 2016 Technische Universitaet Graz, https://www.tugraz.at/
6
// This program and the accompanying materials are made available under the
7
// terms of the Eclipse Public License 2.0 which is available at
8
// https://www.eclipse.org/legal/epl-2.0/
9
// This Source Code may also be made available under the following Secondary
10
// Licenses when the conditions for such availability set forth in the Eclipse
11
// Public License 2.0 are satisfied: GNU General Public License, version 2
12
// or later which is available at
13
// https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
14
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
15
/****************************************************************************/
16
/// @file Helpers.h
17
/// @author Martin Dippold
18
/// @author Michael Behrisch
19
/// @date July 2016
20
///
21
//
22
/****************************************************************************/
23
#pragma once
24
#include <config.h>
25
26
#include <string>
27
28
29
namespace PHEMlightdll {
30
class Helpers {
31
//--------------------------------------------------------------------------------------------------
32
// Members
33
//--------------------------------------------------------------------------------------------------
34
private:
35
std::string _vClass;
36
public:
37
const std::string& getvClass() const;
38
void setvClass(const std::string& value);
39
private:
40
std::string _eClass;
41
public:
42
const std::string& geteClass() const;
43
void seteClass(const std::string& value);
44
private:
45
std::string _tClass;
46
public:
47
const std::string& gettClass() const;
48
void settClass(const std::string& value);
49
private:
50
std::string _sClass;
51
public:
52
const std::string& getsClass() const;
53
void setsClass(const std::string& value);
54
private:
55
std::string _Class;
56
public:
57
const std::string& getgClass() const;
58
void setgClass(const std::string& value);
59
private:
60
std::string _ErrMsg;
61
public:
62
const std::string& getErrMsg() const;
63
void setErrMsg(const std::string& value);
64
private:
65
std::string _commentPrefix;
66
public:
67
const std::string& getCommentPrefix() const;
68
void setCommentPrefix(const std::string& value);
69
private:
70
std::string _PHEMDataV;
71
public:
72
const std::string& getPHEMDataV() const;
73
void setPHEMDataV(const std::string& value);
74
75
//Get vehicle class
76
private:
77
bool getvclass(const std::string& VEH);
78
79
//Get technologie Class
80
bool gettclass(const std::string& VEH);
81
82
//Get size class
83
bool getsclass(const std::string& VEH);
84
85
//Get euro class
86
bool geteclass(const std::string& VEH);
87
88
//Set complete class string
89
public:
90
bool setclass(const std::string& VEH);
91
92
93
};
94
}
95
96