Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
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)
 
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 PHEMDataV [get, set]
 
string sClass [get, set]
 
string tClass [get, set]
 
string vClass [get, set]
 

Private Member Functions

bool geteclass (const std::string &VEH)
 
bool getsclass (const std::string &VEH)
 
bool getsclass (string VEH)
 
bool gettclass (const std::string &VEH)
 
bool gettclass (string VEH)
 
bool getvclass (const std::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
 
std::string _PHEMDataV
 
string _PHEMDataV
 
std::string _sClass
 
string _sClass
 
std::string _tClass
 
string _tClass
 
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()

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:

◆ 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:

◆ 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/2]

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/2]

bool PHEMlightdll.Helpers.getsclass ( string  VEH)
inlineprivate

◆ 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]

◆ getvClass()

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

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

References _vClass.

◆ getvclass() [1/2]

◆ getvclass() [2/2]

◆ setclass()

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_Array(), PHEMlightdll::CALC_Single(), PHEMlightdll::CALC_Single(), HelpersPHEMlight::getClassByName(), and PHEMlightdll::CEPHandler::GetFleetCEP().

Here is the caller graph for this function:

◆ 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]

std::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]

std::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]

std::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]

std::string PHEMlightdll::Helpers::_ErrMsg
private

◆ _ErrMsg [2/2]

string PHEMlightdll.Helpers._ErrMsg
private

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

◆ _PHEMDataV [1/2]

std::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]

std::string PHEMlightdll::Helpers::_sClass
private

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

Referenced by getsClass(), 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(), gettclass(), and settClass().

◆ _tClass [2/2]

string PHEMlightdll.Helpers._tClass
private

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

◆ _vClass [1/2]

std::string PHEMlightdll::Helpers::_vClass
private

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

Referenced by getvClass(), 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

string PHEMlightdll.Helpers.CommentPrefix
getset

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

Referenced by PHEMlightdll::CEPHandler.ReadVehicleFile().

◆ eClass

string PHEMlightdll.Helpers.eClass
getset

◆ ErrMsg

string PHEMlightdll.Helpers.ErrMsg
getset

◆ gClass

◆ 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().

◆ tClass

string PHEMlightdll.Helpers.tClass
getset

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

Referenced by PHEMlightdll::CEP.GetEmission().

◆ vClass

string PHEMlightdll.Helpers.vClass
getset

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