Eclipse SUMO - Simulation of Urban MObility
PHEMlightdll::Helpers Class Reference

#include <Helpers.h>

Public Member Functions

const std::string & getCommentPrefix () const
 
const std::string & geteClass () const
 
const std::string & getErrMsg () const
 
const std::string & getgClass () const
 
const std::string & getPHEMDataV () const
 
const std::string & getsClass () const
 
const std::string & gettClass () const
 
const std::string & getvClass () const
 
bool setclass (const std::string &VEH)
 
bool setclass (string VEH)
 
bool setclass (string VEH)
 
void setCommentPrefix (const std::string &value)
 
void seteClass (const std::string &value)
 
void setErrMsg (const std::string &value)
 
void setgClass (const std::string &value)
 
void setPHEMDataV (const std::string &value)
 
void setsClass (const std::string &value)
 
void settClass (const std::string &value)
 
void setvClass (const std::string &value)
 

Properties

string CommentPrefix [get, set]
 
string eClass [get, set]
 
string ErrMsg [get, set]
 
string gClass [get, set]
 
string pClass [get, set]
 
string PHEMDataV [get, set]
 
string sClass [get, set]
 
string tClass [get, set]
 
string uClass [get, set]
 
string vClass [get, set]
 

Private Member Functions

bool geteclass (const std::string &VEH)
 
bool geteclass (string VEH)
 
bool geteclass (string VEH)
 
bool getpclass (string VEH)
 
bool getsclass (const std::string &VEH)
 
bool getsclass (string VEH)
 
bool getsclass (string VEH)
 
bool gettclass (const std::string &VEH)
 
bool gettclass (string VEH)
 
bool getuclass (string VEH)
 
bool getvclass (const std::string &VEH)
 
bool getvclass (string VEH)
 
bool getvclass (string VEH)
 

Private Attributes

std::string _Class
 
string _Class
 
std::string _commentPrefix
 
string _commentPrefix
 
std::string _eClass
 
string _eClass
 
std::string _ErrMsg
 
string _ErrMsg
 
string _pClass
 
std::string _PHEMDataV
 
string _PHEMDataV
 
std::string _sClass
 
string _sClass
 
std::string _tClass
 
string _tClass
 
string _uClass
 
std::string _vClass
 
string _vClass
 

Detailed Description

Definition at line 30 of file cpp/Helpers.h.

Member Function Documentation

◆ getCommentPrefix()

const std::string & PHEMlightdll::Helpers::getCommentPrefix ( ) const

Definition at line 79 of file cpp/Helpers.cpp.

References _commentPrefix.

Referenced by PHEMlightdll::CEPHandler::ReadVehicleFile().

Here is the caller graph for this function:

◆ geteClass()

const std::string & PHEMlightdll::Helpers::geteClass ( ) const

Definition at line 39 of file cpp/Helpers.cpp.

References _eClass.

Referenced by setclass().

Here is the caller graph for this function:

◆ geteclass() [1/3]

bool PHEMlightdll::Helpers::geteclass ( const std::string &  VEH)
private

Definition at line 217 of file cpp/Helpers.cpp.

References _eClass, _ErrMsg, PHEMlightdll::Constants::strBEV, and PHEMlightdll::Constants::strEU.

Referenced by setclass().

Here is the caller graph for this function:

◆ geteclass() [2/3]

bool PHEMlightdll.Helpers.geteclass ( string  VEH)
inlineprivate

◆ geteclass() [3/3]

bool PHEMlightdll.Helpers.geteclass ( string  VEH)
inlineprivate

◆ getErrMsg()

const std::string & PHEMlightdll::Helpers::getErrMsg ( ) const

Definition at line 71 of file cpp/Helpers.cpp.

References _ErrMsg.

Referenced by HelpersPHEMlight::getClassByName().

Here is the caller graph for this function:

◆ getgClass()

const std::string & PHEMlightdll::Helpers::getgClass ( ) const

Definition at line 63 of file cpp/Helpers.cpp.

References _Class.

Referenced by PHEMlightdll::CEPHandler::GetCEP(), HelpersPHEMlight::getClassByName(), and PHEMlightdll::CEPHandler::Load().

Here is the caller graph for this function:

◆ getpclass()

bool PHEMlightdll.Helpers.getpclass ( string  VEH)
inlineprivate

Definition at line 133 of file V5/cs/Helpers.cs.

References _ErrMsg, _pClass, PHEMlightdll::Constants.strBEV, PHEMlightdll::Constants.strCNG, PHEMlightdll::Constants.strDiesel, PHEMlightdll::Constants.strGasoline, and PHEMlightdll::Constants.strLPG.

Referenced by setclass().

Here is the caller graph for this function:

◆ getPHEMDataV()

const std::string & PHEMlightdll::Helpers::getPHEMDataV ( ) const

Definition at line 87 of file cpp/Helpers.cpp.

References _PHEMDataV.

◆ getsClass()

const std::string & PHEMlightdll::Helpers::getsClass ( ) const

Definition at line 55 of file cpp/Helpers.cpp.

References _sClass.

Referenced by setclass().

Here is the caller graph for this function:

◆ getsclass() [1/3]

bool PHEMlightdll::Helpers::getsclass ( const std::string &  VEH)
private

Definition at line 177 of file cpp/Helpers.cpp.

References _ErrMsg, _sClass, PHEMlightdll::Constants::strLKW, PHEMlightdll::Constants::strLNF, PHEMlightdll::Constants::strSI, PHEMlightdll::Constants::strSII, and PHEMlightdll::Constants::strSIII.

Referenced by setclass().

Here is the caller graph for this function:

◆ getsclass() [2/3]

bool PHEMlightdll.Helpers.getsclass ( string  VEH)
inlineprivate

◆ getsclass() [3/3]

◆ gettClass()

const std::string & PHEMlightdll::Helpers::gettClass ( ) const

Definition at line 47 of file cpp/Helpers.cpp.

References _tClass.

Referenced by setclass().

Here is the caller graph for this function:

◆ gettclass() [1/2]

bool PHEMlightdll::Helpers::gettclass ( const std::string &  VEH)
private

Definition at line 142 of file cpp/Helpers.cpp.

References _ErrMsg, _tClass, PHEMlightdll::Constants::strBEV, PHEMlightdll::Constants::strCNG, PHEMlightdll::Constants::strDiesel, PHEMlightdll::Constants::strGasoline, and PHEMlightdll::Constants::strHybrid.

Referenced by setclass().

Here is the caller graph for this function:

◆ gettclass() [2/2]

◆ getuclass()

bool PHEMlightdll.Helpers.getuclass ( string  VEH)
inlineprivate

Definition at line 267 of file V5/cs/Helpers.cs.

References _uClass, PHEMlightdll::Constants.strHybrid, and PHEMlightdll::Constants.strSU.

Referenced by setclass().

Here is the caller graph for this function:

◆ getvClass()

const std::string & PHEMlightdll::Helpers::getvClass ( ) const

Definition at line 31 of file cpp/Helpers.cpp.

References _vClass.

◆ getvclass() [1/3]

◆ getvclass() [2/3]

◆ getvclass() [3/3]

◆ setclass() [1/3]

bool PHEMlightdll::Helpers::setclass ( const std::string &  VEH)

Definition at line 241 of file cpp/Helpers.cpp.

References _Class, _eClass, _sClass, _vClass, geteClass(), geteclass(), getsClass(), getsclass(), gettClass(), gettclass(), and getvclass().

Referenced by PHEMlightdll.Start::CALC_Array(), PHEMlightdll.Start::CALC_Single(), HelpersPHEMlight::getClassByName(), and PHEMlightdll::CEPHandler::GetFleetCEP().

Here is the caller graph for this function:

◆ setclass() [2/3]

bool PHEMlightdll.Helpers.setclass ( string  VEH)
inline

◆ setclass() [3/3]

bool PHEMlightdll.Helpers.setclass ( string  VEH)
inline

Definition at line 287 of file V5/cs/Helpers.cs.

References _Class, geteclass(), getpclass(), getsclass(), getuclass(), and getvclass().

◆ setCommentPrefix()

void PHEMlightdll::Helpers::setCommentPrefix ( const std::string &  value)

Definition at line 83 of file cpp/Helpers.cpp.

References _commentPrefix.

Referenced by HelpersPHEMlight::getClassByName().

Here is the caller graph for this function:

◆ seteClass()

void PHEMlightdll::Helpers::seteClass ( const std::string &  value)

Definition at line 43 of file cpp/Helpers.cpp.

References _eClass.

◆ setErrMsg()

void PHEMlightdll::Helpers::setErrMsg ( const std::string &  value)

Definition at line 75 of file cpp/Helpers.cpp.

References _ErrMsg.

Referenced by PHEMlightdll::CEP::GetCO2Emission(), PHEMlightdll::CEP::GetEmission(), PHEMlightdll::CEPHandler::ReadEmissionData(), and PHEMlightdll::CEPHandler::ReadVehicleFile().

Here is the caller graph for this function:

◆ setgClass()

void PHEMlightdll::Helpers::setgClass ( const std::string &  value)

Definition at line 67 of file cpp/Helpers.cpp.

References _Class.

◆ setPHEMDataV()

void PHEMlightdll::Helpers::setPHEMDataV ( const std::string &  value)

Definition at line 91 of file cpp/Helpers.cpp.

References _PHEMDataV.

Referenced by HelpersPHEMlight::getClassByName().

Here is the caller graph for this function:

◆ setsClass()

void PHEMlightdll::Helpers::setsClass ( const std::string &  value)

Definition at line 59 of file cpp/Helpers.cpp.

References _sClass.

◆ settClass()

void PHEMlightdll::Helpers::settClass ( const std::string &  value)

Definition at line 51 of file cpp/Helpers.cpp.

References _tClass.

◆ setvClass()

void PHEMlightdll::Helpers::setvClass ( const std::string &  value)

Definition at line 35 of file cpp/Helpers.cpp.

References _vClass.

Field Documentation

◆ _Class [1/2]

string PHEMlightdll::Helpers::_Class
private

Definition at line 55 of file cpp/Helpers.h.

Referenced by getgClass(), setclass(), and setgClass().

◆ _Class [2/2]

string PHEMlightdll.Helpers._Class
private

Definition at line 39 of file dll_code/Helpers.cs.

◆ _commentPrefix [1/2]

string PHEMlightdll::Helpers::_commentPrefix
private

Definition at line 65 of file cpp/Helpers.h.

Referenced by getCommentPrefix(), and setCommentPrefix().

◆ _commentPrefix [2/2]

string PHEMlightdll.Helpers._commentPrefix
private

Definition at line 51 of file dll_code/Helpers.cs.

◆ _eClass [1/2]

string PHEMlightdll::Helpers::_eClass
private

Definition at line 40 of file cpp/Helpers.h.

Referenced by geteClass(), geteclass(), setclass(), and seteClass().

◆ _eClass [2/2]

string PHEMlightdll.Helpers._eClass
private

Definition at line 21 of file dll_code/Helpers.cs.

◆ _ErrMsg [1/2]

string PHEMlightdll::Helpers::_ErrMsg
private

Definition at line 60 of file cpp/Helpers.h.

Referenced by geteclass(), getErrMsg(), getpclass(), getsclass(), gettclass(), getvclass(), and setErrMsg().

◆ _ErrMsg [2/2]

string PHEMlightdll.Helpers._ErrMsg
private

Definition at line 45 of file dll_code/Helpers.cs.

◆ _pClass

string PHEMlightdll.Helpers._pClass
private

Definition at line 24 of file V5/cs/Helpers.cs.

Referenced by getpclass().

◆ _PHEMDataV [1/2]

string PHEMlightdll::Helpers::_PHEMDataV
private

Definition at line 70 of file cpp/Helpers.h.

Referenced by getPHEMDataV(), and setPHEMDataV().

◆ _PHEMDataV [2/2]

string PHEMlightdll.Helpers._PHEMDataV
private

Definition at line 57 of file dll_code/Helpers.cs.

◆ _sClass [1/2]

string PHEMlightdll::Helpers::_sClass
private

Definition at line 50 of file cpp/Helpers.h.

Referenced by getsClass(), getsclass(), setclass(), and setsClass().

◆ _sClass [2/2]

string PHEMlightdll.Helpers._sClass
private

Definition at line 33 of file dll_code/Helpers.cs.

◆ _tClass [1/2]

std::string PHEMlightdll::Helpers::_tClass
private

Definition at line 45 of file cpp/Helpers.h.

Referenced by gettClass(), gettclass(), and settClass().

◆ _tClass [2/2]

string PHEMlightdll.Helpers._tClass
private

Definition at line 27 of file dll_code/Helpers.cs.

◆ _uClass

string PHEMlightdll.Helpers._uClass
private

Definition at line 42 of file V5/cs/Helpers.cs.

Referenced by getuclass().

◆ _vClass [1/2]

string PHEMlightdll::Helpers::_vClass
private

Definition at line 35 of file cpp/Helpers.h.

Referenced by getvClass(), getvclass(), setclass(), and setvClass().

◆ _vClass [2/2]

string PHEMlightdll.Helpers._vClass
private

Definition at line 15 of file dll_code/Helpers.cs.

Property Documentation

◆ CommentPrefix

◆ eClass

string PHEMlightdll.Helpers.eClass
getset

◆ ErrMsg

◆ gClass

◆ pClass

◆ PHEMDataV

string PHEMlightdll.Helpers.PHEMDataV
getset

Definition at line 58 of file dll_code/Helpers.cs.

◆ sClass

string PHEMlightdll.Helpers.sClass
getset

Definition at line 34 of file dll_code/Helpers.cs.

Referenced by PHEMlightdll.Correction.GetMileage(), and setclass().

◆ tClass

string PHEMlightdll.Helpers.tClass
getset

◆ uClass

string PHEMlightdll.Helpers.uClass
getset

Definition at line 43 of file V5/cs/Helpers.cs.

Referenced by PHEMlightdll.PHEMLight.CreateVehicleStateData().

◆ vClass

string PHEMlightdll.Helpers.vClass
getset

The documentation for this class was generated from the following files: