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-2017 German Aerospace Center (DLR) and others.
4 // PHEMlight module
5 // Copyright 2016 Technische Universitaet Graz, https://www.tugraz.at/
6 /****************************************************************************/
7 //
8 // This program and the accompanying materials
9 // are made available under the terms of the Eclipse Public License v2.0
10 // which accompanies this distribution, and is available at
11 // http://www.eclipse.org/legal/epl-v20.html
12 //
13 /****************************************************************************/
20 //
21 /****************************************************************************/
22 
23 
24 #ifndef PHEMlightHELPERS
25 #define PHEMlightHELPERS
26 
27 #include <string>
28 
29 
30 namespace PHEMlightdll {
31  class Helpers {
32  //--------------------------------------------------------------------------------------------------
33  // Members
34  //--------------------------------------------------------------------------------------------------
35  private:
36  std::string _vClass;
37  public:
38  const std::string& getvClass() const;
39  void setvClass(const std::string& value);
40  private:
41  std::string _eClass;
42  public:
43  const std::string& geteClass() const;
44  void seteClass(const std::string& value);
45  private:
46  std::string _tClass;
47  public:
48  const std::string& gettClass() const;
49  void settClass(const std::string& value);
50  private:
51  std::string _sClass;
52  public:
53  const std::string& getsClass() const;
54  void setsClass(const std::string& value);
55  private:
56  std::string _Class;
57  public:
58  const std::string& getgClass() const;
59  void setgClass(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 technologie Class
81  bool gettclass(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  //Set complete class string
90  public:
91  bool setclass(const std::string& VEH);
92 
93 
94  };
95 }
96 
97 
98 #endif //#ifndef PHEMlightHELPERS
std::string _commentPrefix
Definition: Helpers.h:66
bool gettclass(const std::string &VEH)
Definition: Helpers.cpp:141
void seteClass(const std::string &value)
Definition: Helpers.cpp:42
std::string _eClass
Definition: Helpers.h:41
bool getvclass(const std::string &VEH)
Definition: Helpers.cpp:94
bool setclass(const std::string &VEH)
Definition: Helpers.cpp:240
bool geteclass(const std::string &VEH)
Definition: Helpers.cpp:216
void setErrMsg(const std::string &value)
Definition: Helpers.cpp:74
void setgClass(const std::string &value)
Definition: Helpers.cpp:66
const std::string & getCommentPrefix() const
Definition: Helpers.cpp:78
const std::string & getErrMsg() const
Definition: Helpers.cpp:70
std::string _sClass
Definition: Helpers.h:51
const std::string & getsClass() const
Definition: Helpers.cpp:54
const std::string & getPHEMDataV() const
Definition: Helpers.cpp:86
const std::string & geteClass() const
Definition: Helpers.cpp:38
std::string _ErrMsg
Definition: Helpers.h:61
void setvClass(const std::string &value)
Definition: Helpers.cpp:34
std::string _PHEMDataV
Definition: Helpers.h:71
void setsClass(const std::string &value)
Definition: Helpers.cpp:58
std::string _tClass
Definition: Helpers.h:46
std::string _Class
Definition: Helpers.h:56
bool getsclass(const std::string &VEH)
Definition: Helpers.cpp:176
const std::string & getvClass() const
Definition: Helpers.cpp:30
void setCommentPrefix(const std::string &value)
Definition: Helpers.cpp:82
const std::string & gettClass() const
Definition: Helpers.cpp:46
const std::string & getgClass() const
Definition: Helpers.cpp:62
void settClass(const std::string &value)
Definition: Helpers.cpp:50
std::string _vClass
Definition: Helpers.h:36
void setPHEMDataV(const std::string &value)
Definition: Helpers.cpp:90