|
ADS-IDAC Engine 5.0.0
|
#include <KBSystemDecompositionUnit.h>
Public Member Functions | |
| KBSystemDecompositionUnit () | |
| virtual | ~KBSystemDecompositionUnit () |
| bool | checkWhetherRelatedBaseOnSystem (int) |
| bool | checkWhetherRelatedBasedOnInfo (KBSystemDecompositionUnit *) |
| void | readInfoFromFile (std::ifstream &) |
| int | getNumberOfRelatedSubsystem () |
| int | getRelatedSubsystem (int) |
| void | readInfoFromFileIntegrated (std::ifstream &) |
| void | copyKBSystemDecompositionUnit (KBSystemDecompositionUnit &) |
| void | saveKBSystemDecompositionUnitToFile (std::ofstream &) |
| void | retrieveKBSystemDecompositionUnitFromFile (std::ifstream &) |
Public Member Functions inherited from KBElement | |
| 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) |
Private Member Functions | |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
| std::vector< int > | related_subsystem |
Friends | |
| class | boost::serialization::access |
Additional Inherited Members | |
Public Attributes inherited from KBElement | |
| std::string | info_name |
Definition at line 13 of file KBSystemDecompositionUnit.h.
| KBSystemDecompositionUnit::KBSystemDecompositionUnit | ( | ) |
Definition at line 12 of file KBSystemDecompositionUnit.cpp.
|
virtual |
Definition at line 17 of file KBSystemDecompositionUnit.cpp.
| bool KBSystemDecompositionUnit::checkWhetherRelatedBasedOnInfo | ( | KBSystemDecompositionUnit * | _kb_unit | ) |
Definition at line 34 of file KBSystemDecompositionUnit.cpp.
References checkWhetherRelatedBaseOnSystem(), getNumberOfRelatedSubsystem(), and getRelatedSubsystem().
| bool KBSystemDecompositionUnit::checkWhetherRelatedBaseOnSystem | ( | int | _sub_system | ) |
Definition at line 25 of file KBSystemDecompositionUnit.cpp.
References related_subsystem.
Referenced by checkWhetherRelatedBasedOnInfo().
| void KBSystemDecompositionUnit::copyKBSystemDecompositionUnit | ( | KBSystemDecompositionUnit & | _kup | ) |
Definition at line 60 of file KBSystemDecompositionUnit.cpp.
References KBElement::copyKBElement(), and related_subsystem.
| int KBSystemDecompositionUnit::getNumberOfRelatedSubsystem | ( | ) |
Definition at line 21 of file KBSystemDecompositionUnit.cpp.
References related_subsystem.
Referenced by ShortTermMemory::checkAndGenerateInfoChunkMentalForRelatedAction(), ShortTermMemory::checkAndGenerateInfoChunkMentalForRelatedAlarm(), ShortTermMemory::checkAndGenerateInfoChunkMentalForRelatedComponentState(), ShortTermMemory::checkAndGenerateInfoChunkMentalForRelatedParameterTrend(), ShortTermMemory::checkAndGenerateInfoChunkMentalForRelatedParameterValue(), ShortTermMemory::checkAndGenerateInfoChunkMentalForRelatedSupportSystemState(), Operator::checkItemRelevanceToCurrentDiagnosis(), and checkWhetherRelatedBasedOnInfo().
| int KBSystemDecompositionUnit::getRelatedSubsystem | ( | int | i | ) |
Definition at line 22 of file KBSystemDecompositionUnit.cpp.
References related_subsystem.
Referenced by ShortTermMemory::checkAndGenerateInfoChunkMentalForRelatedAction(), ShortTermMemory::checkAndGenerateInfoChunkMentalForRelatedAlarm(), ShortTermMemory::checkAndGenerateInfoChunkMentalForRelatedComponentState(), ShortTermMemory::checkAndGenerateInfoChunkMentalForRelatedParameterTrend(), ShortTermMemory::checkAndGenerateInfoChunkMentalForRelatedParameterValue(), ShortTermMemory::checkAndGenerateInfoChunkMentalForRelatedSupportSystemState(), Operator::checkItemRelevanceToCurrentDiagnosis(), and checkWhetherRelatedBasedOnInfo().
| void KBSystemDecompositionUnit::readInfoFromFile | ( | std::ifstream & | ) |
Definition at line 43 of file KBSystemDecompositionUnit.cpp.
References KBElement::readInfoFromFile(), and related_subsystem.
| void KBSystemDecompositionUnit::readInfoFromFileIntegrated | ( | std::ifstream & | ) |
Definition at line 52 of file KBSystemDecompositionUnit.cpp.
References related_subsystem.
| void KBSystemDecompositionUnit::retrieveKBSystemDecompositionUnitFromFile | ( | std::ifstream & | ) |
Definition at line 77 of file KBSystemDecompositionUnit.cpp.
References related_subsystem, and KBElement::retrieveKBElementFromFile().
| void KBSystemDecompositionUnit::saveKBSystemDecompositionUnitToFile | ( | std::ofstream & | ) |
Definition at line 67 of file KBSystemDecompositionUnit.cpp.
References related_subsystem, and KBElement::saveKBElementToFile().
|
inlineprivate |
Definition at line 31 of file KBSystemDecompositionUnit.h.
References related_subsystem.
|
friend |
Definition at line 29 of file KBSystemDecompositionUnit.h.
|
private |
Definition at line 28 of file KBSystemDecompositionUnit.h.
Referenced by checkWhetherRelatedBaseOnSystem(), copyKBSystemDecompositionUnit(), getNumberOfRelatedSubsystem(), getRelatedSubsystem(), readInfoFromFile(), readInfoFromFileIntegrated(), retrieveKBSystemDecompositionUnitFromFile(), saveKBSystemDecompositionUnitToFile(), and serialize().