Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
PHEMlightdllV5::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 & getpClass () const
 
const std::string & getPHEMDataV () const
 
const std::string & getsClass () const
 
const std::string & getuClass () 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 setpClass (const std::string &value)
 
void setPHEMDataV (const std::string &value)
 
void setsClass (const std::string &value)
 
void setuClass (const std::string &value)
 
void setvClass (const std::string &value)
 

Private Member Functions

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

Private Attributes

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

Detailed Description

Definition at line 29 of file V5/cpp/Helpers.h.

Member Function Documentation

◆ getCommentPrefix()

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

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

References _commentPrefix.

◆ geteClass()

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

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

References _eClass.

Referenced by PHEMlightdllV5::Correction::GetMileage(), PHEMlightdllV5::Correction::IniDETfactor(), and PHEMlightdllV5::Correction::IniTNOxfactor().

Here is the caller graph for this function:

◆ geteclass()

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

Definition at line 234 of file V5/cpp/Helpers.cpp.

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

Referenced by setclass().

Here is the caller graph for this function:

◆ getErrMsg()

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

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

References _ErrMsg.

Referenced by HelpersPHEMlight5::getClassByName().

Here is the caller graph for this function:

◆ getgClass()

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

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

References _Class.

Referenced by PHEMlightdllV5::CEPHandler::GetCEP(), HelpersPHEMlight5::getClassByName(), and PHEMlightdllV5::CEPHandler::Load().

Here is the caller graph for this function:

◆ getpClass()

const std::string & PHEMlightdllV5::Helpers::getpClass ( ) const

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

References _pClass.

Referenced by PHEMlightdllV5::Correction::GetMileage(), PHEMlightdllV5::Correction::IniDETfactor(), and PHEMlightdllV5::Correction::IniTNOxfactor().

Here is the caller graph for this function:

◆ getpclass()

bool PHEMlightdllV5::Helpers::getpclass ( const std::string &  VEH)
private

Definition at line 154 of file V5/cpp/Helpers.cpp.

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

Referenced by setclass().

Here is the caller graph for this function:

◆ getPHEMDataV()

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

Definition at line 95 of file V5/cpp/Helpers.cpp.

References _PHEMDataV.

◆ getsClass()

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

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

References _sClass.

Referenced by PHEMlightdllV5::Correction::GetMileage().

Here is the caller graph for this function:

◆ getsclass()

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

Definition at line 180 of file V5/cpp/Helpers.cpp.

References _ErrMsg, _sClass, PHEMlightdllV5::Constants::strHeavy, PHEMlightdllV5::Constants::strLB, PHEMlightdllV5::Constants::strLKW, PHEMlightdllV5::Constants::strLNF, PHEMlightdllV5::Constants::strMidi, PHEMlightdllV5::Constants::strSI, PHEMlightdllV5::Constants::strSII, and PHEMlightdllV5::Constants::strSIII.

Referenced by setclass().

Here is the caller graph for this function:

◆ getuClass()

const std::string & PHEMlightdllV5::Helpers::getuClass ( ) const

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

References _uClass.

◆ getuclass()

bool PHEMlightdllV5::Helpers::getuclass ( const std::string &  VEH)
private

Definition at line 258 of file V5/cpp/Helpers.cpp.

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

Referenced by setclass().

Here is the caller graph for this function:

◆ getvClass()

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

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

References _vClass.

Referenced by PHEMlightdllV5::Correction::GetMileage(), PHEMlightdllV5::Correction::IniDETfactor(), and PHEMlightdllV5::Correction::IniTNOxfactor().

Here is the caller graph for this function:

◆ getvclass()

◆ setclass()

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

Definition at line 273 of file V5/cpp/Helpers.cpp.

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

Referenced by HelpersPHEMlight5::getClassByName().

Here is the caller graph for this function:

◆ setCommentPrefix()

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

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

References _commentPrefix.

Referenced by HelpersPHEMlight5::getClassByName().

Here is the caller graph for this function:

◆ seteClass()

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

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

References _eClass.

◆ setErrMsg()

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

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

References _ErrMsg.

Referenced by PHEMlightdllV5::CEP::CalcfCValMix(), PHEMlightdllV5::CEP::GetEmission(), PHEMlightdllV5::CEP::GetfcVals(), PHEMlightdllV5::CEPHandler::ReadEmissionData(), and PHEMlightdllV5::CEPHandler::ReadVehicleFile().

Here is the caller graph for this function:

◆ setgClass()

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

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

References _Class.

◆ setpClass()

void PHEMlightdllV5::Helpers::setpClass ( const std::string &  value)

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

References _pClass.

◆ setPHEMDataV()

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

Definition at line 99 of file V5/cpp/Helpers.cpp.

References _PHEMDataV.

Referenced by HelpersPHEMlight5::getClassByName().

Here is the caller graph for this function:

◆ setsClass()

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

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

References _sClass.

◆ setuClass()

void PHEMlightdllV5::Helpers::setuClass ( const std::string &  value)

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

References _uClass.

◆ setvClass()

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

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

References _vClass.

Field Documentation

◆ _Class

std::string PHEMlightdllV5::Helpers::_Class
private

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

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

◆ _commentPrefix

std::string PHEMlightdllV5::Helpers::_commentPrefix
private

Definition at line 66 of file V5/cpp/Helpers.h.

Referenced by getCommentPrefix(), and setCommentPrefix().

◆ _eClass

std::string PHEMlightdllV5::Helpers::_eClass
private

Definition at line 36 of file V5/cpp/Helpers.h.

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

◆ _ErrMsg

std::string PHEMlightdllV5::Helpers::_ErrMsg
private

Definition at line 61 of file V5/cpp/Helpers.h.

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

◆ _pClass

std::string PHEMlightdllV5::Helpers::_pClass
private

Definition at line 41 of file V5/cpp/Helpers.h.

Referenced by getpClass(), getpclass(), and setpClass().

◆ _PHEMDataV

std::string PHEMlightdllV5::Helpers::_PHEMDataV
private

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

Referenced by getPHEMDataV(), and setPHEMDataV().

◆ _sClass

std::string PHEMlightdllV5::Helpers::_sClass
private

Definition at line 46 of file V5/cpp/Helpers.h.

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

◆ _uClass

std::string PHEMlightdllV5::Helpers::_uClass
private

Definition at line 56 of file V5/cpp/Helpers.h.

Referenced by getuClass(), getuclass(), and setuClass().

◆ _vClass

std::string PHEMlightdllV5::Helpers::_vClass
private

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

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


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