Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
V5/cpp/Helpers.h
Go to the documentation of this file.
1/****************************************************************************/
2// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo
3// Copyright (C) 2016-2024 German Aerospace Center (DLR) and others.
4// PHEMlight module
5// Copyright (C) 2016-2023 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/****************************************************************************/
21//
22/****************************************************************************/
23#pragma once
24
25#include <string>
26
27
28namespace PHEMlightdllV5 {
29 class Helpers {
30 private:
31 std::string _vClass;
32 public:
33 const std::string& getvClass() const;
34 void setvClass(const std::string& value);
35 private:
36 std::string _eClass;
37 public:
38 const std::string& geteClass() const;
39 void seteClass(const std::string& value);
40 private:
41 std::string _pClass;
42 public:
43 const std::string& getpClass() const;
44 void setpClass(const std::string& value);
45 private:
46 std::string _sClass;
47 public:
48 const std::string& getsClass() const;
49 void setsClass(const std::string& value);
50 private:
51 std::string _Class;
52 public:
53 const std::string& getgClass() const;
54 void setgClass(const std::string& value);
55 private:
56 std::string _uClass;
57 public:
58 const std::string& getuClass() const;
59 void setuClass(const std::string& value);
60 private:
61 std::string _ErrMsg;
62 public:
63 const std::string& getErrMsg() const;
64 void setErrMsg(const std::string& value);
65 private:
66 std::string _commentPrefix;
67 public:
68 const std::string& getCommentPrefix() const;
69 void setCommentPrefix(const std::string& value);
70 private:
71 std::string _PHEMDataV;
72 public:
73 const std::string& getPHEMDataV() const;
74 void setPHEMDataV(const std::string& value);
75
76 //Get vehicle class
77 private:
78 bool getvclass(const std::string& VEH);
79
80 //Get propulsion Class
81 bool getpclass(const std::string& VEH);
82
83 //Get size class
84 bool getsclass(const std::string& VEH);
85
86 //Get euro class
87 bool geteclass(const std::string& VEH);
88
89 //Get use Class
90 bool getuclass(const std::string& VEH);
91
92 //Set complete class string
93 public:
94 bool setclass(const std::string& VEH);
95 };
96}
const std::string & getPHEMDataV() const
const std::string & getpClass() const
void setPHEMDataV(const std::string &value)
const std::string & getvClass() const
void seteClass(const std::string &value)
const std::string & getuClass() const
bool getuclass(const std::string &VEH)
bool setclass(const std::string &VEH)
const std::string & getgClass() const
const std::string & getCommentPrefix() const
void setvClass(const std::string &value)
void setgClass(const std::string &value)
void setpClass(const std::string &value)
void setsClass(const std::string &value)
bool geteclass(const std::string &VEH)
bool getvclass(const std::string &VEH)
const std::string & getsClass() const
const std::string & geteClass() const
void setCommentPrefix(const std::string &value)
bool getsclass(const std::string &VEH)
void setuClass(const std::string &value)
bool getpclass(const std::string &VEH)
const std::string & getErrMsg() const
void setErrMsg(const std::string &value)