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
PHEMlightdll::Helpers::setCommentPrefix
void setCommentPrefix(const std::string &value)
Definition: Helpers.cpp:80
PHEMlightdll::Helpers::getvclass
bool getvclass(const std::string &VEH)
Definition: Helpers.cpp:92
PHEMlightdll::Helpers::geteClass
const std::string & geteClass() const
Definition: Helpers.cpp:36
PHEMlightdll::Helpers::setPHEMDataV
void setPHEMDataV(const std::string &value)
Definition: Helpers.cpp:88
PHEMlightdll::Helpers::_ErrMsg
std::string _ErrMsg
Definition: Helpers.h:59
PHEMlightdll::Helpers::getsClass
const std::string & getsClass() const
Definition: Helpers.cpp:52
PHEMlightdll::Helpers::gettclass
bool gettclass(const std::string &VEH)
Definition: Helpers.cpp:139
PHEMlightdll::Helpers::seteClass
void seteClass(const std::string &value)
Definition: Helpers.cpp:40
PHEMlightdll::Helpers::_vClass
std::string _vClass
Definition: Helpers.h:34
PHEMlightdll::Helpers::getErrMsg
const std::string & getErrMsg() const
Definition: Helpers.cpp:68
PHEMlightdll::Helpers::_sClass
std::string _sClass
Definition: Helpers.h:49
PHEMlightdll::Helpers::_Class
std::string _Class
Definition: Helpers.h:54
PHEMlightdll::Helpers::setvClass
void setvClass(const std::string &value)
Definition: Helpers.cpp:32
PHEMlightdll::Helpers::_eClass
std::string _eClass
Definition: Helpers.h:39
PHEMlightdll::Helpers::getvClass
const std::string & getvClass() const
Definition: Helpers.cpp:28
PHEMlightdll::Helpers::setgClass
void setgClass(const std::string &value)
Definition: Helpers.cpp:64
PHEMlightdll::Helpers::setErrMsg
void setErrMsg(const std::string &value)
Definition: Helpers.cpp:72
PHEMlightdll::Helpers::gettClass
const std::string & gettClass() const
Definition: Helpers.cpp:44
PHEMlightdll::Helpers::setsClass
void setsClass(const std::string &value)
Definition: Helpers.cpp:56
PHEMlightdll
Definition: CEP.cpp:27
PHEMlightdll::Helpers::getsclass
bool getsclass(const std::string &VEH)
Definition: Helpers.cpp:174
PHEMlightdll::Helpers::getCommentPrefix
const std::string & getCommentPrefix() const
Definition: Helpers.cpp:76
PHEMlightdll::Helpers::getPHEMDataV
const std::string & getPHEMDataV() const
Definition: Helpers.cpp:84
PHEMlightdll::Helpers
Definition: Helpers.h:29
PHEMlightdll::Helpers::getgClass
const std::string & getgClass() const
Definition: Helpers.cpp:60
PHEMlightdll::Helpers::_PHEMDataV
std::string _PHEMDataV
Definition: Helpers.h:69
PHEMlightdll::Helpers::_commentPrefix
std::string _commentPrefix
Definition: Helpers.h:64
PHEMlightdll::Helpers::_tClass
std::string _tClass
Definition: Helpers.h:44
PHEMlightdll::Helpers::geteclass
bool geteclass(const std::string &VEH)
Definition: Helpers.cpp:214
PHEMlightdll::Helpers::setclass
bool setclass(const std::string &VEH)
Definition: Helpers.cpp:238
PHEMlightdll::Helpers::settClass
void settClass(const std::string &value)
Definition: Helpers.cpp:48