Eclipse SUMO - Simulation of Urban MObility
Helpers.h
Go to the documentation of this file.
1 /****************************************************************************/
2 // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3 // Copyright (C) 2016-2019 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
7 // are made available under the terms of the Eclipse Public License v2.0
8 // which accompanies this distribution, and is available at
9 // http://www.eclipse.org/legal/epl-v20.html
10 // SPDX-License-Identifier: EPL-2.0
11 /****************************************************************************/
18 //
19 /****************************************************************************/
20 
21 
22 #ifndef PHEMlightHELPERS
23 #define PHEMlightHELPERS
24 
25 #include <string>
26 
27 
28 namespace PHEMlightdll {
29  class Helpers {
30  //--------------------------------------------------------------------------------------------------
31  // Members
32  //--------------------------------------------------------------------------------------------------
33  private:
34  std::string _vClass;
35  public:
36  const std::string& getvClass() const;
37  void setvClass(const std::string& value);
38  private:
39  std::string _eClass;
40  public:
41  const std::string& geteClass() const;
42  void seteClass(const std::string& value);
43  private:
44  std::string _tClass;
45  public:
46  const std::string& gettClass() const;
47  void settClass(const std::string& value);
48  private:
49  std::string _sClass;
50  public:
51  const std::string& getsClass() const;
52  void setsClass(const std::string& value);
53  private:
54  std::string _Class;
55  public:
56  const std::string& getgClass() const;
57  void setgClass(const std::string& value);
58  private:
59  std::string _ErrMsg;
60  public:
61  const std::string& getErrMsg() const;
62  void setErrMsg(const std::string& value);
63  private:
64  std::string _commentPrefix;
65  public:
66  const std::string& getCommentPrefix() const;
67  void setCommentPrefix(const std::string& value);
68  private:
69  std::string _PHEMDataV;
70  public:
71  const std::string& getPHEMDataV() const;
72  void setPHEMDataV(const std::string& value);
73 
74  //Get vehicle class
75  private:
76  bool getvclass(const std::string& VEH);
77 
78  //Get technologie Class
79  bool gettclass(const std::string& VEH);
80 
81  //Get size class
82  bool getsclass(const std::string& VEH);
83 
84  //Get euro class
85  bool geteclass(const std::string& VEH);
86 
87  //Set complete class string
88  public:
89  bool setclass(const std::string& VEH);
90 
91 
92  };
93 }
94 
95 
96 #endif //#ifndef PHEMlightHELPERS
std::string _commentPrefix
Definition: Helpers.h:64
bool gettclass(const std::string &VEH)
Definition: Helpers.cpp:139
void seteClass(const std::string &value)
Definition: Helpers.cpp:40
std::string _eClass
Definition: Helpers.h:39
bool getvclass(const std::string &VEH)
Definition: Helpers.cpp:92
bool setclass(const std::string &VEH)
Definition: Helpers.cpp:238
bool geteclass(const std::string &VEH)
Definition: Helpers.cpp:214
void setErrMsg(const std::string &value)
Definition: Helpers.cpp:72
void setgClass(const std::string &value)
Definition: Helpers.cpp:64
const std::string & getCommentPrefix() const
Definition: Helpers.cpp:76
const std::string & getErrMsg() const
Definition: Helpers.cpp:68
std::string _sClass
Definition: Helpers.h:49
const std::string & getsClass() const
Definition: Helpers.cpp:52
const std::string & getPHEMDataV() const
Definition: Helpers.cpp:84
const std::string & geteClass() const
Definition: Helpers.cpp:36
std::string _ErrMsg
Definition: Helpers.h:59
void setvClass(const std::string &value)
Definition: Helpers.cpp:32
std::string _PHEMDataV
Definition: Helpers.h:69
void setsClass(const std::string &value)
Definition: Helpers.cpp:56
std::string _tClass
Definition: Helpers.h:44
std::string _Class
Definition: Helpers.h:54
bool getsclass(const std::string &VEH)
Definition: Helpers.cpp:174
const std::string & getvClass() const
Definition: Helpers.cpp:28
void setCommentPrefix(const std::string &value)
Definition: Helpers.cpp:80
const std::string & gettClass() const
Definition: Helpers.cpp:44
const std::string & getgClass() const
Definition: Helpers.cpp:60
void settClass(const std::string &value)
Definition: Helpers.cpp:48
std::string _vClass
Definition: Helpers.h:34
void setPHEMDataV(const std::string &value)
Definition: Helpers.cpp:88