← Documentation
ADS-IDAC Engine 5.0.0
KBElement Class Reference

#include <KBElement.h>

Inheritance diagram for KBElement:
[legend]

Public Member Functions

 KBElement ()
 
virtual ~KBElement ()
 
void setInfoName (std::string)
 
std::string getInfoName ()
 
void readInfoFromFile (std::ifstream &)
 
void copyKBElement (KBElement &)
 
void saveKBElementToFile (std::ofstream &)
 
void retrieveKBElementFromFile (std::ifstream &)
 
bool checkIfIsIdenticalKBElement (KBElement &)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Public Attributes

std::string info_name
 

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 15 of file KBElement.h.

Constructor & Destructor Documentation

◆ KBElement()

KBElement::KBElement ( )

Definition at line 16 of file KBElement.cpp.

References info_name.

◆ ~KBElement()

KBElement::~KBElement ( )
virtual

Definition at line 21 of file KBElement.cpp.

Member Function Documentation

◆ checkIfIsIdenticalKBElement()

bool KBElement::checkIfIsIdenticalKBElement ( KBElement &  _kbe)

Definition at line 39 of file KBElement.cpp.

References getInfoName(), and info_name.

Referenced by ExpectedMentalBelief::checkIfIsIdenticalExpectedMentalBelief().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ copyKBElement()

◆ getInfoName()

string KBElement::getInfoName ( )

Definition at line 26 of file KBElement.cpp.

References info_name.

Referenced by ExpectationORUnit::assessExpectation(), Operator::checkAndActivateHWKB(), HardWiredControlActivity::checkForMatch(), KBExpectedParameterValueUnit::checkForMatch(), KBExpectedParameterDifferenceUnit::checkForMatch(), HardWiredMentalBelief::checkForMatch(), HardWiredProcedureActivity::checkForMatch(), KBExpectedAlarmStateUnit::checkForMatch(), KBExpectedComponentStateUnit::checkForMatch(), KBExpectedSupportSystemStateUnit::checkForMatch(), checkIfIsIdenticalKBElement(), InfoChunk::checkWhetherExpectedAlarmMatchObservation(), InfoChunk::checkWhetherExpectedComponentStateMatchObservation(), InfoChunk::checkWhetherExpectedParameterDifferenceMatchObservation(), InfoChunk::checkWhetherExpectedParameterValueMatchObservation(), InfoChunk::checkWhetherExpectedSupportSystemStateMatchObservation(), copyKBElement(), ProcedureStepUnit::executeNonResponseAction(), DiagnosisActionModule::onceThroughProcessForReasoningStrategy(), KB::readSystemDecompositionKB(), BranchExpectedAlarmState::saveInfoToFile(), BranchExpectedComponentState::saveInfoToFile(), BranchExpectedMentalBelief::saveInfoToFile(), BranchExpectedSupportSystemState::saveInfoToFile(), BranchScannedParameter::saveInfoToFile(), BranchExpectedMentalBelief::translateMessage(), and BranchScannedParameter::translateMessage().

Here is the caller graph for this function:

◆ readInfoFromFile()

◆ retrieveKBElementFromFile()

◆ saveKBElementToFile()

◆ serialize()

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

Definition at line 31 of file KBElement.h.

References info_name.

◆ setInfoName()

void KBElement::setInfoName ( std::string  )

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 29 of file KBElement.h.

Member Data Documentation

◆ info_name


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