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 /****************************************************************************/
17 //
18 /****************************************************************************/
19 
20 
21 #ifndef PHEMlightHELPERS
22 #define PHEMlightHELPERS
23 
24 #include <string>
25 
26 
27 namespace PHEMlightdll {
28  class Helpers {
29  //--------------------------------------------------------------------------------------------------
30  // Members
31  //--------------------------------------------------------------------------------------------------
32  private:
33  std::string _vClass;
34  public:
35  const std::string& getvClass() const;
36  void setvClass(const std::string& value);
37  private:
38  std::string _eClass;
39  public:
40  const std::string& geteClass() const;
41  void seteClass(const std::string& value);
42  private:
43  std::string _tClass;
44  public:
45  const std::string& gettClass() const;
46  void settClass(const std::string& value);
47  private:
48  std::string _sClass;
49  public:
50  const std::string& getsClass() const;
51  void setsClass(const std::string& value);
52  private:
53  std::string _Class;
54  public:
55  const std::string& getgClass() const;
56  void setgClass(const std::string& value);
57  private:
58  std::string _ErrMsg;
59  public:
60  const std::string& getErrMsg() const;
61  void setErrMsg(const std::string& value);
62  private:
63  std::string _commentPrefix;
64  public:
65  const std::string& getCommentPrefix() const;
66  void setCommentPrefix(const std::string& value);
67  private:
68  std::string _PHEMDataV;
69  public:
70  const std::string& getPHEMDataV() const;
71  void setPHEMDataV(const std::string& value);
72 
73  //Get vehicle class
74  private:
75  bool getvclass(const std::string& VEH);
76 
77  //Get technologie Class
78  bool gettclass(const std::string& VEH);
79 
80  //Get size class
81  bool getsclass(const std::string& VEH);
82 
83  //Get euro class
84  bool geteclass(const std::string& VEH);
85 
86  //Set complete class string
87  public:
88  bool setclass(const std::string& VEH);
89 
90 
91  };
92 }
93 
94 
95 #endif //#ifndef PHEMlightHELPERS
PHEMlightdll::Helpers::setCommentPrefix
void setCommentPrefix(const std::string &value)
Definition: Helpers.cpp:79
PHEMlightdll::Helpers::getvclass
bool getvclass(const std::string &VEH)
Definition: Helpers.cpp:91
PHEMlightdll::Helpers::geteClass
const std::string & geteClass() const
Definition: Helpers.cpp:35
PHEMlightdll::Helpers::setPHEMDataV
void setPHEMDataV(const std::string &value)
Definition: Helpers.cpp:87
PHEMlightdll::Helpers::_ErrMsg
std::string _ErrMsg
Definition: Helpers.h:58
PHEMlightdll::Helpers::getsClass
const std::string & getsClass() const
Definition: Helpers.cpp:51
PHEMlightdll::Helpers::gettclass
bool gettclass(const std::string &VEH)
Definition: Helpers.cpp:138
PHEMlightdll::Helpers::seteClass
void seteClass(const std::string &value)
Definition: Helpers.cpp:39
PHEMlightdll::Helpers::_vClass
std::string _vClass
Definition: Helpers.h:33
PHEMlightdll::Helpers::getErrMsg
const std::string & getErrMsg() const
Definition: Helpers.cpp:67
PHEMlightdll::Helpers::_sClass
std::string _sClass
Definition: Helpers.h:48
PHEMlightdll::Helpers::_Class
std::string _Class
Definition: Helpers.h:53
PHEMlightdll::Helpers::setvClass
void setvClass(const std::string &value)
Definition: Helpers.cpp:31
PHEMlightdll::Helpers::_eClass
std::string _eClass
Definition: Helpers.h:38
PHEMlightdll::Helpers::getvClass
const std::string & getvClass() const
Definition: Helpers.cpp:27
PHEMlightdll::Helpers::setgClass
void setgClass(const std::string &value)
Definition: Helpers.cpp:63
PHEMlightdll::Helpers::setErrMsg
void setErrMsg(const std::string &value)
Definition: Helpers.cpp:71
PHEMlightdll::Helpers::gettClass
const std::string & gettClass() const
Definition: Helpers.cpp:43
PHEMlightdll::Helpers::setsClass
void setsClass(const std::string &value)
Definition: Helpers.cpp:55
PHEMlightdll
Definition: CEP.cpp:26
PHEMlightdll::Helpers::getsclass
bool getsclass(const std::string &VEH)
Definition: Helpers.cpp:173
PHEMlightdll::Helpers::getCommentPrefix
const std::string & getCommentPrefix() const
Definition: Helpers.cpp:75
PHEMlightdll::Helpers::getPHEMDataV
const std::string & getPHEMDataV() const
Definition: Helpers.cpp:83
PHEMlightdll::Helpers
Definition: Helpers.h:28
PHEMlightdll::Helpers::getgClass
const std::string & getgClass() const
Definition: Helpers.cpp:59
PHEMlightdll::Helpers::_PHEMDataV
std::string _PHEMDataV
Definition: Helpers.h:68
PHEMlightdll::Helpers::_commentPrefix
std::string _commentPrefix
Definition: Helpers.h:63
PHEMlightdll::Helpers::_tClass
std::string _tClass
Definition: Helpers.h:43
PHEMlightdll::Helpers::geteclass
bool geteclass(const std::string &VEH)
Definition: Helpers.cpp:213
PHEMlightdll::Helpers::setclass
bool setclass(const std::string &VEH)
Definition: Helpers.cpp:237
PHEMlightdll::Helpers::settClass
void settClass(const std::string &value)
Definition: Helpers.cpp:47