SUMO - Simulation of Urban MObility
Helpers.h
Go to the documentation of this file.
1 /****************************************************************************/
8 //
9 /****************************************************************************/
10 // SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/
11 // Copyright (C) 2016-2017 DLR (http://www.dlr.de/) and contributors
12 // PHEMlight module
13 // Copyright 2016 Technische Universitaet Graz, https://www.tugraz.at/
14 /****************************************************************************/
15 //
16 // This file is part of SUMO.
17 // SUMO is free software: you can redistribute it and/or modify
18 // it under the terms of the GNU General Public License as published by
19 // the Free Software Foundation, either version 3 of the License, or
20 // (at your option) any later version.
21 //
22 /****************************************************************************/
23 
24 
25 #ifndef PHEMlightHELPERS
26 #define PHEMlightHELPERS
27 
28 #include <string>
29 
30 
31 namespace PHEMlightdll {
32  class Helpers {
33  //--------------------------------------------------------------------------------------------------
34  // Members
35  //--------------------------------------------------------------------------------------------------
36  private:
37  std::string _vClass;
38  public:
39  const std::string& getvClass() const;
40  void setvClass(const std::string& value);
41  private:
42  std::string _eClass;
43  public:
44  const std::string& geteClass() const;
45  void seteClass(const std::string& value);
46  private:
47  std::string _tClass;
48  public:
49  const std::string& gettClass() const;
50  void settClass(const std::string& value);
51  private:
52  std::string _sClass;
53  public:
54  const std::string& getsClass() const;
55  void setsClass(const std::string& value);
56  private:
57  std::string _Class;
58  public:
59  const std::string& getgClass() const;
60  void setgClass(const std::string& value);
61  private:
62  std::string _ErrMsg;
63  public:
64  const std::string& getErrMsg() const;
65  void setErrMsg(const std::string& value);
66  private:
67  std::string _commentPrefix;
68  public:
69  const std::string& getCommentPrefix() const;
70  void setCommentPrefix(const std::string& value);
71  private:
72  std::string _PHEMDataV;
73  public:
74  const std::string& getPHEMDataV() const;
75  void setPHEMDataV(const std::string& value);
76 
77  //Get vehicle class
78  private:
79  bool getvclass(const std::string& VEH);
80 
81  //Get technologie Class
82  bool gettclass(const std::string& VEH);
83 
84  //Get size class
85  bool getsclass(const std::string& VEH);
86 
87  //Get euro class
88  bool geteclass(const std::string& VEH);
89 
90  //Set complete class string
91  public:
92  bool setclass(const std::string& VEH);
93 
94 
95  };
96 }
97 
98 
99 #endif //#ifndef PHEMlightHELPERS
std::string _commentPrefix
Definition: Helpers.h:67
const std::string & getvClass() const
Definition: Helpers.cpp:31
bool gettclass(const std::string &VEH)
Definition: Helpers.cpp:142
void seteClass(const std::string &value)
Definition: Helpers.cpp:43
std::string _eClass
Definition: Helpers.h:42
bool getvclass(const std::string &VEH)
Definition: Helpers.cpp:95
bool setclass(const std::string &VEH)
Definition: Helpers.cpp:241
bool geteclass(const std::string &VEH)
Definition: Helpers.cpp:217
void setErrMsg(const std::string &value)
Definition: Helpers.cpp:75
void setgClass(const std::string &value)
Definition: Helpers.cpp:67
const std::string & getPHEMDataV() const
Definition: Helpers.cpp:87
std::string _sClass
Definition: Helpers.h:52
const std::string & getsClass() const
Definition: Helpers.cpp:55
std::string _ErrMsg
Definition: Helpers.h:62
const std::string & getgClass() const
Definition: Helpers.cpp:63
void setvClass(const std::string &value)
Definition: Helpers.cpp:35
std::string _PHEMDataV
Definition: Helpers.h:72
void setsClass(const std::string &value)
Definition: Helpers.cpp:59
std::string _tClass
Definition: Helpers.h:47
std::string _Class
Definition: Helpers.h:57
const std::string & getErrMsg() const
Definition: Helpers.cpp:71
bool getsclass(const std::string &VEH)
Definition: Helpers.cpp:177
const std::string & getCommentPrefix() const
Definition: Helpers.cpp:79
const std::string & gettClass() const
Definition: Helpers.cpp:47
void setCommentPrefix(const std::string &value)
Definition: Helpers.cpp:83
const std::string & geteClass() const
Definition: Helpers.cpp:39
void settClass(const std::string &value)
Definition: Helpers.cpp:51
std::string _vClass
Definition: Helpers.h:37
void setPHEMDataV(const std::string &value)
Definition: Helpers.cpp:91