← Documentation
ADS-IDAC Engine 5.0.0
ConvertToString Class Reference

#include <ConvertToString.h>

Public Member Functions

 ConvertToString ()
 
virtual ~ConvertToString ()
 
void initiationForSimulation ()
 
std::string getString (int) const
 
std::string removeQuotationAndSpace (std::string)
 
void copyConvertToString (const ConvertToString &)
 
void clearConvertToString ()
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

std::unordered_map< int, std::string > term_names_
 

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 13 of file ConvertToString.h.

Constructor & Destructor Documentation

◆ ConvertToString()

ConvertToString::ConvertToString ( )

Definition at line 19 of file ConvertToString.cpp.

◆ ~ConvertToString()

ConvertToString::~ConvertToString ( )
virtual

Definition at line 23 of file ConvertToString.cpp.

References clearConvertToString().

Here is the call graph for this function:

Member Function Documentation

◆ clearConvertToString()

void ConvertToString::clearConvertToString ( )

Definition at line 26 of file ConvertToString.cpp.

References term_names_.

Referenced by ~ConvertToString().

Here is the caller graph for this function:

◆ copyConvertToString()

void ConvertToString::copyConvertToString ( const ConvertToString &  _cs)

Definition at line 216 of file ConvertToString.cpp.

References term_names_.

◆ getString()

string ConvertToString::getString ( int  n) const

Definition at line 190 of file ConvertToString.cpp.

References term_names_.

Referenced by OperatorDM::oneThroughProcessForBlockI(), BranchAction::saveInfoToFile(), BranchDiagnosis::saveInfoToFile(), BranchExpectedAlarmState::saveInfoToFile(), BranchExpectedComponentState::saveInfoToFile(), BranchExpectedMentalBelief::saveInfoToFile(), BranchExpectedParameterTrend::saveInfoToFile(), BranchExpectedParameterValue::saveInfoToFile(), BranchExpectedSupportSystemState::saveInfoToFile(), BranchScannedParameter::saveInfoToFile(), BranchSupportSystemAction::saveInfoToFile(), BranchSystemAction::saveInfoToFile(), BranchSystemAlarmState::saveInfoToFile(), BranchAction::translateMessage(), BranchActionObjective::translateMessage(), BranchActionPack::translateMessage(), BranchDiagnosis::translateMessage(), BranchExpectedAlarmState::translateMessage(), BranchExpectedComponentState::translateMessage(), BranchExpectedMentalBelief::translateMessage(), BranchExpectedParameterDifference::translateMessage(), BranchExpectedParameterTrend::translateMessage(), BranchExpectedParameterValue::translateMessage(), BranchExpectedSupportSystemState::translateMessage(), BranchGoal::translateMessage(), BranchInfoGatherMode::translateMessage(), BranchProcedureStep::translateMessage(), BranchScannedParameter::translateMessage(), BranchStrategy::translateMessage(), BranchSubGoal::translateMessage(), BranchSupportSystemAction::translateMessage(), BranchSystemAction::translateMessage(), and BranchSystemAlarmState::translateMessage().

Here is the caller graph for this function:

◆ initiationForSimulation()

void ConvertToString::initiationForSimulation ( )

Definition at line 30 of file ConvertToString.cpp.

References sim::Action::Action, sim::Action::ActionCommand, sim::State::Activated, sim::State::Active, sim::ControlAction::Additive, sim::Strategy::Advise, sim::Source::AgOperator, sim::Diagnosis::Alarm, sim::Proc::AOP, sim::Strategy::AskAdvise, sim::Strategy::AskInfo, sim::State::Auto, sim::Compare::Between, sim::Branch::Branch, sim::Source::Bypass, sim::Action::Check, sim::Bool::Checked, sim::State::Close, sim::Merge::Combine, sim::Diagnosis::Combined, sim::Diagnosis::Component, sim::Action::Confirm, sim::State::Control, sim::SubGoal::DecideActionPack, sim::Trend::Decreasing, sim::Decision::Diagnosis, sim::Proc::DiagnosisStep, sim::Action::Direct, sim::Strategy::DirectMatch, sim::State::Done, sim::Proc::ECA, sim::Branch::EndState, sim::Proc::EOP, sim::Compare::EQ, sim::Branch::ExpectControl, sim::State::Failed, sim::State::FailedP, sim::Bool::False, sim::SubGoal::FindRootCause, sim::Strategy::FollowInstruction, sim::Strategy::FollowProcedure, sim::Proc::FRG, sim::Branch::FtPlant, sim::Compare::GE, sim::Strategy::GiveAdvise, sim::Action::GiveAdvise, sim::Strategy::GiveCommand, sim::Problem::Global, sim::Decision::Goal, sim::ControlAction::GreaterThenClose, sim::ControlAction::GreaterThenOff, sim::ControlAction::GreaterThenOn, sim::ControlAction::GreaterThenOpen, sim::Compare::GT, sim::Trend::Increasing, sim::Strategy::InductiveDeductive, sim::Branch::InfoGatherMode, sim::Strategy::InstinctiveResponse, sim::State::Interrupted, sim::Compare::LE, sim::Strategy::LimitedReasoning, sim::Problem::Local, sim::Problem::LocalParam, sim::Compare::LT, sim::Goal::MaintainEquipSafetyMargin, sim::Goal::MaintainGlobalSafetyMargin, sim::State::Mental, sim::Branch::MentalBelief, sim::Proc::MentalProcedure, sim::Goal::MonitorAbnormal, sim::Proc::MonitoringStep, sim::State::New, sim::Bool::No, sim::Merge::NoChange, sim::None, sim::Proc::NOP, sim::State::Normal, sim::Goal::NormalOp, sim::Operator::OAT, sim::Operator::OatScan, sim::Operator::OatSend, sim::Action::Objective, sim::Proc::ObjectiveRelated, sim::Operator::OCT, sim::Operator::OctAdv, sim::Operator::OctScan, sim::Operator::ODM, sim::Operator::OdmAdv, sim::Operator::OdmAsk, sim::Operator::OdmCom, sim::Operator::OdmScan, sim::State::Off, sim::State::OldInfo, sim::State::On, sim::State::Open, sim::State::Operate, sim::Action::Pack, sim::Source::Panel, sim::Diagnosis::Parameter, sim::ControlAction::ParameterControl, sim::ControlAction::ParameterScan, sim::State::Pause, sim::SubGoal::PerformAction, sim::Source::Plant, sim::Proc::PrerequisiteAction, sim::Branch::Procedure, sim::Branch::ProcedureTransfer, sim::Branch::ProcedureXfr, sim::State::Processing, sim::State::ProcessingA, sim::Source::PrOperator, sim::ControlAction::Proportional, sim::Source::PrPanel, sim::Source::PrPlant, sim::State::Recovery, sim::Source::Reliability, sim::Merge::Replace, sim::Strategy::ReportPerceivedInfo, sim::Strategy::ReportTakenAction, sim::State::Reset, sim::Source::Self, sim::Action::SendInfo, sim::ControlAction::ServoValve, sim::State::Skip, sim::ControlAction::SmallerThenClose, sim::ControlAction::SmallerThenOff, sim::ControlAction::SmallerThenOn, sim::ControlAction::SmallerThenOpen, sim::ControlAction::Special, sim::Trend::Stable, sim::State::Standby, sim::ControlAction::Stop, sim::Decision::Strategy, sim::Decision::SubGoal, sim::State::Succeed, term_names_, sim::ControlAction::TerminateIMA, sim::Failure::ToClose, sim::Failure::ToOpen, sim::Failure::ToRun, sim::Failure::ToStart, sim::Branch::Transient, sim::Strategy::TrialAndError, sim::ControlAction::Trip, sim::ControlAction::TripValve, sim::Goal::TroubleShoot, sim::Bool::True, sim::Bool::Unchecked, sim::State::Unknown, sim::Proc::VerificationStep, sim::Branch::Verify, sim::State::Waiting, sim::Strategy::WaitMonitor, and sim::Bool::Yes.

Referenced by Client::Client(), main(), and Server::Simulation().

Here is the caller graph for this function:

◆ removeQuotationAndSpace()

string ConvertToString::removeQuotationAndSpace ( std::string  )

Definition at line 198 of file ConvertToString.cpp.

Referenced by BranchAction::saveInfoToFile(), and BranchAction::translateMessage().

Here is the caller graph for this function:

◆ serialize()

template<class Archive >
void ConvertToString::serialize ( Archive &  ar,
const unsigned int  version 
)
inlineprivate

Definition at line 28 of file ConvertToString.h.

References term_names_.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 26 of file ConvertToString.h.

Member Data Documentation

◆ term_names_

std::unordered_map<int, std::string> ConvertToString::term_names_
private

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